It's a native feature of Windows Installer. It only requires that at least
Windows Installer 2.0 and a version of the .NET Framework is installed.

 

I believe you need to ensure that .NET 2.0 is installed if you need to use
the processorArchitecture part of the strong name. The MsiNetAssemblySupport
property gives the highest version of the CLR that is installed (note that
".NET Framework 3.0" and ".NET Framework 3.5" both run on the .NET 2.0 CLR).
I'm not quite sure how .NET 2.0 loads assemblies installed in the 1.x GAC.

 

The .NET Framework keeps Windows Installer reference counts separate from
references added by gacutil. You cannot remove an assembly from the GAC that
was added via Windows Installer using gacutil, and vice versa.

 

-- 

Mike Dimmick

 

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alperstein,
Kenny
Sent: 26 June 2007 14:54
To: Mike Dimmick; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Calling a .bat file from WIX

 

Mike,

  One last question.  Does the WIX GACing functionality require that
gacutil.exe be installed on the target machine?  And does WIX assume it is
installed in any particular place?

 

Kenny Alperstein 
Framework Architect 
Protection Architecture - Frameworks 
Allstate Insurance Company 
* Office: (847) 667-5552 
* [EMAIL PROTECTED] 

  _____  

From: Mike Dimmick [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 21, 2007 3:40 PM
To: Alperstein, Kenny; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Calling a .bat file from WIX

 

You should be adding files to the GAC using the Assembly=".net" attribute on
File, and consider using the WebVirtualDir element to add a virtual
directory.

 

Note that if you specify Assembly=".net", the file will only be installed to
the GAC. If you also need a copy installed elsewhere, you will have to list
the file again in a different Component and using a different Id. Recent
versions of WiX will ensure that the file is only listed in the CAB once
(according to Rob).

 

The more declarative you can go, the better. Using the built-in features of
Windows Installer and WiX means that someone else has tested install,
uninstall, rollback, repair scenarios.

 

-- 

Mike Dimmick

 

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alperstein,
Kenny
Sent: 21 June 2007 17:58
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Calling a .bat file from WIX

 

I am new to WIX and converting an existing process to WIX.  I have a .bat
file which call .cmd files to gac dlls and create a virtual directory?  Is
there a way to execute a .bat file in WIX or should I be using custom
actions to create the virtual directory and call gacutil.exe to gac the
dlls?

Kenny Alperstein

Framework Architect

Protection Architecture - Frameworks

Allstate Insurance Company

* Office: (847) 667-5552

* [EMAIL PROTECTED]

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to