#1
|
|||
|
|||
How to get exit code from CABARC.EXE?
I'm using CABARC.EXE to package an ActiveX control into a CAB file. I've created a "Run Program" action in Vis Build and have been able to get it working properly with this syntax:
%DOSCMD% cabarc -s 6144 n MyApp.cab MyApp.inf MyApp.ocx However, I also want to handle cases where something goes wrong. For example, if the file "MyApp.inf" doesn't exist the console window will actually show: FCIAddFile() failed: code 1 [Failure opening file to be stored in cabinet] but Vis Build doesn't pick up the error and reports that the action completed successfully. I've got "Success exit Codes = 0". Any ideas? |
|
|