Question

I have an application that is installed on the clients v.8.0. I have made a new version 9.0 and want to use RemovePreviousVersions to remove the old version and install the new one. I have custom actions setup up in the v.8.0 to clear out all of the directories that were created while the app was being used. In my v.9.0 I have a custom action that copies directories from the CD it is being installed from to the install directory. There seems to be a timing issue when the custom actions are called to remove v.8.0 and install v.9.0. I can see all the directories getting copied over for the custom action in v.9.0 and then I can see them getting deleted when the uninstall custom action of v.8.0 runs. Shouldn't RemovePreviousVersions remove the old version before attempting to install the new version? Is this a bug or am I doing something wrong. Can someone shine some light on this for me please.

Was it helpful?
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top