Hi I am using Enterprise Ed of Advanced Installer.
I have a custom action which runs VB script (It writes some info to registry). Everything works fine on XP and win2003 but in Vista it silently fails even though I am logged in as administrator and running msi file under my login.
The only way I was able to get it working in vista if I run msi file using
• Start->Accessories ->Command Prompt …. Right click and select “Run As Administrator” option
• Enter full path of msi and hit enter to start setup.
But as you see user won’t know this approach because it’s not well known. I want some setting in the setup itself will ask for Admin Permission at runtime so it can write to registry????
I also tried following solutions but none of them worked
1. Created Custom action "Launch File As Administrator" under "UI Custom Action" and then called that action on Installation Dialog editor --> "Published Events" -> DoAction
<DIDN'T WORK>
2. Change Media -> Bootstrapper -> Security -> "Require Admin"
<DIDN'T WORK>
None of above solution elevating access to Admin Level and because of thet my VB script fails.
Please advice if there is a setting somewhere in Advanced Installer which is same as "Run As Administrator" found when you right click on exe file in Vista????
Thanks,
Nayan
FOLLOW US
Get the latest news in Application Packaging