Re: [WiX-users] Default regsearch values and upgrading
OKI've changed the package ID to the question marks and tried changing the 3rd field in the product versionran the installer again and now I get... Another version of this product is already installed. Installation of this version cannot continue. . More googling for me today then. Russ -- View this message in context: http://www.nabble.com/Default-regsearch-values-and-upgrading-tf4611878.html#a13188779 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Default regsearch values and upgrading
So the only way I seem to be able to get this to work is to change the product guid as well as the package guid. that doesn't seem right but it seems to work -- View this message in context: http://www.nabble.com/Default-regsearch-values-and-upgrading-tf4611878.html#a13189207 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Default regsearch values and upgrading
sorted it. http://www.nabble.com/file/p13190669/eProject.wxs eProject.wxs -- View this message in context: http://www.nabble.com/Default-regsearch-values-and-upgrading-tf4611878.html#a13190669 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Default regsearch values and upgrading
Hi, I'm new to WiX and have been trying the WiXEdit tool to build an installer. I have been working through a turorial and successfully built the initial MSI file with a custome dialog to collect user information that will be written to the registry but now I have come up against a few issues I can't get around: 1 - Default value of a propoerty I have 2 properties that are populated by a regirstry search. These property values then form the default values in textboxes on my custom form. This works OK. When the registry key is not there or empty how can I give the property a default value? Property Id=MDBFULLPATH RegistrySearch Id=MDBPathRegistry Type=raw Root=HKLM Key=Software\eProject Name=DataSource / /Property 2 - Upgrade / overwright existing installation I'm getting a bit confused about this. I was previously using the freeware AdvancedInstaller to build by MSI http://www.advancedinstaller.com/ . There was a simple tick box in the editor that meant the MSI file created would automatically upgrade older versions of the product already installed. How can I achieve this in WiX? I am happy for every minor upgrade to be treated as a major upgrade but I can't get past the MSI detecting that another version of the product is already installed. This is as far as I have managed to get http://www.nabble.com/file/p13170370/eProject.wxs eProject.wxs http://www.nabble.com/file/p13170370/eprojectwixui.wixlib eprojectwixui.wixlib TIA Russ Green -- View this message in context: http://www.nabble.com/Default-regsearch-values-and-upgrading-tf4611878.html#a13170370 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Default regsearch values and upgrading
To set a default property value use the Value attribute in the Property tag. If the search does not find a value that value should be used. Best regards, Sebastian Brand Instyler Software - http://www.instyler.com On Oct 12, 2007, at 9:18 AM, RussGreen wrote: Hi, I'm new to WiX and have been trying the WiXEdit tool to build an installer. I have been working through a turorial and successfully built the initial MSI file with a custome dialog to collect user information that will be written to the registry but now I have come up against a few issues I can't get around: 1 - Default value of a propoerty I have 2 properties that are populated by a regirstry search. These property values then form the default values in textboxes on my custom form. This works OK. When the registry key is not there or empty how can I give the property a default value? Property Id=MDBFULLPATH RegistrySearch Id=MDBPathRegistry Type=raw Root=HKLM Key=Software\eProject Name=DataSource / /Property 2 - Upgrade / overwright existing installation I'm getting a bit confused about this. I was previously using the freeware AdvancedInstaller to build by MSI http:// www.advancedinstaller.com/ . There was a simple tick box in the editor that meant the MSI file created would automatically upgrade older versions of the product already installed. How can I achieve this in WiX? I am happy for every minor upgrade to be treated as a major upgrade but I can't get past the MSI detecting that another version of the product is already installed. This is as far as I have managed to get http://www.nabble.com/file/p13170370/eProject.wxs eProject.wxs http://www.nabble.com/file/p13170370/eprojectwixui.wixlib eprojectwixui.wixlib TIA Russ Green -- View this message in context: http://www.nabble.com/Default- regsearch-values-and-upgrading-tf4611878.html#a13170370 Sent from the wix-users mailing list archive at Nabble.com. -- --- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Default regsearch values and upgrading
Here is what you need to do to make your install package smart to recognize removing itself if it is already installed. 1. Product tag line, the Id= GUID needs to be Unique each time you build the package (and the version number needs to be incremented each time as well) 2. In the InstallExecuteSequene section, add the following: RemoveExistingProducts After=InstallInitialize / 3. For an Upgrade detection of the product, do something similar to the following where the GUID is the UpgradeCode of your installation Upgrade Id=226F3469-D558-498a-AA7A-AD9072549EF4 UpgradeVersion OnlyDetect=no Property=DETECTED IncludeMaximum=yes IncludeMinimum=yes Maximum=1.5.1.2 Minimum=1.5.1.2/ /Upgrade -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of RussGreen Sent: Friday, October 12, 2007 12:18 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Default regsearch values and upgrading Hi, I'm new to WiX and have been trying the WiXEdit tool to build an installer. I have been working through a turorial and successfully built the initial MSI file with a custome dialog to collect user information that will be written to the registry but now I have come up against a few issues I can't get around: 1 - Default value of a propoerty I have 2 properties that are populated by a regirstry search. These property values then form the default values in textboxes on my custom form. This works OK. When the registry key is not there or empty how can I give the property a default value? Property Id=MDBFULLPATH RegistrySearch Id=MDBPathRegistry Type=raw Root=HKLM Key=Software\eProject Name=DataSource / /Property 2 - Upgrade / overwright existing installation I'm getting a bit confused about this. I was previously using the freeware AdvancedInstaller to build by MSI http://www.advancedinstaller.com/ . There was a simple tick box in the editor that meant the MSI file created would automatically upgrade older versions of the product already installed. How can I achieve this in WiX? I am happy for every minor upgrade to be treated as a major upgrade but I can't get past the MSI detecting that another version of the product is already installed. This is as far as I have managed to get http://www.nabble.com/file/p13170370/eProject.wxs eProject.wxs http://www.nabble.com/file/p13170370/eprojectwixui.wixlib eprojectwixui.wixlib TIA Russ Green -- View this message in context: http://www.nabble.com/Default-regsearch-values-and-upgrading-tf4611878.h tml#a13170370 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Default regsearch values and upgrading
On your Package element I'd change your Id= GUID to be the question marks so it auto generates each time. Or just change the GUID manually. Package Id=---- autogenuuid (Simple Type) Description Values of this type will look like: 01234567-89AB-CDEF-0123-456789ABCDEF or {01234567-89AB-CDEF-0123-456789ABCDEF}. A GUID can be auto-generated by writing all question marks like this: ----. Also allows PUT-GUID-HERE for use in examples. Pattern Type Must match the regular expression: '[{(]?[0-9A-Fa-f]{8}\-?[0-9A-Fa-f]{4}\-?[0-9A-Fa-f]{4}\-?[0-9A-Fa-f]{4}\ -?[0-9A-Fa-f]{12}[})]?|[{(]?\?{8}\-\?{4}\-\?{4}\-\?{4}\-\?{12}[})]?|PUT\ -GUID\-HERE'. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of RussGreen Sent: Friday, October 12, 2007 9:37 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Default regsearch values and upgrading Thanks Chad, I tried that. I built the installer and installed it on a test machine. I then changed the product version from 2.3.2836.20968 to 2.3.2836.20970 and generated a new product GUIDeverything else stayed the same. I then rebuilt the MSI and ran it again on my test machine and got the Change\Repair\Remove dialog on the installer. This is my edited wxs file http://www.nabble.com/file/p13177036/eProject.wxs eProject.wxs What am I still missing? -- View this message in context: http://www.nabble.com/Default-regsearch-values-and-upgrading-tf4611878.h tml#a13177036 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Default regsearch values and upgrading
Thanks Chad, I tried that. I built the installer and installed it on a test machine. I then changed the product version from 2.3.2836.20968 to 2.3.2836.20970 and generated a new product GUIDeverything else stayed the same. I then rebuilt the MSI and ran it again on my test machine and got the Change\Repair\Remove dialog on the installer. This is my edited wxs file http://www.nabble.com/file/p13177036/eProject.wxs eProject.wxs What am I still missing? -- View this message in context: http://www.nabble.com/Default-regsearch-values-and-upgrading-tf4611878.html#a13177036 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Default regsearch values and upgrading
Russ, I believe you're possibly missing the fact that (if I remember correctly) Windows Installer only looks as major, minor and revision (fields 1 - 3) when deciding if the version has changed... not the fourth (typically build number) field in the product version information. Check the mailing list archives for confirmation of this feature. Regards, Richard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of RussGreen Sent: Friday, October 12, 2007 12:37 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Default regsearch values and upgrading Thanks Chad, I tried that. I built the installer and installed it on a test machine. I then changed the product version from 2.3.2836.20968 to 2.3.2836.20970 and generated a new product GUIDeverything else stayed the same. I then rebuilt the MSI and ran it again on my test machine and got the Change\Repair\Remove dialog on the installer. This is my edited wxs file http://www.nabble.com/file/p13177036/eProject.wxs eProject.wxs What am I still missing? -- Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users * C O N F I D E N T I A L I T Y N O T I C E * --- The content of this e-mail is intended solely for the use of the individual or entity to whom it is addressed. If you have received this communication in error, be aware that forwarding it, copying it, or in any way disclosing its content to any other person, is strictly prohibited. Quixote Traffic Corporation is neither liable for the contents, nor for the proper, complete and timely transmission of (the information contained in) this communication. If you have received this communication in error, please notify the author by replying to this e-mail immediately and delete the material from any computer. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users