How to run msiexec with switches that contain quotes?

(imported topic written by SystemAdmin)

I’m having a hell of a time w/ this language. Spending way to much time on seemingly simple tasks, like so…

How do I put this in a WAIT statement within an Action? I have a feeling the quotes are messing it up. Do I have to use %22, or should I put this in a bat file and run it?

msiexec /i CADLP_Client\64bit\client_x64.msi /qn INSTALLDIR=“C:\Program Files\CA DLP” ADDLOCAL=AppMonClient,PrintSystemClient,FileSystemClient,OutlookClient,IEClient WGNPARENTSERVERNAME=“SERVER01” WGNDEFAULTUSERGROUPPATH=Users/AutoDiscovered_Users TRANSFORMS=CADLP_Client\64bit\ClientLockDown_Client_x64.mst;CADLP_Client\64bit\EnableAppmon_Client_x64.mst;c:\temp\install\CADLP_Client\64bit\HideConsole_Client_x64.mst;CADLP_Client\64bit\EmailClientOptions_Client_x64.mst

(imported comment written by BenKus)

Hi canyonrch,

There really isn’t much to this… you just need to run msiexec… It should like this:

wait msiexec /i CADLP_Client\64bit\client_x64.msi /qn INSTALLDIR=“C:\Program Files\CA DLP” ADDLOCAL=AppMonClient,PrintSystemClient,FileSystemClient,OutlookClient,IEClient WGNPARENTSERVERNAME=“SERVER01” WGNDEFAULTUSERGROUPPATH=Users/AutoDiscovered_Users TRANSFORMS=CADLP_Client\64bit\ClientLockDown_Client_x64.mst;CADLP_Client\64bit\EnableAppmon_Client_x64.mst;c:\temp\inst

It should be exactly what you put on the commandline (after the “wait”).

Is it not working for you?

Ben