Hi Guys,
I am trying to create an Installer package which will update some files of an existing product in the target machine.
Basically I want to ship the updated dlls, config files etc. for an existing product. I want to achieve the following things.
On installation:
1) Backup all the files ( already installed on the machine) which is going to be updated by my installer before the installation ( before InstallFiles action ).
2) Install my installer.
On uninstallation:
1) Uninstall my installer.
2) Restore all the files backed up in step 1 on installation ( after RemoveFiles action ).
So after uninstalling my product, basically system goes back to the previous state ( the state before the installation of my product ).
I'm not much inexperienced with Custom Actions. How can I achieve this task using msiext Custom Actions.
Is there any existing examples which illustrates my requirement for a reference.