Hi,
I have been going through a process of upgrading our build process. We use 6.5.2. the error that I am getting is below along with how I'm calling it in our build file. When I first started the build upgrade I had an older version of AI and I upgraded to 6.5.2 I had a similar error and it was do to the "/" vs "\" in the Ant call (thanks to the forums I figured that one out). Well, now I'm doing some further upgrades and I'm getting the error below. AI is still 6.5.2. The msi file is created correctly in the GUI, but not using Ant. Previously when I have gotten an error during the build process (during the AI step), it seems to lock the file down and will no longer find this ccs-client.exe file. Normally, if I close all of my windows, get a new command prompt and/or restart my computer it releases it and will work fine after that. Other times I have had to delete the .aip file and recreate it from scratch. Although this is a pain, not a huge problem until now.
The reason that this has become problematic is that the build process is being moved to Anthill Pro and our code to Subversion. The process was working properly and everything was going well until all of the sudden I had a build that failed during the AI step. Now, I can't seem to get this error to resolve. I have tried everything that I can think of. I can't do some of the things I would normally do, because it is no longer under my control. The process works on my local computer after fixing the issue that caused the original build fail during the AI step.
The error itself is trying to find the file in the wrong place - like I said previously when I had that issue I changed the "/" and "\", but that doesn't seem to be the real issue anymore.
Error:
[exec]
[exec] [ DefaultBuild ]
[exec]
[exec] Building package (en): C:\dev\ccs-trunk-new\ccs-trunk\src/main/client-installer\dev-ccs-client-installer-proj.msi
[exec] Creating CAB file(s)...
[exec] Exception - Error opening file: C:\dev\target\client-dist\devMsi\bin\ccs-client.exe.
[exec] Result: 536805277
Version works on my local machine...
<exec executable="${ADVANCED_INSTALLER_PATH}/AdvancedInstaller.com">
<arg line="/build ${dir.installer}/dev-ccs-client-installer-proj.aip"/>
</exec>
Attempt #2:
<exec executable="${ADVANCED_INSTALLER_PATH}/AdvancedInstaller.com">
<arg line="/build ${dir.installer}\dev-ccs-client-installer-proj.aip"/>
</exec>
Please let me know if you need any further information. Thank you in advance for any help that you can provide!
FOLLOW US
Get the latest news in Application Packaging