Yes.  Sorry I read this as you were trying to get a burn bundle to morph 
between per-user and per-machine.

It should be possible, but UAC brings in interesting challenges. A user could 
be an admin, but not ran elevated.  I'd start by looking at 
https://msdn.microsoft.com/en-us/library/aa370852(v=vs.85).aspx and see if you 
can schedule an action to set the default option in the UI, but the issue is 
typically the UI sequence is ran un-elevated.

-----Original Message-----
From: Carles Pina i Estany [mailto:car...@pina.cat] 
Sent: Thursday, June 04, 2015 10:15 AM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] automatic selection perUser/perMachine installation


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

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to