Re: [WiX-users] Condition and IniFileSearch

2007-08-15 Thread Bob Arnson
Ansuya Negi wrote: 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. I'm not clear what you're

Re: [WiX-users] Condition and IniFileSearch

2007-08-14 Thread Ansuya Negi
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

Re: [WiX-users] Condition and IniFileSearch

2007-08-14 Thread Brian Rogers
Hey Ansuya, I have not tried this out but am thinking this is what you are looking to do. property id=SEARCH_INI IniFileSearch id=MY_SEARCH_INI LongName=[MyDir]myfile.ini Section=MySection Key=MyKey Type=raw/ /property Make sure that you test the property value after it has been set by the

Re: [WiX-users] Condition and IniFileSearch

2007-08-13 Thread Ansuya Negi
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

Re: [WiX-users] Condition and IniFileSearch

2007-08-13 Thread Bob Arnson
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'

[WiX-users] Condition and IniFileSearch

2007-08-10 Thread Ansuya Negi
Hi, 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. The file is: [RegTest] Name=Check KeyVersion=Test In WiX, Property Id=SEARCH_INI IniFileSearch

Re: [WiX-users] Condition and IniFileSearch

2007-08-10 Thread Bob Arnson
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/