Hi Nir, Thank you for your answer! I appreciate it!
I'm testin and there is something that I'm not sure that I'm doing correctly. I'm testing it on Windows 7, I have ALLUSERS=2, not setting MSIINSTALLPERUSER. I'm using WixUI_Advanced, when I press "Advanced" I have the "Install just for you" option always selected even if I'm using the account with the administrator account (privileged account). My wish is that WiX would show the UAC dialog and if the user gets elevated privileges it would default to "Install for all users of this machine" and if the user doesn't enter the password then would default to "Install just for you". Do you think that this is possible? Another option and I think that this is what I'll do: default per-user, if the user changes it will bring the UAC dialog. Thank you! PS: and I have an extra problem because how cpack generates files.wxs but this is under control :-) or at least I'm more familiar with cmake/cpack to work around it. On Jun/05/2015, Nir Bar wrote: > This article should give you what you need > https://msdn.microsoft.com/en-us/library/aa367559%28v=vs.85%29.aspx > <https://msdn.microsoft.com/en-us/library/aa367559%28v=vs.85%29.aspx> > > > > > ----- > Nir Bar > Freelance Developer > Mail: nir....@panel-sw.com > Web: www.panel-sw.com > - C++ On Windows, Linux and Embedded Platforms > - WiX & InstallShield > -- > View this message in context: > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/automatic-selection-perUser-perMachine-installation-tp7600534p7600545.html > Sent from the wix-users mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users -- Carles Pina i Estany Web: http://pinux.info || Blog: http://pintant.cat GPG Key 0x8CD5C157 ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users