Problem with InstallProduct with a virtual directory

  • Thread starter Thread starter Scott Lezberg \(Deltek\)
  • Start date Start date
S

Scott Lezberg \(Deltek\)

Can someone tell me why this works

Dim Installer
set Installer=CreateObject("WindowsInstaller.Installer")
Installer.InstallProduct "http://scottlezberg/TestProp.msi",
"USERNAME=scottWLezberg"

but this does not work?

Dim Installer
set Installer=CreateObject("WindowsInstaller.Installer")
Installer.InstallProduct "http://scottlezberg/Vision30/TestProp.msi",
"USERNAME=scottWLezberg"

I am calling these from a <SCRIPT> tag in an ASP page using VBScript. For
some reason it does not seem to like the addition of a virtual directory.
The MSI engine starts but the MSI is not run.

Thanks in advance

Scott
 
Not exactly my area however SCRIPT tags are not used by ASP so I assume
that you mean its run in the client (browser).

You didn't say what "doesn't work" means, if you find out it might
help, a verbose log (set via policy) could help (If it gets that far).

Perhaps security is an issue... Of course script needs to be enabled
in a browser (which I assume is some version of IE on some version of
Windows).

Bye,
Dennis Bareis
 
Yes..I am sorry...this is attempting to be run on the client via SCRIPT tag.

What I mean is that the Windows Installer engine begins to kick off but does
not install the MSI in the second example (with the virtual directory) but
does initiate and install in the first example (without the virtual
directory).

I don't think its a security issue because I am testing from the same client
workstation.

Thanks

Scott
 
Sorry for bumping up this old thread, but though this half a decade has the OP stumbled upon the solution and does he remember it?
 
Back
Top