PDA

View Full Version : Windows Installer problem



BBrubaker
01-04-2010, 10:53 AM
I'm using SB 7 and trying to run an MSI I've included as a support file using the following command:

Run Windows Installer %TMPDIR%\ASPAJAXExtSetup.msi /i

(/i is a Start Parameter)

_SB_ERRORCODE returns a -1. I can invoke this installer from a command prompt just fine with msiexec /i [file].

I'm including the MSI 3.1 redistributable (version 3.1.4000.2435) in my script.

I've verified that the msi file is getting put into TMPDIR.

To provide a little background info, we had an SB6 installation that worked fine. But our scripts somehow got deleted so we upgraded to SB7, redeveloped the scripts and are now having this issue.

Any idea what the problem might be?

Thanks!

linder
01-04-2010, 10:59 AM
Hello,

-1 means "File not found" in this case.

Please put double quotes around your .msi file definition and you should be done. See attached screenshot.

Does this help?

Friedrich

BBrubaker
01-04-2010, 11:05 AM
That seems to have corrected the problem.

Thanks for your help!

linder
01-04-2010, 11:08 AM
Perfect! Your are welcome.

Friedrich