Hello,
I have InstallShield 2011 Professional and an InstallScript project. Currently I am implementing the update part. In this contect I am testing the rollback in case of an error:
- Update mode is detected in OnSetUpdateMode() (UPDATEMODE=TRUE) and OnUpdateUIBefore() is called
- In OnMoveData() it is called FeatureTransferData(...) and the new files are copied to the repective TARGETDIR
- Right after FeatureTransferData(...) I call 'abort' for testing and expected that the installed files are rolled back to the previous version but the setup just terminates with leaving the new files
- In case of a new installation all installed files are removed with this abort
Is there a mechanism to initiate an automatic rollback or must this implemented explicitely?
Regards
Sebastian