Problem with InstallProduct with a virtual directory

  • Thread starter Scott Lezberg \(Deltek\)
  • 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
 
D

dbareis

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
 
S

Scott Lezberg \(Deltek\)

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
 
Joined
Sep 17, 2013
Messages
1
Reaction score
0
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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top