/build/static/layout/Breadcrumb_cap_w.png

Passing double quotes to Command line

Does anyone know the full command line I need to use to pass the vbscript code using chr(34) to replace double quotes below? I keep getting error when running the vbscript. Thanks!

E:\>IBMFileNetIntegrationForMicrosoftOffice.exe /s /v"/qn /L*v C:\SetupLogFile.txt CEURL=\"http://test:9080/wsi/test/\" WORKPLACEXTURL=\"https://test.ca/WorkplaceXT/\" HELPURL=\"https://test.ca/ecm_help\" PREFERENCESNAME=WORKPLACEXT PREFERENCESOBJECTSTORE=\"ECM_GCE\" LICENSE_ACCEPTED=true"

0 Comments   [ + ] Show comments

Answers (4)

Posted by: Jsaylor 14 years ago
Second Degree Blue Belt
0
Just the first part up to the quotation mark would look like:

"E:\>IBMFileNetIntegrationForMicrosoftOffice.exe /s /v" & chr(34) & "/qn"
Posted by: dmack 13 years ago
Senior Yellow Belt
0
I am getting a 1203 error code from the vbscript when running this.

Can someone please help...sFileName points to a path that I have created;
sFileName = slogFolder & "\" & SPkgName & "_MSI.log"

C:\FIMO package\IBMFileNetIntegrationForMicrosoftOffice.exe /s /v"" /qb! /l*v " & chr(34) & sFileName & chr(34) & " ADDLOCAL=Excel,PowerPoint,Word IBMECMTAB=IBM_ECM SAVE_SETTINGS_FOR_ALL=1 CEURL=\""http://test:9080/wsi/FNCEWS40MTOM/\"" PEWSURL=\""http://test:9080/wsi/ProcessEngineWS/\"" CONNECTIONPOINT=PEConnect EURL=\""http://test:9080/wsi/FNCEWS40MTOM/\"" WORKPLACEXTURL=\""https://test.ca/WorkplaceXT/\"" HELPURL=\""https://test.ca/ecm_help\"" PREFERENCESNAME=WORKPLACEXT PREFERENCESOBJECTSTORE=\""ECM_GCE\"" LICENSE_ACCEPTED=true"
Posted by: Jsaylor 13 years ago
Second Degree Blue Belt
0
First: Echo the command line and make sure that it looks right to you. You can verify that it's perfect by echoing the line, then copy/paste it and run whatever it gives you, that will allow you to verify that it's a good translation.

Second: If I had to guess, I think it's the space in this area:

/v"" /qb!

Usually passing a command to the msi from an installshield .exe requires that you have no spaces before the beginning of the string. So it should look like this instead:

/v""/qb!
Posted by: anonymous_9363 13 years ago
Red Belt
0
Since the EXE clearly extracts and executes an MSI, simplify your life and use the MSI. Create a transform to go with it and edit the values for the listed properties. After that, all your script has to do is specify the transform name and the other switches. I've used your path as the container folder for the MSI and MST (which I've named FIMO.MSI and FIMO.MST) :strMSIPath = "C:\FIMO package"
strMSIName = "FIMO.MSI"
strMSTName = "FIMO.MST"

strMSI = strMSIPath & "\" & strMSIName
strMST = strMSIPath & "\" & strMSTName

strCmdLine = "MSIExec /i " & Chr(34) & strMSI & Chr(34)
strCmdLine = strCmdLine & "TRANSFORMS=" & Chr(34) & strMST & Chr(34)
strCmdLine = strCmdLine & "/qb! /l*v & Chr(34) & sFileName & Chr(34)
Pass the variable 'strCmdLine' to whichever construct you're using to start the process.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ