I'll try to use a condition with %Priviliged property to setup the installation type by default (I see it in the page 122 of the Wix 3.6 book)
Thanks for all your answers, it helps me to understand what's possible or not and if I missed something (I'm new in WiX) On Jun/04/2015, Carles Pina i Estany wrote: > > Is BA a Bootstrapper Application (a .exe) in this context? > > I wanted to avoid a Bootstrapper application and just deliver the > .msi, with the sensible defaults (perMachine if the user is an > administrator or perUser otherwise). > > On Jun/04/2015, Hoover, Jacob wrote: > > Fairly certain that WixStdBA doesn't support this today. As for if you > > could write a custom BA, and modify the plan to accomplish this, I'm not > > certain. > > > > -----Original Message----- > > From: Carles Pina i Estany [mailto:car...@pina.cat] > > Sent: Thursday, June 04, 2015 6:36 AM > > To: wix-users@lists.sourceforge.net > > Subject: [WiX-users] automatic selection perUser/perMachine installation > > > > > > Hi, > > > > I'm not sure if this is possible, I'd like something like: > > (I'm using WixUI_Advanced but I could change by something else if > > needed) > > > > If an Administrator installs the MSI: I'd like that gets installed, by > > default, perMachine (and the Administrator could change it). > > > > If a non-administrator installs the MSI: by default the perUser option > > should be selected: and the user could change it and the the UAC dialog > > will appear when needed. > > > > Is this possible at all? > > References to this are appreciated, indeed. > > > > Regards, > > > > -- > > 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 > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > 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 -- 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