Thanks! That worked, at least for some of the policy dll files. I am still having some isues with others, but I think it's the policy file (possibly the way it's being built) and not my code. I really appreciate you taking the time to help me out!
Joseph
On 9/11/06, Mike Dimmick <[EMAIL PROTECTED]> wrote:
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>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?I've got some merge modules that contain policy dll files and config files for assemblies that need to go into the GAC. I have tried several different things to get these files placed into the GAC with the associated assemblies, but to no avail. I have tried adding them to the same component and set the main assembly as the KeyPath, but then I can't set the Assembly attribute on the other files (because the file with the assembly attribute also has to be the key file). I have tried putting these in their own components (config's and policy dll's) but they aren't "valid" GAC files.
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