We're in the process of automating our build procedure for one of our products and I've finally migrated the build process of AdvancedInstaller. The problem we're running into now is that while everything works just fine when running the AI application, it does not from the command line. The command we're sending is:
C:\Program Files\Caphyon\Advanced Installer 12.2\bin\x86\AdvancedInstaller.com /rebuild .\Build\Windows\Feedback.aip
If I run this command from either a normal shell or from PowerShell, the project builds just fine, but If it is run from within our CI environment, it fails.
I have two questions:
1. Is there any way to get the command line system to reveal its errors on the command line so I could send them back to our system
2. Does AI require anything specific in the environment? Our CI system runs with the environment completely empty and I need to add necessary items.
This is the output we DO get:
08:15:09.392 Build required.
08:15:09.408
08:15:09.408 [ StandardBuild ]
08:15:09.408
08:15:09.408
08:15:09.486 Building package (en):
08:15:09.486
08:15:09.486 C:\Program Files\Go Agent\pipelines\Feedback-Packaging\Builds\FeedbackSetup.exe
08:15:09.486
08:15:09.502 Error opening database file 'C:\Program Files\Go Agent\pipelines\Feedback-Packaging\Builds\Feedback.msi'.