I'm afraid I have only ever done this as a major upgrade, I don't think it should matter.
Neil -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of wixuser1105 Sent: 18 June 2008 03:58 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Patch build with GAC update I tried with -fv but it does not update GAC. I will paste the code below. Infrastructure.wxs -------------------- <?xml version="1.0"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Product Id="FAF9B0E3-2F1B-4806-94DA-09FC29497384" Name="Infrastructure" Language="1033" Version="1.0.0" Manufacturer="My company" UpgradeCode="9E3B8443-CD31-483d-9EE3-E8FBD9209447"> <Package Description="Infrastructure Services" Comments="Infrastructure Services Package" Manufacturer="my comp" InstallerVersion="200" Compressed="yes"/> <Media Id="1" Cabinet="Infrastructure.cab" EmbedCab="yes"></Media> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="ProgramFilesFolder" Name="PFiles"> <Directory Id="InfDir" Name="InfrastructureService"> <Component Id="WinApp" Guid="F504963A-BC48-4703-B978-B31CCDD0E3A5" DiskId="1"> <File Id="WinAppExe" Name="WinApp.exe" DiskId="1" Source="$(var.buildPath)\WinApp.exe"></File> </Component> <Component Id="ClassLib" Guid="646909B9-8B31-4429-9556-82AE57B3F4EE"> <File Id="ClassLib" Name="ClassLib.dll" PatchWholeFile="yes" DiskId="1" Source="$(var.buildPath)\ClassLib.dll" Assembly=".net" KeyPath="yes"></File> </Component> </Directory> </Directory> </Directory> <Feature Id="InfFeature" Title="Infrastructure Service" Level="1"> <ComponentRef Id="WinApp"/> <ComponentRef Id="ClassLib"/> </Feature> </Product> </Wix> InfPatch.wxs ------------- <?xml version="1.0" encoding="utf-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Patch AllowRemoval="yes" Manufacturer="Calyon Bank" MoreInfoURL="http://www.calyon.com/" DisplayName="Class Lib update 1.1" Description="Library updated" Classification="Update"> <Media Id="5000" Cabinet="RTM.cab"> <PatchBaseline Id="RTM"/> </Media> <PatchFamilyRef Id="ClassLibFamily"/> </Patch> <Fragment> <PatchFamily Id='ClassLibFamily' Version='1.0.1' Supersede='yes' > <ComponentRef Id="ClassLib"/> </PatchFamily> </Fragment> </Wix> commands ------------- candle.exe -dbuildPath=1.0 infrastructure.wxs light.exe -sval -xo infrastructure.wixobj -out 1.0\infrastructure.wixout -fv light.exe 1.0\infrastructure.wixout -out 1.0\infrastructure.msi -fv candle.exe -dbuildPath=1.1 infrastructure.wxs light.exe -sval -xo infrastructure.wixobj -out 1.1\infrastructure.wixout -fv light.exe 1.1\infrastructure.wixout -out 1.1\infrastructure.msi -fv torch.exe -p -xi 1.0\infrastructure.wixout 1.1\infrastructure.wixout -out Patch\Diff.Wixmst candle.exe InfPatch.wxs light.exe InfPatch.wixobj -out Patch\InfPatch.WixMsp -fv pyro.exe Patch\InfPatch.WixMsp -out Patch\InfPatch.msp -t RTM Patch\Diff.wixmst Neil Sleightholm wrote: > > By default Windows Installer doesn't check the file version for files in > the GAC (only assembly version). If you use the -fv command line option > with light it will set a flag in the MSI to make it check the file > version. > I hope this helps. Neil -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wix User Sent: 17 June 2008 09:02 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Patch build with GAC update I have followed the examples given in http://blogs.msdn.com/pmarcu/archive/2007/06/28/sample-patch.aspx but I have a few components with assemblies registering to GAC. when I create a patch with the latest and deployed, it does not replace in the GAC. I will not be making any assembly version changes because it will break all the other references and I do not want to have multiple versions in the GAC. only the file version will be changed. any idea? ------------------------------------------------------------------------ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- View this message in context: http://www.nabble.com/Patch-build-with-GAC-update-tp17880093p17958791.ht ml Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users