We have the following problem after we updated from AI 4.6 to AI 4.8 (also in 4.7 and 4.8.1)
Environment: XP SP2, ANT 1.6.5
Error:
Exception - Error calling Msi API: 161 Method: MsiRecordSetStream Table:_Streams.
Further examination using Filemon reveiled that AdvancedInstaller builds a cab file (disk1.cab) on the file system root (D:\inst1.cab) and later fails (FILE NOT FOUND) when trying to read inst1.cab from the project directory d:\<projectDir>\inst1.cab into the msi file.
More interestingly the msi build succeeds when Advanced Installer was either started in GUI mode or started from cmd.exe, but failes when being called from ANT.
This is how we call AdvancedInstaller using ANT:
<exec dir="${projectDir}" executable="${path.AdvancedInstaller}">
<arg line="/build ${projectDir}/Project.aip"/>
</exec>
So the internally used cab file path seems to be wrong. Question: does version 4.8 need different settings (e.g. environment variables, commandline switches) than version 4.6?
Thanks in advanced for any help. In the meantime we will step back to version 4.6
FOLLOW US
Get the latest news in Application Packaging