facing problem with vbscript while installation - 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!

suajtha
Posts: 21
Joined: Wed Oct 28, 2009 5:38 am

facing problem with vbscript while installation

hi,

i am facing problem while installation. i am using vbscript as custom action in installexecute sequence. while exceuting WScript.Sleep(10000) line , installer giving the problem.

i am calling java through vbscript. it will opens the command prompt for java. To wait for exec execution completes i am using the WScript.Sleep(10000) line.



Please do the needful.


Thanks,
Sujatha
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: facing problem with vbscript while installation

Hi Sujatha,

I am afraid the WScript object is not accessible from a vbscript running as a Windows Installer custom action. However you can check the workaround described in this thread:
http://www.advancedinstaller.com/forums ... f=2&t=4849

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”