My install package installs a service which supersedes another service that I need to stop and disable. I have an entry point in a DLL that does this quite well (stop and disable a service) when run as administrator. I can't figure out how to get Advanced Installer 7.3.1 to invoked my DLL function elevated. I've tried invoking it as a custom action under the install standard action. I've also tried 'Run as Administrator' as a button 'DoAction'. In both cases I'm getting an access denied from my OpenSCManager call indicating that I am NOT running as administrator!!!
How can I run install code elevated under Vista or Windows 7???
FOLLOW US
Get the latest news in Application Packaging