Set InstallPrivileges="elevated" for your Package Element (may also want
to set InstallScope="perMachine") & use the "Privileged" property in a
LaunchCondition to ensure the user running it has Administrator
privileges.

It should then automatically request elevation when starting the
InstallExecuteSequence on UAC systems (shield icon should be shown on
the Install button on VerifyReadyDlg).

No bootstrapper necessary.


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: Tobias S [mailto:tobias.s1...@gmail.com] 
Sent: 25 November 2010 08:37
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Run as Administrator

Hi,

You need to create a exe bootstrapper and embed for this bootstrapper a
manifest which needs administrative privileges for this process.
Tools for such purpose are e.g. the upcoming burn which should handle it
(never tried it) or e.g. dotnetinstaller.

Windows Installer itself (afaik) doesn't offer such constructs to
elevate the installer.

Tobias



2010/11/25 sagar shinde <sagar.i...@gmail.com>:
> Hi,
>
> I got some problem with my installer which is created in wix.
>
> The installer works fine when user is administrator for that machine, 
> But fails when user is not administrator and it also fails if user is 
> under admin group.
>
> How can i handle this problem,please suggest any solution or any other

> way to do it.
>
> Thank you.
> ----------------------------------------------------------------------
> -------- Increase Visibility of Your 3D Game App & Earn a Chance To 
> Win $500!
> Tap into the largest installed PC base & get more eyes on your game by

> optimizing for Intel(R) Graphics Technology. Get started today with 
> the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for
grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>

------------------------------------------------------------------------
------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for
grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to