View Single Post
Old 14th March 2016, 14:58   #5
Junior Member
Join Date: Mar 2016
Posts: 12
I fixed the broken quotes per your instructions, and unfortunately, execwait is still not waiting. Below is how I tried to use ExecWaitJob. In my test, it appears that by the time wdreg.exe is even called, either via ExecWait or ExecWaitJob, the delete stuff below has already happened. I then get the message that wdreg couldn't be found.

StrCpy $8 'cmd /k start "" "c:\program files\[companyname]\usbdriver\uninst64.cmd"'
!insertmacro ExecWaitJob r8
jwptrek is offline   Reply With Quote