No it is only for install time... In the MSI I create a registry entry based on 
the command line parameter CONFIGURATION=Something

But you didn't answer my question...

I see that burn is reading the command line parameter but I am not able to pass 
it to the MSI package as a Property... what am I doing wrong?
> I am doing MyBurnEXE.exe MYVAR=Something
>
> Then in the MSIPackage:
> <MsiPackage Id="MainInstall"
>                       DisplayName="$(var.ProductName)"
>                       SourceFile="$(var.OutDir)MyMSI.msi"
>                       Name="RedistTMC\MyMSI.msi"
>                       InstallCondition="some install condition"
>                       DisplayInternalUI="no"
>                       Visible="no"
>                       Cache="no"
>                       Compressed="no"
>                       Permanent="no"
>                       Vital="yes">
>             <MsiProperty Name="MYVAR" Value="[MYVAR]" />
>           </MsiPackage>

Thanks,

Steve

-----Original Message-----
From: Rob Mensching [mailto:r...@robmensching.com] 
Sent: April-16-13 11:19 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Burn command line parameters

Do you want the MYVAR Burn Variable to be saved after the initial install?
If so add Persist='yes' to the Variable definition of MYVAR. Otherwise, it will 
be reset every time the Bundle runs.


On Tue, Apr 16, 2013 at 8:03 AM, StevenOgilvie <sogil...@msn.com> wrote:

> I am trying the same thing and I don't understand your response :(
>
> I am doing MyBurnEXE.exe MYVAR=Something
>
> Then in the MSIPackage:
> <MsiPackage Id="MainInstall"
>                       DisplayName="$(var.ProductName)"
>                       SourceFile="$(var.OutDir)MyMSI.msi"
>                       Name="RedistTMC\MyMSI.msi"
>                       InstallCondition="some install condition"
>                       DisplayInternalUI="no"
>                       Visible="no"
>                       Cache="no"
>                       Compressed="no"
>                       Permanent="no"
>                       Vital="yes">
>             <MsiProperty Name="MYVAR" Value="[MYVAR]" />
>           </MsiPackage>
>
> In the burn/bootstrapper log file I see cmdline: 'MYVAR=Something blah 
> blah...'
> so I know it is being picked up,
>
> But later on in burn/bootstrapper log file I see the MSI being 
> launched and has arguments: ' MYVAR=""
>
> I even tried <MsiProperty Name="MYVAR" Value="MYVAR" /> but that 
> literally took the value as MYVAR :(
>
> What am I doing wrong?
>
> thanks,
>
> Steve
>
>
>
> --
> View this message in context:
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-com
> mand-line-parameters-tp7323306p7585201.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
> ----------------------------------------------------------------------
> -------- Precog is a next-generation analytics platform capable of 
> advanced analytics on semi-structured data. The platform includes APIs 
> for building apps and a phenomenal toolset for data science. 
> Developers can use our toolset for easy data analysis & visualization. 
> Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced analytics on 
semi-structured data. The platform includes APIs for building apps and a 
phenomenal toolset for data science. Developers can use our toolset for easy 
data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to