cmd - Exit code "lost" from child process in Windows XP, not in Windows Server 2003 -
edit 3 ok, seems might not installer issue after all. when make simple batch file: exit /b 12 and call as cmd /c test.cmd echo %errorlevel% i "12" on windows server 2003 r2, "0" on xp. thought had tested simple test case many times before apparently not. so, i've changed tags , title i'm leaving other information here there's lot of useful stuff here not directly related issue. thoughts? original below i have custom action written in vbscript in turn calling windows batch file (the custom action allowing user execute @ install time can run later running batch file - it's convenience). function below: function mainfunction strcustomactiondata = session.property("customactiondata") strsplit = split(strcustomactiondata, ";") strinstalldir = strsplit(0) strpostcopyaction = strsplit(1) strscriptlocation = strinstalldir & "\migrationmasterprocess.cmd" strfullcommand = &q