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

Reply via email to