Thanks. Wix.chm | search "global assembly cache" -> returned one hit for "File Element" documentation which did detail use of the Assembly attribute for install/remove of managed dlls in %systemroot%\assembly\gac_msil. So the addition of just Assembly and KeyPath to File element as shown here did the trick for me.
<Component Id="gacitem1" Guid="PUT-GUID-HERE" Win64="$(var.Win64)">
<File Id="SomeGacDestinedItem.dll" Name="Company.Deliverable.SomeGacDestinedItem.dll" Source="$(var.SomeGacDestinedItem.TargetPath)" Assembly=".net" KeyPath="yes" />
</Component>
-----Original Message-----
From: Rob Mensching [mailto:***@microsoft.com]
Sent: Tuesday, November 18, 2008 8:07 AM
To: General discussion for Windows Installer XML toolset.; '***@yahoo.com'
Subject: Re: [WiX-users] How to GAC .Net assemblies the correct way?
Yeah, you have to search for "global assembly cache" in the WiX.chm to find it. "GAC" only finds the NativeImage element. Probably should tweak the documentation to catch both.
-----Original Message-----
From: Robert O'Brien [mailto:***@microsoft.com]
Sent: Tuesday, November 18, 2008 03:58
To: 'General discussion for Windows Installer XML toolset.'; '***@yahoo.com'
Subject: Re: [WiX-users] How to GAC .Net assemblies the correct way?
I looked under the current wix help file how to section and could only find "How To: NGen Managed Assemblies During Installation".
This appears to cover having wix generated msi's install/uninstall to %systemroot%\assembly\gac_32 & %systemroot%\assembly\gac_64 but does not appear to have an option to all me to direct install to %systemroot%\assembly\gac_msil.
Am I overlooking some <netfx:NativeImage attribute setting that will result in bits getting placed in %systemroot%\assembly\gac_msil?
-----Original Message-----
From: Neil Enns [mailto:***@microsoft.com]
Sent: Wednesday, October 08, 2008 7:07 AM
To: ***@yahoo.com; General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to GAC .Net assemblies the correct way?
There is a complete example of how to do this in the WiX help file that ships with WiX. Look under the How To section.
Neil
________________________________
From: Wong Shao Voon [***@yahoo.com]
Sent: Wednesday, October 08, 2008 2:54 AM
To: wix-***@lists.sourceforge.net
Subject: [WiX-users] How to GAC .Net assemblies the correct way?
Hey guys,
I could use a custom action to gacutil the .Net dlls into the GAC. But I searched that WiX and MSI has the correct way of GAC'ing the dlls, instead of using gacutil.exe . After I googled, I still couldn't find a single example on how to do it. Could someone kind enough to enlighten me the correct way to specify it in the WXS file?
Thank you very much!
And have a nice day!
Best regards,
Shao Voon
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/