Running vbs on winXP or win7 using AI. - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

kkrzyzak
Posts: 47
Joined: Wed Oct 13, 2010 2:10 pm

Running vbs on winXP or win7 using AI.

Hi,
Tooday i have strange problem.
I create setup.exe and the first think doing by setup.exe is running some vbs. On my developer PC everything works fine. On PC where is new instalation windowXP(SP3) or win7 (and nothing else pure windows installation).
When i run setup.exe i have got error message and installation process is broken. when i remove vbs from my project it run ok.
Is there any prerequirement to run vbs using AI that must be installed in system before i use AI to run some vbs? (yes, i have admin privileges and yes i can run separately vbs and they works)

Yours,
Karol.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Running vbs on winXP or win7 using AI.

Hi Karol,

Please try to run your custom action with full administrator rights using the "Deferred with no impersonation" execution option.
It is not enough to run the package with administrator rights if you need an elevated custom action. You must individually set each custom action with the appropriate execution option.

Best wishes,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”