In my Bundle application I have defined a variable to define the installation folder, I want to initialize this variable to a builtin variable likeProgramFilesFolder or DesktopFolder, but this doesn't work. I have used in my Bundle <Variable Name="InstallFolderVariable" Type="string" Value="[DesktopFolder]" /> In the log of the Burn installation there is the variable associated to [DesktopFolder] and the path is not resolved,is there a different syntax to refer to a built in variable in Burn Bundle different from package msi? Or it's a bug? [05C8:130C][2013-04-07T13:34:17]i000: Initializing string variable 'InstallFolderVariable' to value '[DesktopFolder]'
> From: mark...@live.it > To: wix-users@lists.sourceforge.net > Date: Sun, 7 Apr 2013 13:41:34 +0200 > Subject: [WiX-users] Burn 3.7.1224.0 Builtin Variable not working > > In my Bundle application I have defined a variable to define the installation > folder, I want to initialize this variable to a builtin variable > likeProgramFilesFolder or DesktopFolder, but this doesn't work. > <Bundle Name="My Test Application" Version="1.0.0.0" Manufacturer="Bryan" > UpgradeCode="C82A383C-751A-43B8-90BF-A250F7BC2863"> > <BootstrapperApplicationRef Id="ManagedBootstrapperApplicationHost"> > <Payload SourceFile="..\TestBA\BootstrapperCore.config"/> <Payload > SourceFile="..\TestBA\bin\Release\TestBA.dll"/> <Payload > SourceFile="..\TestBA\bin\Release\GalaSoft.MvvmLight.WPF4.dll"/> > <Payload SourceFile="C:\Program Files (x86)\WiX Toolset > v3.7\SDK\Microsoft.Deployment.WindowsInstaller.dll"/> > </BootstrapperApplicationRef> > <Variable Name="InstallFolderVariable" Type="string" > Value="[DesktopFolder]" /> <Chain> <PackageGroupRef > Id='Netfx4Full' /> <MsiPackage > SourceFile="..\DummyInstaller\bin\Release\DummyInstaller.msi" > Id="DummyInstallationPackageId" Cache="yes" Visible="no" > DisplayInternalUI="no"> <MsiProperty Name="INSTALLFOLDER" > Value="[InstallFolderVariable]"/> </MsiPackage> </Chain> </Bundle> > and this is the Burn Log file where the variable InstallFolderVariable is > defined as [DesktopFolder], is there a different syntax to refer to a built > in variable in Burn Bundle different from package msi? Or it's a bug? > [05C8:130C][2013-04-07T13:34:17]i001: Burn v3.7.1224.0, Windows v6.2 (Build > 9200: Service Pack 0), path: F:\Programming\WiX\Samples\_xxxxx Sample > xxxxx\TestBA\BootstrapperSetup\bin\Release\BootstrapperSetup.exe, cmdline: > ''[05C8:130C][2013-04-07T13:34:17]i000: Initializing string variable > 'InstallFolderVariable' to value > '[DesktopFolder]'[05C8:130C][2013-04-07T13:34:17]i000: Setting string > variable 'WixBundleLog' to value > 'C:\Users\User\AppData\Local\Temp\My_Test_Application_20130407133417.log'[05C8:130C][2013-04-07T13:34:17]i000: > Setting string variable 'WixBundleOriginalSource' to value > 'F:\Programming\WiX\Samples\_xxxxx Sample > xxxxx\TestBA\BootstrapperSetup\bin\Release\BootstrapperSetup.exe'[05C8:130C][2013-04-07T13:34:17]i000: > Setting string variable 'WixBundleName' to value 'My Test > Application'[05C8:130C][2013-04-07T13:34:17]i000: Loading managed > bootstrapper application. > ------------------------------------------------------------------------------ > Minimize network downtime and maximize team effectiveness. > Reduce network management and security costs.Learn how to hire > the most talented Cisco Certified professionals. Visit the > Employer Resources Portal > http://www.cisco.com/web/learning/employer_resources/index.html > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users