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
- :
- Upgrade scenario problem
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
‎May 03, 2010
08:37 AM
Upgrade scenario problem
Hey,
I created an installer for v1.0.0.0 of my program, and it creates a folder in the program's AppData folder called 1.0.0.0(folder name must match program version).
If I release an installer for v1.1.0.0, it will upgrade the program fine. When the program starts, it deletes the old 1.0.0.0 folder(because it now uses the 1.1.0.0 folder).
However, the next time the program is executed, the installer kicks in and recreates a 1.0.0.0 folder. This causes problems with the program.
Why is it trying to recreate the old v1.0.0.0 folder? Is a cache of the old v1.0 installer still there? And how can I prevent this?
Thanks!
I created an installer for v1.0.0.0 of my program, and it creates a folder in the program's AppData folder called 1.0.0.0(folder name must match program version).
If I release an installer for v1.1.0.0, it will upgrade the program fine. When the program starts, it deletes the old 1.0.0.0 folder(because it now uses the 1.1.0.0 folder).
However, the next time the program is executed, the installer kicks in and recreates a 1.0.0.0 folder. This causes problems with the program.
Why is it trying to recreate the old v1.0.0.0 folder? Is a cache of the old v1.0 installer still there? And how can I prevent this?
Thanks!
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 04, 2010
04:00 PM
Are you using installscript for this? If so can you post the code?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 05, 2010
07:51 AM
What kind of upgrade are you doing? If you are doing a major upgrade, the older version should be completely uninstalled and shouldn't try to repair the old folder.
If you're doing a minor upgrade, how are you installing the files to the newer folder?
If you're doing a minor upgrade, how are you installing the files to the newer folder?
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)