I previously had a set of policy files which I packaged using Visual
Studio's Setup and Deployment project type. To check we're on the right page, we
are talking about .NET publisher policy, right? Where you're redirecting an
assembly reference to a different version of that assembly?
I ran the MSI through dark.exe, and this is what I
got:
<Component Id="C__124D88BC3EEB4281B8984D1139BE4728"
Guid="E0E96E71-C863-13DB-7539-3718C188B439">
<File Id="_124D88BC3EEB4281B8984D1139BE4728" Name="POLICY~1.DLL" LongName="Policy.2.40.FifthDimension.Meteor.AppInterface.dll" Vital="yes" KeyPath="yes" AssemblyManifest="_124D88BC3EEB4281B8984D1139BE4728" Assembly=".net" DiskId="1" />
<File Id="_421A4E25AD38FEDD5BFA2EE6E48DBC2B" Name="APPINT~1.CON" LongName="AppInterface.config" CompanionFile="_124D88BC3EEB4281B8984D1139BE4728" Vital="yes" DiskId="1" />
</Component>
<File Id="_124D88BC3EEB4281B8984D1139BE4728" Name="POLICY~1.DLL" LongName="Policy.2.40.FifthDimension.Meteor.AppInterface.dll" Vital="yes" KeyPath="yes" AssemblyManifest="_124D88BC3EEB4281B8984D1139BE4728" Assembly=".net" DiskId="1" />
<File Id="_421A4E25AD38FEDD5BFA2EE6E48DBC2B" Name="APPINT~1.CON" LongName="AppInterface.config" CompanionFile="_124D88BC3EEB4281B8984D1139BE4728" Vital="yes" DiskId="1" />
</Component>
I'd guess that this is the right way to do it. The link http://msdn.microsoft.com/library/en-us/msi/setup/adding_assemblies_to_a_package.asp says that "[a]ll of the files in the assembly should be in a single
component."
--
Mike
Dimmick
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joseph Barkley
Sent: 08 September 2006 20:35
To: wix-users
Subject: [WiX-users] Policy and Config files into the GAC?
Previously, I had added everything in our InstallScript code to the GAC by using gacutil with *.*
If this is not correct, how do I handle the policy and config files that go with the assemblies? Where should these be placed on disk if they don't go into the GAC?
Thanks,
Joseph
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users