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
- :
- When is Application Folder removed 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
‎Apr 23, 2009
10:49 PM
When is Application Folder removed during major upgrade
Hi all:
I have an InstallScript MSI project provided by 3rd party. One custom action (condition: Installed, placed before InstallInitialize) of the project needs some files in application folder (i.e. C:\Program Files\My Product Name) to do our uninstallation procedure. It works fine when we just do installation and uninstallation. However, when we do major upgrade, something strange happens...
As soon as we execute setup.exe (has major upgrade functionality), the application folder is removed immediately. More specifically, the application folder is removed before I see the Welcome Dialog. Since the application folder is removed in the improper time, we couldn't find desired files to do complete uninstallation during major upgrade. But as far as I know, the application folder is removed during the RemoveExistingProducts CA of newer version, isn't it?
Could anyone tell me the answer to these questions?
1. When is the application folder removed during major upgrade?
2. Could I know the above behavior via log file (which keyword for instance)?
Any help is very appreciated. Thanks in advance.
I have an InstallScript MSI project provided by 3rd party. One custom action (condition: Installed, placed before InstallInitialize) of the project needs some files in application folder (i.e. C:\Program Files\My Product Name) to do our uninstallation procedure. It works fine when we just do installation and uninstallation. However, when we do major upgrade, something strange happens...
As soon as we execute setup.exe (has major upgrade functionality), the application folder is removed immediately. More specifically, the application folder is removed before I see the Welcome Dialog. Since the application folder is removed in the improper time, we couldn't find desired files to do complete uninstallation during major upgrade. But as far as I know, the application folder is removed during the RemoveExistingProducts CA of newer version, isn't it?
Could anyone tell me the answer to these questions?
1. When is the application folder removed during major upgrade?
2. Could I know the above behavior via log file (which keyword for instance)?
Any help is very appreciated. Thanks in advance.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 28, 2009
08:38 AM
Any idea?
please give me some hints
please give me some hints
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 06, 2009
04:37 AM
I found something weird.
If I close my application before major upgrade, the application folder would be removed before I see the Welcome Dialog. The log file is attached below. I didn't see any valuable information
However, if I make my application open when doing major upgrade (Notes: My setup would check if application is still running. If yes, it would automatically close this application sometime during setup), the folder would not be removed until it exits from RemoveExistingProducts CA. This is just what I expect.
So far, I have no clue to this.
If I close my application before major upgrade, the application folder would be removed before I see the Welcome Dialog. The log file is attached below. I didn't see any valuable information
However, if I make my application open when doing major upgrade (Notes: My setup would check if application is still running. If yes, it would automatically close this application sometime during setup), the folder would not be removed until it exits from RemoveExistingProducts CA. This is just what I expect.
So far, I have no clue to this.