A dirty trick would be to have a simple AsAdmin.exe with a manifest that 
blindly executes the source app (same folder).

-----Original Message-----
From: Andy Clugston [mailto:clug...@gmail.com] 
Sent: Tuesday, September 25, 2012 12:46 PM
To: General discussion for Windows Installer XML toolset.
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

Reply via email to