You can use the MsiProperty element inside your MsiPackage element. The
standard BA supports checkboxes on the options page which you could use to
set this.

Neil


>What I'd like to do is simulate the MSI install screens with a custom BA,
>and
>have a check box to create desktop shortcuts on the UI.  Currently in my
>MSI
>package I create the desktop shortcut based on the checkbox variable from
>the MSI.
>
><Component Id="DesktopShortcut"
>                 Directory="DesktopFolder"
>                 Guid="{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxE822}" >
>        <Condition>CREATEDESKTOPSHORTCUT</Condition>
>        <CreateFolder/>
>        <RegistryKey Root="HKCU"
>                     Key="Software\company\product"
>                     Action="createAndRemoveOnUninstall">
>          <RegistryValue Name="DTSC"
>                         Value="1"
>                         Type="integer"
>                         KeyPath="yes"/>
>        </RegistryKey>
>        <Shortcut Id="DesktopShortcut"
>                  Name="product_name"
>                  Description="product description"
>                  WorkingDirectory="working dir"
>                  Target="path to exe"/>
>      </Component>
>
>Is there some way to pass a variable to the msi package element to create
>this component based on the checkbox value from BA?
>
>Thank you.
>
>
>
>--
>View this message in context:
>http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Is-it-possib
>le-to-pass-variables-to-the-msipackage-element-based-on-UI-from-custom-BA-
>tp7581962.html
>Sent from the wix-users mailing list archive at Nabble.com.
>
>--------------------------------------------------------------------------
>----
>Monitor your physical, virtual and cloud infrastructure from a single
>web console. Get in-depth insight into apps, servers, databases, vmware,
>SAP, cloud infrastructure, etc. Download 30-day Free Trial.
>Pricing starts from $795 for 25 servers or applications!
>http://p.sf.net/sfu/zoho_dev2dev_nov
>_______________________________________________
>WiX-users mailing list
>WiX-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to