- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Product Version in Control Panel is updated but GAC32 files not updated
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Product Version in Control Panel is updated but GAC32 files not updated
Hello,
We have a new version of our product from 4.5.51.1 to 4.6.0.0.
The way our installer is setup:
1.) We have a merged module with all the files in it including the dlls and the GAC32 files.
2.) We have a wrapper installer that includes the merged module component above so that it can be installed.
Working:
1.) Use InstallShield 2021 IDE and click run button in the wrapper installer solution: Both product version in the control panel and the C:\Windows\Microsoft.NET\assembly\GAC_32 files are updated with 4.6.0.0.
Problem:
1.) Double-click on setup.exe generated after building the wrapper solution: Only Control Panel version is updated with 4.6.0.0. C:\Windows\Microsoft.NET\assembly\GAC_32 files are still 4.5.51.1.
Tried Solution:
1.) We tried to add RemoveExistingProducts Standard Actions in the User Interface Sequences but it says in the logs:
"Skipping RemoveExistingProducts action: current configuration is maintenance mode or an uninstall"
2.) We tried to change the Product/Upgrade/Package ID, but it installed the newer version alongside the older version. The older version was still there.
Could somebody help us with this? Attached are the logs when installing using IDE which was fine and using the Setup.exe which only updated in the Control panel programs version and not the GAC32 files.
The world of Windows Installer upgrades can be quite complex.
To start the "RemoveExistingProducts" action must remain in the execute sequence in only a few specific supoorted locations - you can read more here:
https://learn.microsoft.com/en-us/windows/win32/msi/removeexistingproducts-action
My advice would be to leave it in the default location.
Changing the Upgrade GUID will cause Windows Installer to treat this like a a new standalone application - therefore this woudl explain why the old version remains.
Overall it looks like you are trying to attempt a Major Upgrade. I would strongly suggest that you take some time to familiarise yourself with windows installer upgrade methodology.
I created a great introduction video to Windows Installer upgrades here:
https://community.flexera.com/t5/InstallShield-Knowledge-Base/Introduction-to-Windows-Installer-Upgrade-Types/ta-p/193041
We also have a video on how to create Major Upgrades here:
https://community.flexera.com/t5/InstallShield-Knowledge-Base/How-to-Configure-a-Major-Upgrade/ta-p/193052
I hope this helps,
Stuart