I have seemed to have found the following just as a test, but they both run and give the same XP message... any suggestions??
' -------------------------------------------------------------------------
' Test to check OS version
'...
I run the following code and get an error message:
Invalid command line argument. Consult the windows installer SDK for detailed command line help"
here is the code
' some code
SetCacheSize("C:")
SET objSh = WScript.CreateObject("WScript.Shell")
cmd = "MSIEXEC /i " & Chr(34) &...
can I do something like the following:
******************************************
SOME CODE....
SetCacheSize("C:")
cmd = "MSIEXEC /i " & Chr(34) & "\\utep.edu\installs\App-V\setup.msi" & Chr(34) & " INSTALLDIR=" & Chr(34) & "C:\Program Files\Softricity\SoftGrid for Windows Desktops" &...
The extra part of the code I want to add is the following:
msiexec /i offvirt.msi PIDKEYS=xxxx-xxxx-xxxxx-xxxx-xxxxx USEROPERATIONS=1
I am not sure if I need to create another VBScript or if I can just add this porttion either before or after the existing code.
The cmd part works, but I need to create another command entry. Do I create another vbscript or can I add to the existing code to include a new command line?
Hello All,
I am working with a VBScript that has the following code:
******************************************
SOME CODE....
SetCacheSize("C:")
cmd = "MSIEXEC /i " & Chr(34) & "\\utep.edu\installs\App-V\setup.msi" & Chr(34) & " INSTALLDIR=" & Chr(34) & "C:\Program Files\Softricity\SoftGrid...
I'm kind of confused with all of the double quotes.
Here is the exact line of code I have for XP that is working fine:
cmd = "MSIEXEC /i " & Chr(34) & "\\petu.edu\installs\App-V\setup.msi" & Chr(34) & " INSTALLDIR=" & Chr(34) & "C:\Program Files\Softricity\SoftGrid for Windows Desktops" &...
thank you so much...
it seems to have done the trick, but now I come with another problem...Error Code 800A03EA Syntax ERROR
When it goes to the Win7 version of the code, I get an error at the following line: (on the p character 22)
cmd = "MSIEXEC /i "\\petu.edu\installs\App-V\setup.msi"
any...
thread329-1221834
Hello All,
I am installing some software with a vbscript. I have been working on an XP machine and it works great. When I tried it on a Win7 machine, the script did not work... I modified the script to work on Win7 and it worked great, but now the script will not run on the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.