I've tested your scenario but I cannot replicate the described behavior.
Can you please give us a detailed test case scenario so we can further investigate this?
I have a very similar problem using AI from the command line during our build process on a server. A referenced Executable does not exist for a merge module to create but AI always returns with success. I know that this works correcty in one of the previous versions.
AI version: 11.7
Some output from windows console prompt:
[INFO] Create setup "..\..\..\BigFarmNet\src\MainUnit-Setup\BigFarmNet-MainUnit-MergeModule.aip"
"C:\Program Files (x86)\Caphyon\Advanced Installer 11.7\bin\x86\AdvancedInstaller.com" /rebuild "..\..\..\BigFarmNet\src\MainUnit-Setup\BigFarmNet-MainUnit-MergeModule.aip"
Checking builds status... done.
Resources referred by the project are missing.
And here is the code snippet from batch file (adapted for test purposes).
:: create setup packages
for %%p in (%ProjectList%) do (
echo [INFO] Create setup %%p
echo %AIPath% /rebuild %%p
%AIPath% /rebuild %%p
if ERRORLEVEL 1 (
echo [ERROR] %errorcount% error occurs creating setups, view log files for details
echo\ 1>&2
set /A errorcount=errorcount+1
setlocal EnableDelayedExpansion
set errortext[!errorcount!]=error: creating setup package %%p
setlocal
) else (
echo [INFO] %errorlevel% creating setup ok
set /A successcount=successcount+1
)
echo.
)
FOLLOW US
Get the latest news in Application Packaging