Details
Description
When you add a Delete operation in a script file, the corresponding undo method is to restore the backup file.
Sometimes, we want not to have this behaviour (for example in the case of a temporary file we managed).
It is not possible for the moment.
The strange thing is that it has been partially implemented in the framework: when an operation Delete is created, a "performUndo" flag is set to false for the operation. But this flag is never used.
Attachments
For Gerrit Dashboard: QTIFW-393 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
71152,1 | Fix delete later case on windows. | 1.5 | installer-framework/installer-framework | Status: ABANDONED | -1 | 0 |
517984,4 | Allow disabling backup for Delete operation | master | installer-framework/installer-framework | Status: ABANDONED | -1 | 0 |
548720,12 | Allow overwriting undo in some operations | master | installer-framework/installer-framework | Status: MERGED | +2 | 0 |