cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Jaws88
Level 2

Move a folder during major upgrade

Hi,

I've created an InstallScript setup (by InstallShield 2009) able to perform major upgrade of a previous version of XXX software.
If the user had a previous version of XXX my installer uninstalls the previous version then install the new one.
I need to move a folder from previous installdir to the new one before uninstalling so my need is to read the installlation path of the previous version of XXX.

How can I do it?

Regards,
Jaws
Labels (1)
0 Kudos
(1) Reply
KathyMorey
Level 10

If your previous installer wrote the App Path key for any of its executables, the easiest way would be to use RebDBGetKeyValueEx to read the Path entry under this key.

Otherwise, is there any other registry or ini file entry in the previous project that you could search for? If not, you may be forced to look for a file, which is possible but could be time-consuming.
0 Kudos