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
- :
- Re: Major Upgrade issues
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
‎Oct 14, 2008
05:41 PM
Major Upgrade issues
I am trying to perform a major upgrade but am having two issues that are probably related:
1. The old application remains in Add or Remove Programs.
2. Start Menu shortcuts are not deleted.
If I perform an uninstall via Add or Remove Programs the old application is removed ok.
During the upgrade I can see files are being removed so I know that the uninstall is being performed. However it does not seem to be completed.
Some background information:
The old install set was created with DevStudio 9 and is an InstallScript MSI project. The new install set was created from scratch with InstallShield 2008 and is a Basic MSI project. Automatic Upgrade Item in Upgrades was used to point to the old install set.
Any help would be appreciated.
1. The old application remains in Add or Remove Programs.
2. Start Menu shortcuts are not deleted.
If I perform an uninstall via Add or Remove Programs the old application is removed ok.
During the upgrade I can see files are being removed so I know that the uninstall is being performed. However it does not seem to be completed.
Some background information:
The old install set was created with DevStudio 9 and is an InstallScript MSI project. The new install set was created from scratch with InstallShield 2008 and is a Basic MSI project. Automatic Upgrade Item in Upgrades was used to point to the old install set.
Any help would be appreciated.
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 14, 2008
10:30 PM
Did you check the product and upgrades codes of the 2 msi.
Any clues from log files?
Any clues from log files?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 14, 2008
11:24 PM
The old Product code is:
{6A904B3F-F548-4977-9264-20718B44DF44}
The new Product code is:
{87F0D605-60DB-4AA7-9A8E-62C78ECAD784}
The old Upgrade code is:
{C3266785-478E-4A19-83C1-9EC92E6B8801}
The new Upgrade code is:
{C3266785-478E-4A19-83C1-9EC92E6B8801}
I could not see any issues in the log file, though I am not an expert. I did see a section on files being removed and also looking at Windows Explorer during the upgrade I could see the files were actually removed.
{6A904B3F-F548-4977-9264-20718B44DF44}
The new Product code is:
{87F0D605-60DB-4AA7-9A8E-62C78ECAD784}
The old Upgrade code is:
{C3266785-478E-4A19-83C1-9EC92E6B8801}
The new Upgrade code is:
{C3266785-478E-4A19-83C1-9EC92E6B8801}
I could not see any issues in the log file, though I am not an expert. I did see a section on files being removed and also looking at Windows Explorer during the upgrade I could see the files were actually removed.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 15, 2008
12:55 AM
Hi,
Sorry, I might be asking stupid question but still, Have changed product version and package code also?
Thanks
Sachin Pawar
Sorry, I might be asking stupid question but still, Have changed product version and package code also?
Thanks
Sachin Pawar
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 15, 2008
04:10 PM
There are no stupid questions since I'm no expert :D.
The Product Code has been changed. I haven't done anything about the Package Code. I thought InstallShield updates it automatically during the build?
The Product Code has been changed. I haven't done anything about the Package Code. I thought InstallShield updates it automatically during the build?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 16, 2008
07:22 AM
We've had similar issues going from InstallScript MSI to Basic MSI. When the new msi uninstalls the old package, it relies only on the old MSI database (somewhat obviously). So anything that your old project set up in the script doesn't get set up, and that can cause problems during the uninstall from an upgrade.
We have had to write custom actions that run the actual scripted uninstall from the UI sequence rather than depend on the automatic uninstall from the MSI in these cases. If your install is generally run silently, of course, this is problematic...
We have had to write custom actions that run the actual scripted uninstall from the UI sequence rather than depend on the automatic uninstall from the MSI in these cases. If your install is generally run silently, of course, this is problematic...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 16, 2008
05:40 PM
Thanks, that seems to make some sense. In our old InstallScript MSI project it was using InstallScript to remove start menu shortcuts on the OnUninstalled event for some features. There are also some other InstallScript functions that were used on the OnInstalled event but not on the OnUninstalled event. An example was installing a barcode font. If I create a custom action to remove the shortcuts will that mean the upgrade will uninstall the old application successfully? By that I mean remove it from the Add or Remove Programs list.