deltsigjoe
IS-IT--Management
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 for Windows Desktops" & Chr(34) & " SWICACHESIZE=" & Chr(34) & "8192" & Chr(34) & " SWIDCSDISPLAY=" & Chr(34) & "UTEP-AppV" & Chr(34) & " SWIPUBSVRHOST=" & Chr(34) & "appvpro.utep.edu" & Chr(34) & " SWIPUBSVRREFRESH=" & Chr(34) & "on" & Chr(34) & " SWIPUBSVRPATH=" & Chr(34) & "/" & Chr(34) & " SWIPUBSVRTYPE=" & Chr(34) & "RTSP" & Chr(34) & " SWIFSDRIVE=" & Chr(34) & "Q" & Chr(34) & " SWIPUBSVRPORT=" & Chr(34) & "554" & Chr(34) & " SWISKIPDATASETTINGS=" & Chr(34) & "True" & Chr(34) & " /passive /forcerestart /l*v c:\appv.log"
SET objSh = WScript.CreateObject("WScript.Shell")
objSh.Run cmd,1,true
MORE CODE...
**********************************************
is there a way to add multiple lines like the following:
cmd = "MSIEXEC /i " & Chr(34) & "\\utep.edu\installs\App-V\setup.msi"
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 for Windows Desktops" & Chr(34) & " SWICACHESIZE=" & Chr(34) & "8192" & Chr(34) & " SWIDCSDISPLAY=" & Chr(34) & "UTEP-AppV" & Chr(34) & " SWIPUBSVRHOST=" & Chr(34) & "appvpro.utep.edu" & Chr(34) & " SWIPUBSVRREFRESH=" & Chr(34) & "on" & Chr(34) & " SWIPUBSVRPATH=" & Chr(34) & "/" & Chr(34) & " SWIPUBSVRTYPE=" & Chr(34) & "RTSP" & Chr(34) & " SWIFSDRIVE=" & Chr(34) & "Q" & Chr(34) & " SWIPUBSVRPORT=" & Chr(34) & "554" & Chr(34) & " SWISKIPDATASETTINGS=" & Chr(34) & "True" & Chr(34) & " /passive /forcerestart /l*v c:\appv.log"
SET objSh = WScript.CreateObject("WScript.Shell")
objSh.Run cmd,1,true
MORE CODE...
**********************************************
is there a way to add multiple lines like the following:
cmd = "MSIEXEC /i " & Chr(34) & "\\utep.edu\installs\App-V\setup.msi"