Re: [WiX-users] Installation on Vista

2008-06-18 Thread Volker Enderlein
Hi Bob,

Thank your for pointing this out and helping me to clarify things.

Cheers Volker

Bob Arnson wrote:
 Volker Enderlein wrote:
 this way). The installer is started without elevation and defaults to an 
 per-user installation. Later the user/admin can change the preselection 
 in the GUI to an per-machine installation. And if he presses the install 
 button Vista UAC prompts for elevation.
 All I do is set the ALLUSERS Property for a per-user installation to 
 {} and for a per-machine installation to 1. When running without GUI 
 it defaults to 2.
   
 
 Vista always starts packages without elevation. Unless you use 
 Package/@InstallPrivileges=limited or Package/@InstallScope=perUser 
 MSI will prompt for elevation when the user clicks the final Install 
 button that kicks off the installation. That's regardless of the 
 ALLUSERS value.
 


-- 
Volker Enderlein
Tel: +49 (0)371 53119651   Institut für Mechatronik
Fax: +49 (0)371 53119699   Reichenhainer Strasse 88
email: [EMAIL PROTECTED]   D-09126 Chemnitz

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Installation on Vista

2008-06-12 Thread Volker Enderlein
Hi,

I want my wix based installer to run on windows 2000, XP, and Vista. It 
should offer a per-user and per-machine installation. Now I read in a 
previous task an answer from Bob Arnson that it's not possible under 
Windows Vista to request elevation at run time. But my first tests on a 
vista machine yield an opposite result (or at least I am interpreting it 
this way). The installer is started without elevation and defaults to an 
per-user installation. Later the user/admin can change the preselection 
in the GUI to an per-machine installation. And if he presses the install 
button Vista UAC prompts for elevation.
All I do is set the ALLUSERS Property for a per-user installation to 
{} and for a per-machine installation to 1. When running without GUI 
it defaults to 2.

Can someone provide me additional facts for this issue?

Thanks in advance, Cheers Volker

-- 
Volker Enderlein
Tel: +49 (0)371 53119651   Institut für Mechatronik
Fax: +49 (0)371 53119699   Reichenhainer Strasse 88
email: [EMAIL PROTECTED]   D-09126 Chemnitz

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Installation on Vista

2008-06-12 Thread Volker Enderlein
Ok, I just read further and it seems that the behaviour is related to 
the setting of the ALLUSERS property. I is explained in detail in

http://msdn.microsoft.com/en-us/library/aa371865(VS.85).aspx

Cheers Volker

Volker Enderlein wrote:
 Hi,
 
 I want my wix based installer to run on windows 2000, XP, and Vista. It 
 should offer a per-user and per-machine installation. Now I read in a 
 previous task an answer from Bob Arnson that it's not possible under 
 Windows Vista to request elevation at run time. But my first tests on a 
 vista machine yield an opposite result (or at least I am interpreting it 
 this way). The installer is started without elevation and defaults to an 
 per-user installation. Later the user/admin can change the preselection 
 in the GUI to an per-machine installation. And if he presses the install 
 button Vista UAC prompts for elevation.
 All I do is set the ALLUSERS Property for a per-user installation to 
 {} and for a per-machine installation to 1. When running without GUI 
 it defaults to 2.
 
 Can someone provide me additional facts for this issue?
 
 Thanks in advance, Cheers Volker
 


-- 
Volker Enderlein
Tel: +49 (0)371 53119651   Institut für Mechatronik
Fax: +49 (0)371 53119699   Reichenhainer Strasse 88
email: [EMAIL PROTECTED]   D-09126 Chemnitz

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Installation on Vista

2008-06-12 Thread Bob Arnson
Volker Enderlein wrote:
 this way). The installer is started without elevation and defaults to an 
 per-user installation. Later the user/admin can change the preselection 
 in the GUI to an per-machine installation. And if he presses the install 
 button Vista UAC prompts for elevation.
 All I do is set the ALLUSERS Property for a per-user installation to 
 {} and for a per-machine installation to 1. When running without GUI 
 it defaults to 2.
   

Vista always starts packages without elevation. Unless you use 
Package/@InstallPrivileges=limited or Package/@InstallScope=perUser 
MSI will prompt for elevation when the user clicks the final Install 
button that kicks off the installation. That's regardless of the 
ALLUSERS value.

-- 
sig://boB
http://joyofsetup.com/



-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Installation on Vista

2008-06-12 Thread Christopher Painter
You could havenbsp;bootstrapper that's manifested to require Administrator.


Christopher Painter, Author of Deployment Engineering Blog
Have a hot tip, know a secret or read a really good thread that deserves 
attention? E-Mail Me

--- On Thu, 6/12/08, Bob Arnson lt;[EMAIL PROTECTED]gt; wrote:

From: Bob Arnson lt;[EMAIL PROTECTED]gt;
Subject: Re: [WiX-users] Installation on Vista
To: General discussion for Windows Installer XML toolset. 
lt;wix-users@lists.sourceforge.netgt;
Date: Thursday, June 12, 2008, 10:17 AM

Volker Enderlein wrote:
gt; this way). The installer is started without elevation and defaults to an 
gt; per-user installation. Later the user/admin can change the preselection 
gt; in the GUI to an per-machine installation. And if he presses the install 
gt; button Vista UAC prompts for elevation.
gt; All I do is set the ALLUSERS Property for a per-user installation to 
gt; {} and for a per-machine installation to 1. When
running without GUI 
gt; it defaults to 2.
gt;   

Vista always starts packages without elevation. Unless you use 
Package/@InstallPrivileges=limited or
Package/@InstallScope=perUser 
MSI will prompt for elevation when the user clicks the final Install 
button that kicks off the installation. That's regardless of the 
ALLUSERS value.

-- 
sig://boB
http://joyofsetup.com/



-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


  
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Installation on Vista

2008-06-12 Thread Bob Arnson
Christopher Painter wrote:
 You could havenbsp;bootstrapper that's manifested to require Administrator.
   

Bootstrappers shouldn't be admin-manifested. They should be 
asInvoker-manifested and elevate when the user commits to the 
installation. Otherwise the user has no details about what will be 
installed before giving consent.

-- 
sig://boB
http://joyofsetup.com/


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users