In a 32 bit msi I use the following property

        <Property Id="MSMQAVAILABLE">
                                <RegistrySearch Id="MSMQIsInstalled"
                                                                 Root="HKLM"

 Key="System\CurrentControlSet\Services\MSMQ"

 Name="ImagePath"
                                                                Type="raw"
/>
                            </Property>

and the following Launch Condition

    <Condition Message="!(loc.MSMQError)">
        <![CDATA[Installed OR (MSMQAVAILABLE)]]>
    </Condition>

- that appears to work as expected - my message pops up if the Message
Queue registry entry is not found.

I created another  msi installer based on 64 bit platform which is launched
according to the target system using a Burn Bootstrapper. In this MSI I've
tried checking a property as above - both with Win64="yes" and Win64="no".
The property is never set in the log and the pop up always appears
indicating that Message Queueing is not installed. I check the above path
on a 64 bit system and the entries are there





I also tried

<Property Id="MSMQAVAILABLE64" Admin="yes" >
            <RegistrySearch Id="MSMQIsInstalled_64"
                                             Win64="yes" Root="HKLM"

 Key="SOFTWARE\Microsoft\MSMQ\Parameters"
                                             Name="CurrentBuild"
                                             Type="raw" />
        </Property>

        <Property Id="MSMQAVAILABLE" Admin="yes" >
            <RegistrySearch Id="MSMQIsInstalled"
                                            Win64="yes"
                                             Root="HKLM"

 Key="SOFTWARE\Microsoft\MSMQ\Parameters"
                                             Name="MsmqRootPath"
                                            Type="file" />
        </Property>

        <Property Id="MSMQAVAILABLE64" Admin="yes" >
            <RegistrySearch Id="MSMQIsInstalled64"
                                             Win64="no"
                                             Root="HKLM"

 Key="SOFTWARE\Wow6432Node\Microsoft\MSMQ\Parameters"
                                             Name="MsmqRootPath"
                                            Type="file" />
        </Property>

        <Property Id="MSMQAVAILABLE64" Admin="yes" >
            <RegistrySearch Id="MSMQIsInstalled64"
                                             Win64="yes"
                                             Root="HKLM"

 Key="SOFTWARE\Wow6432Node\Microsoft\MSMQ\Parameters"
                                             Name="MsmqRootPath"
                                            Type="file" />
        </Property>

The keys are all there though the property is never set.

Any ideas what I'm doing wrong? Message Queuing is definitely installed



Thanks in advance

N Lough
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to