I have below install parameters that i use to install setup with CMD. I have Deployment Script (VBS) that i will be using to deploy the package. I have been getting error: End of Statement expected. Any suggestion on what exact VB command would it be for below.

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Windows\system32>"PathToSetupFile\Setup.exe" /UL1034 /V"SERIALNUMBER=1111-111
1-1111-1111-1111 COUNTRY=202"

 

3 Comments   [ + ] Show Comments

Comments

  • This is a common trip-up for scripting rookies.

    VBScript uses double-quote marks to enclose strings but the string you're trying to use also uses quotes. Therefore, use the ASCII code for the double-quote character which is 'Chr(34)'. Arguably, use of that ASCII code also makes your script easier to read.
  • Thank you for the information. However, i am pretty new to all this. Is there a way you can provide with the VBScript code.
  • Use shell.run () method serrch on this for more details
Please log in to comment

There are no answers at this time

Answers

Answer this question or Comment on this question for clarity