This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Move a folder during major upgrade
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 04, 2009
09:32 AM
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
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
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 09, 2009
07:57 AM
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.
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.