@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