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: Really weird issue with files in GAC.
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
‎Sep 17, 2010
08:04 AM
Really weird issue with files in GAC.
So we have a 2010 basic msi that places files in the GAC. These have had no issues in the past and placing them there has been stable for a really long time.
Fast forward to yesterday...
If we do a clean install of our application on a machine the files are placed in the GAC. Great.
However, if a user runs a major upgrade and installs a newer version over itself, ONLY on XP machines does that file not get replaced in the GAC. It simply disappears on the uninstall sequence. Now if we do the same on Windows7 it works fine, the upgrade occurs and the files are still in the GAC from the second part of the upgrade.
So to be succinct....
1. Windows 7, run MSI major upgrade on itself files are placed in GAC on upgrade.
2. Windows XP, run MSI major upgrade on itself , files are removed from GAC.
Now, this file install into GAC is exactly the same on both versions. There has been no change here. I'm starting to suspect this may be a Windows installer bug since it's happening on one version and not another.
Anyone have any ideas about this? Or a possible workaround? thanks!
Fast forward to yesterday...
If we do a clean install of our application on a machine the files are placed in the GAC. Great.
However, if a user runs a major upgrade and installs a newer version over itself, ONLY on XP machines does that file not get replaced in the GAC. It simply disappears on the uninstall sequence. Now if we do the same on Windows7 it works fine, the upgrade occurs and the files are still in the GAC from the second part of the upgrade.
So to be succinct....
1. Windows 7, run MSI major upgrade on itself files are placed in GAC on upgrade.
2. Windows XP, run MSI major upgrade on itself , files are removed from GAC.
Now, this file install into GAC is exactly the same on both versions. There has been no change here. I'm starting to suspect this may be a Windows installer bug since it's happening on one version and not another.
Anyone have any ideas about this? Or a possible workaround? thanks!
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 17, 2010
08:09 AM
Note: the assemblies going into the GAC are of the same exact version.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 17, 2010
09:44 AM
BTW, just for followup purposes...
This link solution above, doesn't allow one to run custom actions outside install finalize that affect the operating system. So this solution doens't work for us. Instead we wrote an EXE that will be called to put some files in the GAC instead.
This link solution above, doesn't allow one to run custom actions outside install finalize that affect the operating system. So this solution doens't work for us. Instead we wrote an EXE that will be called to put some files in the GAC instead.