I don't know if WiX has any support for this (it would be useful to automate
this) but the MSI/fusion requirement is that the policy assembly and the config
policy file are in the same installer component. It's also usual to have a
companion file relationship so that the policy config file uses the assembly's
versioning rules. Don't make the config file behave like a manifest, just a
file in the same component.
The name of the config file is in the resources of the assembly, so you can't
rename the policy file. I assume that internally between MSI and fusion
there's something that asks MSI for the other pieces of the assembly, and MSI
assumes that they are all in the same component. That makes sense because
logically it's one assembly in multiple parts.
Phil Wilson
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alperstein, Kenny
Sent: Wednesday, March 26, 2008 8:33 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] GACing a Publisher Policy File Problem
I am trying to GAC a publisher policy file dll using WIX. When I tried to GAC
it using method that works with .net dll's, I get a message during the install
saying that "One or more modules of the assembly could not be found" .
Knowing that it needs the publisher policy config file, I added that to the
File element in the "AssemblyManifest" attribute. Then I got an error during
Light that said "error LGHT0124 : Not a valid manifest file; detail: Data at
the root level is invalid. Line 1, position 1." I get the same results if I
specify the "Assembly" attribute as "win32".
Any ideas on how I can GAC this dll? Any help would be appreciated.
Thanks
Kenny Alperstein
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users