Publisher policy assemblies are also versioned. You must increase the version number of the policy assembly for it to be added to the GAC in addition to the version already there.
There are rules on the naming of the publisher policy assembly - if I recall correctly, the major.minor of the policy assembly must match the major.minor of the assembly you're trying to redirect. You're free to set build.revision to whatever you like IIRC. Publisher policy is a very blunt instrument and should only be used if your clients absolutely must be redirected to the latest version - perhaps your assemblies don't work properly if a mixed set are loaded in the same process, or even don't work properly if a mixed set are loaded in multiple processes at the same time. You might also do this if you were fixing a security bug. Generally, though, you're expected *not* to force clients to load a different version than they were built with. (An .exe.config file can still override publisher policy if required). If you want to upgrade a GAC assembly without changing the assembly version (only the file version number), you can do this by specifying FileVersion in the MsiAssemblyName table, which you do in WiX by passing the -fv switch to light. -- Mike Dimmick -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of DexterSinister Sent: 23 April 2007 19:45 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Upgrading Publisher Policy Files in Merge Modules Is there any trick to this ... ? We've got a merge module that is used by a couple of other groups, and while the assemblies get installed to the GAC properly ... when upgraded assemblies & policy files get shipped, the policy files don't seem to upgrade properly. Thanks in advance, -dmm -- View this message in context: http://www.nabble.com/Upgrading-Publisher-Policy-Files-in-Merge-Modules-tf36 33507.html#a10146299 Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- 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 ------------------------------------------------------------------------- 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