Flexera Software Community  

Go Back   Flexera Software Community > Products > Legacy Installer Products > InstallShield > InstallShield Windows 11.5
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-15-2005, 05:58 AM
eengelen eengelen is offline
User (5+ Posts)
 
Join Date: Jul 2005
Posts: 20
Exclamation Uninstall .NET 2.0 assemblies from GAC

When I create a new Basic MSI project, add a .NET 2.0 assembly, set it's location to the GAC, build a release, install and unstall: the assembly is not removed from the GAC.

When I open the MSI-file in InstallShield and look at the MsiAssemblyName table there are rows with 'Name', 'Version', 'PublicKeyToken', 'Culture' and 'FileVersion'.
.NET 2.0 requires that a row with the 'ProcessorArchitecture' is supplied. That why uninstall fails. Manually adding a 'ProcessorArchitecture' row solves the problem.

Is there a way to let Installshield add a row 'ProcessorArchitecture' automatically'? IS 11.5 supports .NET 2.0 so it should be possible.

Thanks
Reply With Quote
  #2  
Old 12-15-2005, 10:24 AM
MichaelU's Avatar
MichaelU MichaelU is offline
InstallShield Software Engineer
 
Join Date: Jan 2004
Location: Schaumburg, IL
Posts: 3,426
We definitely want to track this down and fix it. I just performed an inconclusive test with Microsoft.Build.Framework.dll, as we didn't include the processorArchitecture but Lutz Roeder's .NET Reflector doesn't show it either. However http://msdn.microsoft.com/library/en...mbly_table.asp suggests all these values are available in the manifest; which I would have hoped we were implicitly referencing. Do you have the processorArchitecture value set in your assembly's manifest?
__________________
Michael Urman - Senior Software Engineer - Flexera Software: InstallShield Team
Reply With Quote
  #3  
Old 12-16-2005, 01:32 AM
eengelen eengelen is offline
User (5+ Posts)
 
Join Date: Jul 2005
Posts: 20
No it is not set:

// Assembly Ascon.Common, Version 1.0.2137.22546
Location: F:\Ascon\Common\Ascon.Common\bin\Release\Ascon.Common.dll
Name: Ascon.Common, Version=1.0.2137.22546, Culture=neutral, PublicKeyToken=2088aa7ba8a49089


I don't know whether/how I can set it manually, but I shouldn't, should I?
Reply With Quote
  #4  
Old 12-19-2005, 07:21 AM
eengelen eengelen is offline
User (5+ Posts)
 
Join Date: Jul 2005
Posts: 20
Exclamation

Another problem:
Upgrading/patching doesn't remove the old assembly from the GAC.

Anyone?
Reply With Quote
  #5  
Old 02-10-2006, 09:57 AM
pctaylor pctaylor is offline
Power User (30+ Posts)
 
Join Date: Nov 2005
Posts: 45
I have this problem too.

My MsiAssemblyName table is empty. Do I have to manually populate this table? And the table doesn't have a PublicKey column.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 08:45 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© 2010 Flexera Software Inc. All rights reserved.