Hi,
The error is number 2723. It says:

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>

Do I have to put it before InstallInitialize.
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> 


Thanks a lot,
Ansuya



Bob Arnson-6 wrote:
> 
> Ansuya Negi wrote:
>> I try to read Check.ini file, which lies in Windows directory, and need
>> to
>> check the value of KeyVersion, i.e., "Test". I try to write custom action
>> for this, but it is giving error. 
>>   
> 
> What error?
> 
> -- 
> 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#a12130874
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