Thanks for the reply.
I tried to use just the condition message and it did not work. It only
aborts installation if it can not find the ini file. This test was to check
inside the ini file and read its contents via IniFileSearch. Am I using
IniFileSearch correctly.
This custom action again gives this error message (2723) even when I do it
after InstallInitialize. The installation needs to be aborted if the value
does not match.
Ansuya




Bob Arnson-2 wrote:
> 
> Ansuya Negi wrote:
>> DEBUG: Error 2723:  Custom action CheckKey specifies unsupported type
>> The installer has encountered an unexpected error installing this
>> package.
>> This may indicate a problem with  this package. The error code is 2723.
>>
>> I have used,
>>  <CustomAction Id='CheckKey' Property='SEARCH_INI' Value="Test"
>> Return='ignore' />
>>  <InstallExecuteSequence>
>>      <Custom Action='CheckKey' After='InstallFinalize'>NOT
>> Installed</Custom>
>>   </InstallExecuteSequence>
>>   
> 
> That definition sets a property as the installation finishes -- is that 
> what you're trying to do?
> 
>> Do I have to put it before InstallInitialize.
>>   
> 
> It depends -- what are you trying to do?
> 
>> I have also another question. Can the same thing be achieved by (as the
>> value of SERACH_INI is "Test":
>>  <Condition Message="You must have Check.ini file. Installation will now
>> abort.">
>>      <![CDATA[SEARCH_INI <> "Test"]]>
>>  </Condition> 
>>   
> 
> Sounds like it -- have you tried it?
> 
> -- 
> sig://boB
> http://joyofsetup.com/
> 
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Condition-and-IniFileSearch-tf4251162.html#a12148268
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to