Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

LaunchAppAndWait


1 reply to this topic

anoopov

anoopov
  • Members
  • 1 posts

Posted 19 April 2004 - 13:14

LaunchAppAndWait is not invoking wscript is not invoking wscript properly in XP machine. My developer machine its invoking wscript.exe proerly. But in some other machines its not doing so!!

Arcangel_666

Arcangel_666
  • Members
  • 12 posts

Posted 19 April 2004 - 14:46

I'm not 100% sure on this, but I believe that if the default scripting is not set to wscript, it will not run. There is the choice of setting the default between Windows scripting and "C"scripting. So if "C" is set as default, WScript might not work.

I believe you have to first do a LaunchAppandWait for:

wscript.exe /H:WScript

There might be a way to explicetly call the WScript host, but I forget how to do that.

Like I said, this is just the first thing that came to mind... but I may be completely off. unsure.gif

Good Luck

Nick