This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Fact : Rollback Restores deleted system Files. But when sequenced?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 14, 2011
11:30 AM
Fact : Rollback Restores deleted system Files. But when sequenced?
Hi,
In the InstallShield documantation it says:
"In addition to the rollback script, the installer saves a copy of every file it deletes during the installation. These files are kept in a hidden system directory. Once the installation is complete, the rollback script and the saved files are deleted. If an installation is unsuccessful, the installer attempts to rollback the changes made during the installation and restore the original state of the computer"
However, it doesn't says when in the sequence the files are restored( for example in the sequence "InstallFiles" I know that the files have been installed on the target system therefore every change I do on the installed files I do after this CA).
My situation is that i want to register a file that has been restored after the rollback.
Therefore i want to create i rollback CA that does that but i dont know where to put it in the execute sequence.
Can anyone please help me with that?
Thanks!
Lior.
In the InstallShield documantation it says:
"In addition to the rollback script, the installer saves a copy of every file it deletes during the installation. These files are kept in a hidden system directory. Once the installation is complete, the rollback script and the saved files are deleted. If an installation is unsuccessful, the installer attempts to rollback the changes made during the installation and restore the original state of the computer"
However, it doesn't says when in the sequence the files are restored( for example in the sequence "InstallFiles" I know that the files have been installed on the target system therefore every change I do on the installed files I do after this CA).
My situation is that i want to register a file that has been restored after the rollback.
Therefore i want to create i rollback CA that does that but i dont know where to put it in the execute sequence.
Can anyone please help me with that?
Thanks!
Lior.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 15, 2011
08:05 AM
OK I've tested it and actually the file will be restored in the place where it was deleted. For example if you install files that overwrites file on target system.
Then the overwrite will happen in InstallFiles sequence.
If Rollback occurs, than the original files will be restored in InstallFiles while rolling back.
Note: Do not forget that while rolling back, the script is running from bottom to top(thats why we put the rollback CA before the action itself)
Then the overwrite will happen in InstallFiles sequence.
If Rollback occurs, than the original files will be restored in InstallFiles while rolling back.
Note: Do not forget that while rolling back, the script is running from bottom to top(thats why we put the rollback CA before the action itself)