Just a sanity check.  In your last message you said you were setting a UI_RAN 
property, but in your 
examples you're checking against a GUI property.  You are setting and using the 
same property, right?

Rob

Mailinglist wrote:
> Hi Rob,
> 
>> You've set suppress="yes", which means the event doesn't occur.
> 
> Last compile I tried the following:
> 
> <InstallExecuteSequence>
>         <LaunchConditions Suppress='no'>NOT (GUI="1")</LaunchConditions>
> </InstallExecuteSequence>
> 
> And it did not work either, it fails with the specified message of the 
> condition. Maybe it is a bug?
> 
> Oliver Friedrich
> Consultant - Software Solutions
> 
> 
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Hamflett
> Sent: Mittwoch, 27. Juni 2007 12:59
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] Conditions for setup in GUI and without GUI?
> 
> You've set suppress="yes", which means the event doesn't occur.
> 
> Rob
> 
> Mailinglist wrote:
>> Hi,
>>
>>
>>
>> Thank you for your hints, but this just doesn't work correctly.
>>
>>
>>
>> I do not need to create custom errors, if <Condition> statements do the
>> same. So the helpful thoughts are in the lower part of your mail.
>>
>> That however does not work. If I set the UI_RAN property, the condition
>> only fails if the NOT_WANTED_CONDITION fails. If the UI_RAN property is
>> not set, it will fail anyhow, regardless of the NOT_WANTED_CONDITION.
>>
>>
>>
>> I tried the following:
>>
>>
>>
>>       <InstallExecuteSequence>
>>
>>             <LaunchConditions Suppress='yes'>NOT GUI</LaunchConditions>
>>
>>       </InstallExecuteSequence>
>>
>>
>>
>> But that did'nt work either, since the condition "NOT GUI" seems to be
>> simply ignored.
>>
>>
>>
>> Oliver Friedrich
>>
>>
>>
>>
>>
>> -----Original Message-----
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf Of Rob Hamflett
>> Sent: Dienstag, 26. Juni 2007 17:17
>> To: wix-users@lists.sourceforge.net
>> Subject: Re: [WiX-users] [wix-users] Conditions for setup in GUI and
>> without GUI?
>>
>>
>>
>> Yuo could create custom errors like this:
>>
>> <Error Id="2000">This is my error message</Error>
>>
>> and create a custom action to trigger it like this:
>>
>> <CustomAction Id="MyError" Error="2000" />
>>
>>
>>
>> You can call this in the InstallExecuteSequence like this:
>>
>> <Custom Action="MyError">NOT WANTED_CONDITION </Custom>
>>
>>
>>
>> The additional problem is how do you stop them triggering if the UI ran?
>>
>> You can create another CA like this:
>>
>> <CustomAction Id="setUI_RAN" Property="UI_RAN" Value="1" />
>>
>> and schedule it at some point in the InstallUISequence (as long as it's
>> before ExecuteAction).
>>
>> There's no need to declare the UI_RAN property; it will be created when
>> the CA is run.  The
>>
>> condition on your CA would then be something like:
>>
>> <Custom Action="MyError">NOT WANTED_CONDITION AND NOT UI_RAN</Custom>
>>
>>
>>
>> Rob
>>
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to