Hi,
I'm not quite sure what you are trying to do but...
<Property Id='REGISTRYSEARCH'>
<RegistrySearch Id='SQLSearch' Type='raw' Root='HKLM'
Key='software\microsoft\microsoft sql server\' Name='Test'/> </Property>
<Condition Message='Test Folder do not exist'>REGISTRYSEARCH=#1</Condition>
Will look in the registry for the value Test under the sql server key (I don't
have this key on my machine I assume you are creating it).
The launch condition says halt the installer if that registry value (of type
dword) does not contain a 1.
If you want your installer to exit if that value is not defined at all just
use...
<Condition Message='Test Folder do not exist'>REGISTRYSEARCH</Condition>
Dave W.
-----Original Message-----
From: Prabhakaran Paulraj [mailto:[email protected]]
Sent: 18 September 2009 14:59
To: [email protected]
Subject: [WiX-users] Registry Search Condition Message Wix 2.0
Hi,
I want to continue with the Setup (installation, repair or remove) only if
the following registry key is found.
<Property Id='REGISTRYSEARCH'>
<RegistrySearch Id='SQLSearch' Type='raw' Root='HKLM'
Key='software\microsoft\microsoft sql server\' Name='Test'/> </Property>
<Condition Message>'Test Folder do not exist'>REGISTRYSEARCH=#1</Condition>
I followed like this but it doesn't show me the message even if the Test Folder
is not found. If the Test Folder is not found it should display the message and
wind the Setup.
I don't know where i am going wrong.
Any suggestions?
Thanks
Prabhakaran
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA is the
only developer event you need to attend this year. Jumpstart your developing
skills, take BlackBerry mobile applications to market and stay ahead of the
curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf _______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires
that you delete it without acting upon or copying any of its contents, and we
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY,
UK.
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users