"There is a problem with the Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor."
The installer runs fine on my my dev machine, but fails on my Server 2008.
I've narrowed it down to a VBScript that is executed at the beginning to search for a file.
Code: Select all
dim fullPath
dim pathOnly
fullPath = Session.Property("SERVICE_CENTER_PATH")
dim filesys
dim objFile
set filesys = CreateObject("Scripting.FileSystemObject") 'Suspect line
set objFile = filesys.GetFile(fullPath)
pathOnly = filesys.GetParentFolderName(objFile)
Session.Property("APP_INSTALL_PATH") = pathOnly
If I comment out 'set filesys = CreateObject("Scripting.FileSystemObject")', the installer gets past the error message. So it has something to do with Scripting.FileSystemObject.
FOLLOW US
Get the latest news in Application Packaging