[wix-users] advice please... [P]
Joel Budreau
joel.budreau at gmail.com
Wed Nov 4 15:42:15 PST 2015
SERVERLESSINSTALL is a run-time property. These <?if?> statements are evaluated at build time. Since both prove to be false, wix falls back to the default EULA shipped with wix.
> On Nov 4, 2015, at 3:27 PM, Steven Ogilvie <Steven.Ogilvie at titus.com> wrote:
>
> Classification: Public
> Why can't I do something simple like this:
>
> <?if SERVERLESSINSTALL = 1 ?>
> <WixVariable Overridable="yes" Id="WixUILicenseRtf" Value="$(var.resourcePath)\TS_AC_EULA_Text.rtf" />
> <?endif ?>
> <?if SERVERLESSINSTALL = 0 ?>
> <WixVariable Overridable="yes" Id="WixUILicenseRtf" Value="$(var.resourcePath)\TS_EULA_Text.rtf" />
> <?endif ?>
>
> Running this ignores my setting WixUILicenseRtf and uses the default license that comes with Wix :(
>
> Steve
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Steven Ogilvie
> Sent: November-04-15 5:37 PM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>; sogilvie at msn.com
> Subject: Re: [wix-users] advice please...
>
> Joel,
>
> Great idea, I didn't even think of that :)
>
> Thanks,
>
> Steve
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Joel Budreau
> Sent: November-04-15 5:29 PM
> To: sogilvie at msn.com
> Cc: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Subject: Re: [wix-users] advice please...
>
> You could just create two LicenseAgreement Dialogs (one for each EULA) and display the correct one based on an MSI property.
>
>> On Nov 4, 2015, at 1:57 PM, Steve Ogilvie <sogilvie at msn.com> wrote:
>>
>> Hi folks,
>> I have 1 MSI that can be two "different" products.
>> I have a bunch of MSI properties that I call in the Bundle that determine what type of install to run.
>> I would like to be able to use "tell" the MSI which EULA to use. I have tried various methods without success...
>> So the installer could use 2 different EULA's depending if it is a "server" based or "serverless" based install.
>> Has anyone been able to do this? (use a different EULA via a property
>> etc.) Thanks,
>> Steve
>>
>> ____________________________________________________________________
>> WiX Toolset Users Mailing List provided by FireGiant
>> http://www.firegiant.com/
>
>
>
>
>
>
> This message has been marked as Public by Steven Ogilvie on November-04-15 6:27:43 PM.
>
> The above classification labels were added to the message by TITUS Message Classification.
> For more information visit www.titus.com.
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users
mailing list