main thread returning zero
thread returns zero but installation fails..
0 Comments
[ + ] Show comments
Answers (5)
Please log in to answer
Posted by:
pjgeutjens
14 years ago
There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor. Custom action CUSTOMACTION1 script error -2146828212, Microsoft VBScript runtime error: Path not found Line 10, Column 5,
there's your problem.
also, when posting lengthy bits of text like your log, please use the code tags.
rgds,
PJ
Posted by:
anonymous_9363
14 years ago
Posted by:
timmsie
14 years ago
Posted by:
anonymous_9363
14 years ago
I'm willing to bet a fairly substantial wedge that your script is an embedded script and has at least one 'WScript' directive in it e.g. WScript.Echo or WScript.CreateObject...
When used embedded (as opposed to external), scripts use the Windows Installer engine's interpreter (let's call it, for argument's sake.) As such, it has no knowledge of Windows Scripting Host directives. You must remove these directives. You would want to avoid WScript.Echo anyway, as your package might be installed silently. As for WScript.CreateObject, just drop the 'WScript.' part.
Note that does not obviate the creation and use of WScript objects e.g. WScript.Network, as in
When used embedded (as opposed to external), scripts use the Windows Installer engine's interpreter (let's call it, for argument's sake.) As such, it has no knowledge of Windows Scripting Host directives. You must remove these directives. You would want to avoid WScript.Echo anyway, as your package might be installed silently. As for WScript.CreateObject, just drop the 'WScript.' part.
Note that does not obviate the creation and use of WScript objects e.g. WScript.Network, as in
Set objNetwork = CreateObject("Wscript.Network")
In these cases, the 'WScript.' prefix must remain.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.