View Single Post
Old 11th April 2016, 19:19   #12
jwptrek
Junior Member
 
Join Date: Mar 2016
Posts: 6
Well, whatever the reason, the last two code lines I pasted *finally* actually wait, even though I shouldn't need the cmd /k in there. I just tried it again without the cmd, with the below code, and it works also.

StrCpy $8 '"c:\program files\[company name]\usbdriver\wdreg.exe" -inf usb64_drv.inf -silent -delete_files uninstall'
!insertmacro ExecWaitJob r8

I was sure I went back and tried ExecWaitJob with correct quotes before, but I must've either just tried with the .cmd file. In any case, it is finally working, so I'm happy. Thanks.
jwptrek is offline   Reply With Quote