I am trying to unistall endNote 6 using VBS script
I am using this command line
objShell.Run chr(34) & strprogramfiles & "\endnote\unwise.exe" & chr(34) & " " & chr(34) & strProgramFiles & "\EndnOte\install.log" & chr(34),7,TRUE
Problem is when I add the switch for silent /S the line stops working. Any ideas
This is how the line looks when adding the switch
objShell.Run chr(34) & strprogramfiles & "\endnote\unwise.exe /S" & chr(34) & " " & chr(34) & strProgramFiles & "\EndnOte\install.log" & chr(34),7,TRUE
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
objShell.Run chr(34) & strprogramfiles & "\endnote\unwise.exe /S" & chr(34) & " " & chr(34) & strProgramFiles & "\EndnOte\install.log" & chr(34),7,TRUEI think you have one too many "Chr(34)" entries. Try:

objShell.Run chr(34) & strprogramfiles & "\endnote\unwise.exe /S " & chr(34) & strProgramFiles & "\EndnOte\install.log" & chr(34),7,TRUE
Answered 01/04/2008 by: VBScab
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity