![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
|
MSI packages use special characters to indicate DWORD or binary values. In you Launch Condition, set MSMQEXISTS equal to #1 rather than 1 and it should work just fine. For more information about registry searches, check out: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/r eglocator_table.asp The bottom of the page shows how to search for values of differing data types. -- This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm Note: For the benefit of the community-at-large, all responses to this message are best directed to the newsgroup/thread from which they originated. -------------------- From: andy.johnstone (AT) refinery (DOT) com (Andy) Newsgroups: microsoft.public.vsnet.general Subject: Launch conditions and registry search woes Date: 22 Jul 2003 11:05:31 -0700 Hi all, I'm having a problem getting a launch condition based on a registry search working. I'm trying to see if MSMQ is installed, and if its not, abort the installation. The registery search is setup as follows: (Name) MSMQ Property MSMQEXISTS RegKey Software\Microsoft\MSMQ\Setup\msmq_Core Root vsdrrHKLM Value (left blank) Launch condition set as: (Name) MSMessageQueue Condition MSMQEXISTS=1 Message [MSMQEXISTS] my error message I've tried different Values for the Registery search, as well as changing the condition for the LC, but nothing seems to work (except setting Condition to 1=1). What am I doing wrong? Thanks Andy |
#2
| |||
| |||
|
|
From: andy.johnstone (AT) refinery (DOT) com (Andy) Newsgroups: microsoft.public.vsnet.general Subject: Re: Launch conditions and registry search woes Date: 23 Jul 2003 07:11:32 -0700 Hi Michal, I tried your suggestion, just changing the Condition on the LC to [MSMQEXISTS]=#1, but alas it did not work. I changed the registry value of Software\Microsoft\MSMQ\Setup\msmq_Core to 0, and the LC doesn't abort the installation. Basically it seems to always evaluate to true. Even if i delete the msmq_Core value completely, the installation doesn't stop with the error message that MSMQ is missing. Any other ideas? Andy misampso (AT) online (DOT) microsoft.com (Michal Sampson [MSFT]) wrote in message news:<gYiVCTJUDHA.2236 (AT) cpmsftngxa06 (DOT) phx.gbl>... MSI packages use special characters to indicate DWORD or binary values. In you Launch Condition, set MSMQEXISTS equal to #1 rather than 1 and it should work just fine. For more information about registry searches, check out: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/r eglocator_table.asp The bottom of the page shows how to search for values of differing data types. -- This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm Note: For the benefit of the community-at-large, all responses to this message are best directed to the newsgroup/thread from which they originated. -------------------- From: andy.johnstone (AT) refinery (DOT) com (Andy) Newsgroups: microsoft.public.vsnet.general Subject: Launch conditions and registry search woes Date: 22 Jul 2003 11:05:31 -0700 Hi all, I'm having a problem getting a launch condition based on a registry search working. I'm trying to see if MSMQ is installed, and if its not, abort the installation. The registery search is setup as follows: (Name) MSMQ Property MSMQEXISTS RegKey Software\Microsoft\MSMQ\Setup\msmq_Core Root vsdrrHKLM Value (left blank) Launch condition set as: (Name) MSMessageQueue Condition MSMQEXISTS=1 Message [MSMQEXISTS] my error message I've tried different Values for the Registery search, as well as changing the condition for the LC, but nothing seems to work (except setting Condition to 1=1). What am I doing wrong? Thanks Andy |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |