I am using installshield 2012 Pro.
My aim was to create a custom action that worked in two ways to back up files that had previously been installed. Then on un-installation of the update the custom action would then copy the backed up files into the INSTADIR after it had removed the files from the update and delete the old backup folder containing the old files.
The first part of this works fine. It creates the backup folders and copy’s the files into them thus backing up the system before changes have been made to any files.
It is the second part however that I am having issues with. The uninstall runs fine but when it comes to copying the backed up files it won’t copy them to the INSTALLDIR. If I change the path to somewhere else on the drive however it can copy the backed up file to that location.
I have entered the REMOVE=”ALL” condition in custom actions and sequences
The old files are deleted and so is the backup location
I have changed the file attributes of the files so that they can be copied even if they are read only ect.