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

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!
Labels (1)
0 Kudos
(2) Replies
mumbles
Level 7

Are you using installscript for this? If so can you post the code?
0 Kudos
KathyMorey
Level 10

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?
0 Kudos