Rob M. posted on this *yesterday*
http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg42532.htm
l & there have been dozens of threads on this subject on this list over
the years as well as numerous blog posts.

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: sagar shinde [mailto:sagar.i...@gmail.com] 
Sent: 25 November 2010 12:57
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Run as Administrator

Can you elaborate your idea pleas because i not so experienced at this
wixinstaller i just started using it 1 month bac so am new at all these
things

Thank you

On Thu, Nov 25, 2010 at 6:07 PM, Pally Sandher
<pally.sand...@iesve.com>wrote:

> sigh............self reg.
>
> Also
>
> sigh............chaining MSI's (and still using a bootstrapper to 
> elevate!).
>
> 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: sagar shinde [mailto:sagar.i...@gmail.com]
> Sent: 25 November 2010 12:15
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Run as Administrator
>
> thanks for relay
>
> <InstallExecuteSequence>
> <Custom Action="RegAdx1" After="InstallFinalize">NOT
Installed</Custom>
>        <Custom Action="RegAdx2" After="RegisterAdx1">NOT 
> Installed</Custom>
>        <Custom Action="RegAdx3" After="RegisterAdx2">NOT 
> Installed</Custom> <\InstallExecuteSequence>
>
> ----------------------------------------------------------------------
> --
> ----------------------------------------------------------------------
> -- ---------------------------------------------fragment
>  <CustomAction Id="RegAdx1" Directory="LOCATION"
> ExeCommand='regsvr32.exe /s "ms6.dll"' Return="check"/>  <CustomAction

> Id="RegAdx2" Directory="LOCATION" ExeCommand='regsvr32.exe /s
"ubx.dll"'
> Return="check"/>
>  <CustomAction Id="RegAdx3" Directory="LOCATION"
> ExeCommand='regsvr32.exe /s "xml.dll"' Return="check"/>
>
> ----------------------------------------------------------------------
> --
> ----------------------------------------------------------------------
> -- ------------------------------------------------Errors
> MSI (s) (04:3C) [17:12:25:666]: Note: 1: 1722 2: RegisterAdx5 3:
> C:\Program Files\Software\Bac\ 4: regsvr32.exe /s "Ux.dll"
> MSI (s) (04:3C) [17:12:25:667]: Note: 1: 2205 2:  3: Error MSI (s)
> (04:3C) [17:12:25:667]: Note: 1: 2228 2:  3: Error 4: SELECT `Message`

> FROM `Error` WHERE `Error` = 1722 Error 1722. There is a problem with 
> this Windows Installer package. A program run as part of the setup did

> not finish as expected. Contact your support personnel or package 
> vendor.  Action RegisterAdx5, location:
> C:\Program Files\Software\Bac\, command: regsvr32.exe /s "Ux.dll"
> MSI (s) (04:3C) [17:14:30:556]: Note: 1: 2205 2:  3: Error MSI (s)
> (04:3C) [17:14:30:556]: Note: 1: 2228 2:  3: Error 4: SELECT `Message`

> FROM `Error` WHERE `Error` = 1709 MSI (s) (04:3C) [17:14:30:557]:
> Product: Bac -- Error 1722. There is a problem with this Windows 
> Installer package. A program run as part of the setup did not finish 
> as expected. Contact your support personnel or package vendor.  Action

> RegisterAdx5, location: C:\Program Files\Software\Bac\,
> command: regsvr32.exe /s "Ux.dll"
>
>
>
> On Thu, Nov 25, 2010 at 5:27 PM, Tobias S <tobias.s1...@gmail.com>
> wrote:
>
> > @Pally:
> > Yes you're right. For us we often use the InstallUI sequence for 
> > installing "chained" packages (also MSI) and therefore elevating 
> > before the InstallExecuteSequence wouldn't be enough.
> >
> > @sagar:
> > Where exactly are you calling the CA ?
> >
> >
> > 2010/11/25 sagar shinde <sagar.i...@gmail.com>:
> > > I tried this InstallScope="perMachine"
> > > it work but then the problem occurs when custom action tries to 
> > > execute
> > and
> > > cause failure of installer
> > > and it also fails when user is admin group member
> > >
> > > Is there any way to do this
> > >
> > > Thanks, in advance
> > >
> > > On Thu, Nov 25, 2010 at 4:03 PM, Pally Sandher 
> > ><pally.sand...@iesve.com
> > >wrote:
> > >
> > >> 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
> > >>
> > >
> > --------------------------------------------------------------------
> > --
> > --------
> > > 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
>
>
>
>
> ----------------------------------------------------------------------
> -------- 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