First an explanation and then some questions...
My installation consists of a number of exe & dll files, a data file and one installed Windows service.
I would like the installer to do the following if my product is already installed on the target machine:
Before doing the install...
- copy the folder with the existing exe/dll's and data file to a backup folder.
If the install fails then I would like the rollback action to...
- restore the exe/dll's & data file from the backup folder
- stop and remove the installed Windows service
- reinstall & start the Windows service (using an exe in the installation folder)
Questions
========
1) Do I have to write custom actions to accomplish the above? And if so is it possible to do this (some tips would be helpful)?
2) Are there disadantages to managing the rollback this way?
3) Is there a better way?
Thanks,
cats
FOLLOW US
Get the latest news in Application Packaging