> My installer must be run on Windows7 and Windows 2008 (and r2). One
> of the prerequisite is service MSMQ, which must be installed on this
> computer. But how to check it? On windows XP and Windows 2003 I
> checked registry value
> "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OC
> Manager\Subcomponents\msmq_core"
> and if it exists - msmq is installed. Now this value doesn't correspond
> to the installed state of the MSMQ.
> So any ideas how to check MSMQ installed state?
This approach seems to work for me.
<Product ... >
<Property Id="HASMSMQ">
<RegistrySearch Id="MSMQIsInstalled"
Root="HKLM"
Key="System\CurrentControlSet\Services\MSMQ"
Name="ImagePath"
Type="raw" />
</Property>
<Condition Message="MSMQ must be installed">
<![CDATA[Installed or not HasMSMQ]]>
</Condition>
</Product>
/Thomas Due
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users