Adding more than 2 Execute VBScript actions causes the EXE to crash
|Article:TECH26291|||||Created: 2007-02-09|||||Updated: 2008-04-24|||||Article URL http://www.symantec.com/docs/TECH26291|
|NOTE: If you are experiencing this particular known issue, we recommend that you Subscribe to receive email notification each time this article is updated. Subscribers will be the first to learn about any releases, status changes, workarounds or decisions made.|
Steps to duplicate:
1. Create a new script in WiseScript Package Editor.
2. Add 3 Execute VBScript actions.
3. Compile and run the EXE.
4. It will crash after the 3rd VBScript executes.
The EXE does not crash if only 2 VBScript actions are included.
WPS 7 SP2
WiseScript Package Editor
This issue has been fixed for Wise Installation Studio\Express 7 SP1 and Wise Package Studio 7 SP3.
Workaround: Instead of using the Execute VBScript action, use the Execute Program action to call wscript.exe.
1. Add an InstallFiles action to install the VBScript to a temporary location
2. Add an Execute Program Action with the following settings:
.EXE Path: %SYS%\wscript.exe
Command Line: "<Path to VBScript installed in Step1>
Mark the 'Wait for Program to Exit' checkbox
The other fields can be left blank
|Description||Logged in Littlebuggy (Altiris - Lindon, Plymouth) database|
Article URL http://www.symantec.com/docs/TECH26291