I'am using WixUI_Mondo set, wix 3.6, Windows XP SP3,. On the SetupDlg I want to have two buttons: ClientButton,ServerButton. They will initiate installing two different configurations with muttually exclusive features. Here is mya code:
<Feature Id="Feature1" Title='..' Level="1" AllowAdvertise="no" Description='..'> <Condition Level='1'>OLDARPFOUND</Condition></Feature> <Feature Id="Feature2" Title='..' Level="3" AllowAdvertise="no" Description='..'> <Feature Id="Feature3" Title='..' Level="5" AllowAdvertise="no" Description='..'> <Feature Id="Feature4" Title='..' Level="10" AllowAdvertise="no" Description='..'> <Control Id="ClientButton" Type="PushButton" X="40" Y="65" Width="80" Height="17" ToolTip="!(loc.SetupTypeDlgTypicalButtonTooltip)" Default="yes" Text="!(loc.SetupTypeDlgTypicalButton)"> <Publish Property="WixUI_InstallMode" Value="InstallClient">1</Publish> <Publish Event="SetInstallLevel" Value="3">1</Publish> <Publish Property="SomeProperty" Value="[SomeValue]">1</Publish> </Control> <Control Id="ServerButton" Type="PushButton" X="40" Y="120" Width="80" Height="17" ToolTip="!(loc.SetupTypeDlgServerButtonTooltip)" Text="!(loc.SetupTypeDlgServerButton)"> <Publish Property="WixUI_InstallMode" Value="InstallServer">1</Publish> <Publish Property="SERVICE" Value="[SERVSTR]">1</Publish> <Publish Property="ADDLOCAL" Value="Feature3,Feature4">1</Publish> </Control> But when I push the ServerButton the installer is setting InstallLevel to 1 (exactly it is using the default value). Here is log: (UNKNOWN) Action 15:12:58: SetupTypeDlg. Dialog created (CLIENT) MSI (c) (8C:20) [15:12:59:440]: PROPERTY CHANGE: Adding WixUI_InstallMode property. Its value is 'InstallServer'. (CLIENT) MSI (c) (8C:20) [15:12:59:440]: PROPERTY CHANGE: Adding SERVICE property. Its value is '.\some'. *(CLIENT) MSI (c) (8C:20) [15:12:59:440]: PROPERTY CHANGE: Adding ADDLOCAL property. Its value is 'Feature3,Feature4'. * (UNKNOWN) Action 15:12:59: ServStringDlg. Dialog created (UNKNOWN) Action 15:13:03: ShortsDlg. Dialog created (UNKNOWN) Action 15:13:04: MyVerifyReadyDlg. Dialog created (CLIENT) MSI (c) (8C:20) [15:13:05:097]: Note: 1: 2727 2: (UNKNOWN) Action ended 15:13:05: MyWelcomeDlg. Return value 1. (CLIENT) MSI (c) (8C:9C) [15:13:05:238]: Doing action: MyProgressDlg (UNKNOWN) Action 15:13:05: MyProgressDlg. (UNKNOWN) Action start 15:13:05: MyProgressDlg. (UNKNOWN) Action 15:13:05: MyProgressDlg. Dialog created (UNKNOWN) Action ended 15:13:05: MyProgressDlg. Return value 1. (CLIENT) MSI (c) (8C:9C) [15:13:05:253]: Doing action: ExecuteAction (UNKNOWN) Action 15:13:05: ExecuteAction. (UNKNOWN) Action start 15:13:05: ExecuteAction. (CLIENT) MSI (c) (8C:9C) [15:13:05:316]: PROPERTY CHANGE: Adding SECONDSEQUENCE property. Its value is '1'. (CLIENT) MSI (c) (8C:9C) [15:13:05:316]: Grabbed execution mutex. (CLIENT) MSI (c) (8C:9C) [15:13:05:316]: Incrementing counter to disable shutdown. Counter after increment: 0 (CLIENT) MSI (c) (8C:9C) [15:13:05:331]: Switching to server: NETFRAMEWORK40CLIENT="#1" INSTALLLOCATION=".." SERVICE=".\some" TARGETDIR="C:\" MANUFACTURERDIR=".." CURRENTDIRECTORY=".." CLIENTUILEVEL="0" CLIENTPROCESSID="7820" USERNAME="User" COMPANYNAME=".." SOURCEDIR=".." ACTION="INSTALL" EXECUTEACTION="INSTALL" SECONDSEQUENCE="1" ROOTDRIVE="C:\" *ADDLOCAL='Feature1' * Why the installer don't use the new value of Addlocal property..Please any help. * * ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users