Essentially you could do it within the same MSI without using a
bootstrapper.
Make duplicate components for anything which needs to be per-machine &
condition the per-user ones with "NOT Privileged" while the normal ones
are conditioned with "Privileged".
Then add them all to your Feature tree at the appropriate places.

But as stated before if you wish to target pre-Windows Vista users you
are *very* limited with what you can do with regards to the per-user
install. See 2 links on my below e-mail for more information.

It all boils down to what you need to do for your application to be
installed correctly (unless you're writing your setup before you've
begun your application which will please Rob to the nth degree I
imagine). Without knowing that no one can properly advise you.


Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer


-----Original Message-----
From: Tobi Ha [mailto:tob...@gmx.net] 
Sent: 21 October 2009 16:09
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] (no subject)

So, then as I can not focus only on Windows 7, the bootstrapper would be
another way. What the bootstrapper should do at this side? As first I
would say it can check on Admin Rights to decide what installation can
be done, but is there anything else? 
Will Burn Support this?


Cheers,
Tobias

Message: 4
Date: Wed, 21 Oct 2009 07:36:03 -0700
From: Rob Mensching <r...@robmensching.com>
Subject: Re: [WiX-users] Installing a Program for "All users" without
To: "General discussion for Windows Installer XML toolset."
                 <wix-users@lists.sourceforge.net>
Message-ID:
        
<6bb2d62c0910210736l2abd3d54nf9b921e969c0e...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

I'd shorten Pally's answer to "Not without a bootstrapper or MSI 5.0".
<smile/>
virtually, Rob Mensching - RobMensching.com LLC
<http://robmensching.com>

On Wed, Oct 21, 2009 at 3:28 AM, Pally Sandher
<pally.sand...@iesve.com>wrote:

> It is potentially possible to either allow the user to choose whether 
> to install per-user or per-machine by providing some method of setting

> the ALLUSERS property such as a couple of radio buttons and you could 
> take the choice away from them if they aren't running as Administrator

> by conditioning the choice using the Privileged property. However when

> running a per-user install you are limited to the things you can do. 
> As far as I'm aware you cannot write to HKLM & HKCR registry hives so 
> most registration operations are not possible. I'm not 100% sure but I

> don't think you can write to ProgramFilesFolder and other similar 
> places (all your file & folder changes need to be in per-User 
> locations all of which are under the users profile directory).
>
> Unless you're limiting your application/installer to *only* Windows 7 
> and/or Windows Installer 5.0 then the answer appears to be no. As 
> Windows XP SP3 only has Windows Installer 3.1 & Windows Vista SP2 only

> has Windows Installer 4.0 (by default, Windows Installer 4.5 has a 
> redist available for both but is not automatically pushed out by 
> Microsoft Update) I would personally not try to attempt this but I 
> suggest you make your own choice. Once Windows Installer 5.0 is made 
> available you could potentially bootstrap it before your MSI but that 
> would require administrator privileges to install making the whole 
> discussion moot unless Microsoft decide to push it out using Automatic

> Updates.
>
> The following links may give you more information:
>
> Installation Context ->
> http://msdn.microsoft.com/en-us/library/dd765197%28VS.85%29.aspx
> Windows Installer Team Blog on Authoring a single package for Per-User

> or Per-Machine Installation context in Windows 7 -> 
> http://blogs.msdn.com/windows_installer_team/archive/2009/09/02/author
> in 
> g-a-single-package-for-per-user-or-per-machine-installation-context-in
> -w
> indows-7.aspx
>
> Good Luck.
>
>
> Palbinder Sandher
> Software Deployment & IT Administrator
> T: +44 (0) 141 945 8500
> F: +44 (0) 141 945 8501
>
> http://www.iesve.com
> **Design, Simulate + Innovate with the <Virtual Environment>** 
> Integrated Environmental Solutions Limited. Registered in Scotland No.
> SC151456
> Registered Office - Helix Building, West Of Scotland Science Park, 
> Glasgow G20 0SP Email Disclaimer
>
>
> -----Original Message-----
> From: Tobi Ha [mailto:tob...@gmx.net]
> Sent: 21 October 2009 10:37
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] Installing a Program for "All users" without
>
> Thanks for the quick response, so this was my first guess either.
> So the other question is: is there a way to author a single 
> installation that can be isntalled in per user and all user context? 
> The MSI MSDN help states this is only possible for Windows 7 with MSI
5.0...
>
> cheers,
> Tobias
>
>
> Date: Wed, 21 Oct 2009 10:29:53 +0100
> From: "Pally Sandher" <pally.sand...@iesve.com>
> Subject: Re: [WiX-users] Installing a Program for "All users" without
>                 adminrights
> To: "General discussion for Windows Installer XML toolset."
>                 <wix-users@lists.sourceforge.net>
> Message-ID: <7e4ef7766063ec4091542b5b3e671ec40226f...@mail.iesve.com>
> Content-Type: text/plain;                charset="us-ascii"
>
> Simple Answer: No.
>
> Complex Answer: It depends on exactly what your installer does but the

> things you can do are so limited they may as well not be possible 
> either. Hence the simple answer.
>
> Palbinder Sandher
> Software Deployment & IT Administrator
> T: +44 (0) 141 945 8500
> F: +44 (0) 141 945 8501
>
> http://www.iesve.com
> **Design, Simulate + Innovate with the <Virtual Environment>** 
> Integrated Environmental Solutions Limited. Registered in Scotland No.
> SC151456
> Registered Office - Helix Building, West Of Scotland Science Park, 
> Glasgow G20 0SP Email Disclaimer
>
>
> -----Original Message-----
> From: Tobi Ha [mailto:tob...@gmx.net]
> Sent: 21 October 2009 09:54
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Installing a Program for "All users" without 
> adminrights
>
> I ahve a question regarding Installation Privileges and the setting of

> the ALLUSERS property:
>
> Is it possible to install an MSI in the "allusers context" without 
> having admin or any special rights (so be a normal user)?
>
> cheers,
> Tobias

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to