As it says here: http://wixtoolset.org/documentation/manual/v3/customactions/shellexec.html
it's more common to use a shell execute on a URL to launch the default program, if that works in your scenario. --------------- Phil Wilson On Mon, Mar 9, 2015 at 5:46 AM, Steven Ogilvie <steven.ogil...@titus.com> wrote: > Classification: Public > Why not use: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Apps Paths > Chrome.exe and get the default value which is the path and exe name > Use Firefox.exe to get its path > > -----Original Message----- > From: Namrata Kumari [mailto:namrata.kum...@aspiresys.com] > Sent: March-09-15 8:36 AM > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] how to extract string from registry entry > > I want to launch my application on default browser but getting extra content > in registry entry , how to extract exact values out from registry: > <Property Id="BROWSER"> > <RegistrySearch Id='DefaultBrowser' Type='raw' Root='HKCR' > Key='http\shell\open\command' /> > </Property> > > Getting registry entry : > Firefox: "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -osint -url > "%1" > Chrome: "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" -- "%1" > > Required Value :: > Firefox: "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" > Chrome: "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" > > > > Is there any way to extract value as required in registry entry else have to > go with CA... hate that > > > > -- > View this message in context: > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/how-to-extract-string-from-registry-entry-tp7599505.html > Sent from the wix-users mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > This message has been marked as Public by Steven Ogilvie on March-09-15 > 8:46:42 AM. > > The above classification labels were added to the message by TITUS Message > Classification. > For more information visit www.titus.com. > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users