Re: [WiX-users] Set ADDLOCAL from UI

2012-08-01 Thread Nelya Iva
Thank's a lot! I already broke my mind and it was so easy!

2012/8/1 jhennessey 

> Don't try to set feature states by directly setting the ADDLOCAL property
> from the UI. Instead you should use the
>
> http://msdn.microsoft.com/en-us/library/windows/desktop/aa367537%28v=vs.85%29.aspx
> AddLocal  and
>
> http://msdn.microsoft.com/en-us/library/windows/desktop/aa371210%28v=vs.85%29.aspx
> Remove  events.
>
>
>
> --
> View this message in context:
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Set-ADDLOCAL-from-UI-tp7579666p7579671.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
> --
> 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
>
--
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


Re: [WiX-users] Set ADDLOCAL from UI

2012-08-01 Thread jhennessey
Don't try to set feature states by directly setting the ADDLOCAL property
from the UI. Instead you should use the 
http://msdn.microsoft.com/en-us/library/windows/desktop/aa367537%28v=vs.85%29.aspx
AddLocal  and 
http://msdn.microsoft.com/en-us/library/windows/desktop/aa371210%28v=vs.85%29.aspx
Remove  events. 



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Set-ADDLOCAL-from-UI-tp7579666p7579671.html
Sent from the wix-users mailing list archive at Nabble.com.

--
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


[WiX-users] Set ADDLOCAL from UI

2012-08-01 Thread Nelya Iva
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:


OLDARPFOUND








1
1
1



  1
  1
  1


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