I have added a manifest to the Project but it doesn't. The app I want to install in my customers computer is a WPF app. I use a custom action to set some data configuration issues in the config file and there is a VistaDB database that should be installed.
I have found that most of my customers hate computers so the installation should be clean and easy. I have solved the first part of my nightmares (I hope), I set InstallPrivileges="elevated" AdminImage="yes" in the Package and Execute="deferred" Impersonate="no" in my Custom Actions definition. Custom Actions Run as Administrator (They ask for permissions but work), thanks to Pally Sandher! The second part is to set the "Run as Administrator" bit to the myApp.exe after it is installed in the target machine. I have included a manifest with <requestedExecutionLevel level="requireAdministrator" uiAccess="false" /> But it doesn't work. I wonder if a custom action after the installation process could do it. Any Idea? -----Mensaje original----- De: David Watson [mailto:dwat...@sdl.com] Enviado el: viernes, 26 de noviembre de 2010 16:34 Para: wix-users@lists.sourceforge.net Asunto: [SPAM BAYESIAN] - Re: [WiX-users] Run as Administrator - Bayesian Filter detected spam This can be done in the applications manifest. Set the requireAdministrator execution level. http://msdn.microsoft.com/en-us/library/bb756929.aspx Dave -----Original Message----- From: Antonio Llano Batarrita [mailto:alla...@apillano.com] Sent: 26 November 2010 13:38 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Run as Administrator Is there a way to set the Run always as administrator to the app executable file. Thanks ------------------------------------------------------------------------ ------ 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 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. ---------------------------------------------------------------------------- -- 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