asp.net mvc - Check registry keys of a Software that is already installed in your system For WIX setup -


I have WIX setup. I want a prompt message box for some essential things before setting up my setup. I am using code to check the registry keys for software. But this is always a message indicating weather whether any software is installed or not.

  & lt; Condition Message = "This Application ReportWire Required." & Gt; & Lt ;! [CDATA [ReportViewerV10 or Report Weasvers 64 V10]] & gt; & Lt; / Status & gt; & Lt; Use: registry search root = "HKLM" key = "software \ Microsoft \ ReportViewer \ v10.0" value = "install" variable = "ReportViewerV10" Win64 = "yes" /> & Lt; Use: registry search root = "HKLM" key = "software \ Wow6432Node \ Microsoft \ ReportViewer \ v10.0" value = "install" variable = "ReportViewerWow64V10" Win64 = "yes" />  

Can someone guide me where I am doing wrong? What should be the registry keys for the software?

According to your registry search parameters are not set up quite right below should get better results.

  & lt; Asset ID = "NREPT Weaver V10" & gt; & Lt; RegistrySearch Id = "NetFramework20" Root = "HKLM" key = "software \ Microsoft \ ReportViewer \ v10.0" name = "install" type = "raw" /> & lt; / Property & gt; & Lt; Asset ID = "ReportViewerWow64V10" & gt; & Lt; RegistrySearch Id = "NetFramework20" root = "HKLM" key = "software \ WOW6432Node \ Microsoft \ ReportViewer \ v10.0" name = "install" type = "raw" /> & Lt; / Property & gt;  

Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -