I think I found the issue. In bundle msipackage definition I need to define the following. Property to make it work
<msiproperty name="ADDLOCAL" value="[ADDLOCAL]"/> Sent from my Windows Phone ________________________________ From: Nan Zang<mailto:naz...@microsoft.com> Sent: 2/13/2013 7:15 PM To: General discussion for Windows Installer XML toolset. (wix-users@lists.sourceforge.net)<mailto:wix-users@lists.sourceforge.net> Subject: [WiX-users] problem on setting passing selected feature from burn to msi My MSI has two dummy feature as listed below. <Feature Id="FULLPRODUCTION" Title="RMSSetupInstaller" > <ComponentGroupRef Id="ProductComponents" /> </Feature> <Feature Id="ADMINCONFIGURATIONTOOL" Title="RMSAdminInstaller"> <ComponentGroupRef Id="AdminComponents" /> </Feature> And I am using customize UI to collect user feature selection, then pass it into through Engine by using following code this.Bootstrapper.Engine.StringVariables["ADDLOCAL"] = featureList; this.Bootstrapper.Engine.Plan(LaunchAction.Install); This is my log, the "addlocal" variable doesn't seem work. Anything I am missing here? Thank you for help. [3B40:1788][2013-02-13T19:02:26]: Detected package: NetFX40, state: Present, cached: None [3B40:1788][2013-02-13T19:02:26]: Detected package: RMSSetupInstallationPackageId, state: Absent, cached: None [3B40:1788][2013-02-13T19:02:26]: Detected package: RMSSetupInstallationPackageId, feature: FULLPRODUCTION, state: Absent [3B40:1788][2013-02-13T19:02:26]: Detected package: RMSSetupInstallationPackageId, feature: ADMINCONFIGURATIONTOOL, state: Absent [3B40:1788][2013-02-13T19:02:26]: Detect complete, result: 0x0 [3B40:25E8][2013-02-13T19:02:38]: Add property name ADDLOCAL with valueADMINCONFIGURATIONTOOL [3B40:25E8][2013-02-13T19:02:38]: Setting string variable 'ADDLOCAL' to value 'ADMINCONFIGURATIONTOOL' [3B40:1788][2013-02-13T19:02:38]: Plan 2 packages, action: Install [3B40:1788][2013-02-13T19:02:38]: Skipping dependency registration on package with no dependency providers: NetFX40 [3B40:1788][2013-02-13T19:02:38]: Plan 2 msi features for package: RMSSetupInstallationPackageId [3B40:1788][2013-02-13T19:02:38]: Planned feature: FULLPRODUCTION, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None [3B40:1788][2013-02-13T19:02:38]: Planned feature: ADMINCONFIGURATIONTOOL, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None [3B40:1788][2013-02-13T19:02:38]: Setting string variable 'WixBundleRollbackLog_RMSSetupInstallationPackageId' to value 'e:\wix\Dev\wix37\setup_0_RMSSetupInstallationPackageId_rollback.log' [3B40:1788][2013-02-13T19:02:38]: Setting string variable 'WixBundleLog_RMSSetupInstallationPackageId' to value 'e:\wix\Dev\wix37\setup_0_RMSSetupInstallationPackageId.log' [3B40:1788][2013-02-13T19:02:38]: Planned package: NetFX40, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: None [3B40:1788][2013-02-13T19:02:38]: Planned package: RMSSetupInstallationPackageId, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: Yes, dependency: Register [3B40:1788][2013-02-13T19:02:38]: Planned related bundle: {4d72440b-3501-4b0c-9ee3-2fae6b7e4716}, type: Upgrade, default requested: None, ba requested: None, execute: None, rollback: None, dependency: None [3B40:1788][2013-02-13T19:02:38]: Planned related bundle: {63379848-f823-4d73-9364-83bebc1528b2}, type: Upgrade, default requested: None, ba requested: None, execute: None, rollback: None, dependency: None [3B40:1788][2013-02-13T19:02:38]: Planned related bundle: {886235b4-2f08-4c05-916f-d75266a07525}, type: Upgrade, default requested: None, ba requested: None, execute: None, rollback: None, dependency: None [3B40:1788][2013-02-13T19:02:38]: Planned related bundle: {f08b430f-3d9c-4d8e-a160-708f9be5827e}, type: Upgrade, default requested: None, ba requested: None, execute: None, rollback: None, dependency: None [3B40:1788][2013-02-13T19:02:38]: Plan complete, result: 0x0 [3B40:1788][2013-02-13T19:02:38]: Apply begin [3554:1888][2013-02-13T19:02:38]: Creating a system restore point. [3554:1888][2013-02-13T19:02:38]: System restore disabled, system restore point not created. [3554:1888][2013-02-13T19:02:38]: Caching bundle from: 'C:\Users\nazang\AppData\Local\Temp\{34d831eb-4e21-4fed-9502-58ee48298d6f}\.be\BootstrapperSetup.exe' to: 'C:\ProgramData\Package Cache\{34d831eb-4e21-4fed-9502-58ee48298d6f}\BootstrapperSetup.exe' [3554:1888][2013-02-13T19:02:38]: Registering bundle dependency provider: {34d831eb-4e21-4fed-9502-58ee48298d6f}, version: 1.0.0.0 [3554:21F0][2013-02-13T19:02:38]: Verified acquired payload: RMSSetupInstallationPackageId at path: C:\ProgramData\Package Cache\.unverified\RMSSetupInstallationPackageId, moving to: C:\ProgramData\Package Cache\{5DE269D0-9B2D-4AAE-A330-56410E9AFA11}v1.0.0.0\RMSSetupInstaller.msi. [3554:21F0][2013-02-13T19:02:38]: Verified acquired payload: cab889C4727BDD85A0DB399FF3308DF872E at path: C:\ProgramData\Package Cache\.unverified\cab889C4727BDD85A0DB399FF3308DF872E, moving to: C:\ProgramData\Package Cache\{5DE269D0-9B2D-4AAE-A330-56410E9AFA11}v1.0.0.0\cab1.cab. [3554:1888][2013-02-13T19:02:39]: Applying execute package: RMSSetupInstallationPackageId, action: Install, path: C:\ProgramData\Package Cache\{5DE269D0-9B2D-4AAE-A330-56410E9AFA11}v1.0.0.0\RMSSetupInstaller.msi, arguments: ' MSIFASTINSTALL="7"' [3554:1888][2013-02-13T19:02:39]: Registering package dependency provider: {5DE269D0-9B2D-4AAE-A330-56410E9AFA11}, version: 1.0.0.0, package: RMSSetupInstallationPackageId [3B40:1788][2013-02-13T19:02:39]: Applied execute package: RMSSetupInstallationPackageId, result: 0x0, restart: None [3554:1888][2013-02-13T19:02:39]: Registering dependency: {34d831eb-4e21-4fed-9502-58ee48298d6f} on package provider: {5DE269D0-9B2D-4AAE-A330-56410E9AFA11}, package: RMSSetupInstallationPackageId [3554:1888][2013-02-13T19:02:39]: Removing cached package: RMSSetupInstallationPackageId, from path: C:\ProgramData\Package Cache\{5DE269D0-9B2D-4AAE-A330-56410E9AFA11}v1.0.0.0\ [3B40:1788][2013-02-13T19:02:39]: Apply complete, result: 0x0, restart: None, ba requested restart: No ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users