What is the REINSTALLMODE value when you apply the patch? What does the selection manager say in the verbose debug log from the patch application?
-----Original Message----- From: Grebil, Bryce [mailto:bryce.gre...@wolterskluwer.com] Sent: Thursday, November 12, 2009 9:50 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Registry entry updates in MSP file Sorry, meant to include the code from the RegistryValue in the initial post. <Component Id="RegistryEntries" Guid="625A72DC-E180-46A2-8AC0-B292BD4AE3C7"> <RegistryKey Root="HKLM" Key="$(var.RegistryKey)" Action="createAndRemoveOnUninstall"> <RegistryValue Type="string" Name="version" Value="$(var.SoftwareVersion)" KeyPath="yes" /> </RegistryKey> </Component> The value being written to the registry is just defined in a separate config file <?define SoftwareVersion="1.5.2.0"?> The base MSI has version 1.5.1.0 defined as the version number, while the above is from the new MSI I'm attempting to create the MSP from. I've viewed both the original MSI and the new MSI using Orca and have seen the different values in the registry tables, I'm just not seeing the registry key being updated by the MSP file. Thanks, Bryce -----Original Message----- From: Pally Sandher [mailto:pally.sand...@iesve.com] Sent: Thursday, November 12, 2009 3:34 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Registry entry updates in MSP file What does the RegistryValue code look like? That might help people tell you what's going wrong. If the value you're writing in this RegistryValue is a Property which differs *at run-time* in the 2 MSI's there may not actually be a problem here, it could be expected behaviour. Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the <Virtual Environment>** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -----Original Message----- From: Grebil, Bryce [mailto:bryce.gre...@wolterskluwer.com] Sent: 12 November 2009 03:21 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Registry entry updates in MSP file I'm following the directions on http://www.tramontana.co.hu/wix/ for creating an MSP file. One of the things I'm trying to do is update a registry value on the patch and it doesn't seem to be working. Anyone have any idea how I go about getting the registry value created on install, updated to a different value on the patch. The patch wxs looks something like this for the patch family, where the RegistryEntries is the reference back to the registry entries that are created (it's just one entry). <PatchFamily Id="ConversionsPatchFamily" Version="$(var.ProductVersion)" Supersede="yes"> <ComponentRef Id="RegistryEntries" /> <ComponentRef Id="MainApp" /> </PatchFamily> Am I doing something wrong here? The value that is being written to the registry is different in both MSIs I'm using to create the patch from. I've searched around but haven't found anything that worked Thanks, Bryce ------------------------------------------------------------------------ ------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------ ------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ---------------------------------------------------------------------------- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users