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