The other option would be to have the application invoke an out of process COM server which runs with elevated privileges. This would allow the installer to not care, and for the application to run as least privileges and only escalate as needed.
-----Original Message----- From: Christopher Painter [mailto:chr...@iswix.com] Sent: Tuesday, September 25, 2012 6:26 PM To: General discussion for Windows Installer XML toolset.; General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Shortcut Element & Run as administrator It's not only preferred, it's the only way. An application is either logo compliant or it is not. It's not the job of the installer to mitigate it. ---------------------------------------- From: "Andy Clugston" <clug...@gmail.com> Sent: Tuesday, September 25, 2012 12:49 PM To: "General discussion for Windows Installer XML toolset." <wix-users@lists.sourceforge.net> Subject: Re: [WiX-users] Shortcut Element & Run as administrator For this application, no I cannot. I know that is preferred (by me too) but some of the necessary use cases for this application kills that approach. On Tue, Sep 25, 2012 at 1:35 PM, Peter Shirtcliffe <pshirtcli...@sdl.com>wrote: > Could you include a manifest with the application to require elevation/run > as > admin privileges ? > > -----Original Message----- > From: Andy Clugston [mailto:clug...@gmail.com] > Sent: 25 September 2012 18:23 > To: General discussion for Windows Installer XML toolset. > Subject: [WiX-users] Shortcut Element & Run as administrator > > I want to create a shortcut to point to my executable. The shortcut > will be > used in cases where the .exe needs to run with elevate privileges. I don't > see any attribute(s) in the schema that can allow me to create the shortcut > with this flag. > > So, is it up to me to deliver the .LNK file myself? Need to take care > of delivering the appropriate shortcut depending on OS architecture (i.e. > Program Files versus Program Files (x86)) since my product is WOW64. > > Thanks. > > ---------------------------------------------------------------------------- - > - > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. > Discussions will include endpoint security, mobile security and the > latest in malware threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > SDL PLC confidential, all rights reserved. > If you are not the intended recipient of this mail SDL requests and > requires that you delete it without acting upon or copying any of its > contents, and we further request that you advise us. > SDL PLC is a public limited company registered in England and Wales. > Registered number: 02675207. > Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 > 7DY, UK. > > > > ---------------------------------------------------------------------------- -- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ---------------------------------------------------------------------------- -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ How fast is your code? 3 out of 4 devs don\\\'t know how their code performs in production. Find out how slow your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219672;13503038;z? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users