Good. I have a new problem. I am trying to use the advanced installer using the windows batch command
"C:\Program Files\Caphyon\Advanced Installer 8.0.1\bin\x86\advinst.exe" /edit "C:\jenkins\workspace\myProject\Platforms\Win32\Install\myProject.aip" /SetVersion %previousVersion% "C:\Program Files\Caphyon\Advanced Installer 8.0.1\bin\x86\advinst.exe" /edit "C:\jenkins\workspace\myProject\Platforms\Win32\Install\myProject.aip" /SetProductCode -langid 1033 "C:\Program Files\Caphyon\Advanced Installer 8.0.1\bin\x86\advinst.exe" /rebuild "C:\jenkins\workspace\myProject\Platforms\Win32\Install\myProject.aip"
A project freezes when it calls the rebuild command and never exits.
I thought that maybe this could be a problem with one of my files in the project, so I looked through all my paths and made them correct. I also went to the installer and installed all the paths as absolute.
Unfortunately, the Advance Installer does not show errors on the command line, and the logs do not work if the process is not completed.
When I run the pre-installer on our build machine, it creates a project without any problems.
Any suggestions?
UPDATE: Here is my output log and AI location. I moved the AIP file to the root directory.
Started by user Admin [EnvInject] - Preparing an environment for the build. Building remotely on Build 3 in workspace c:\jenkins\workspace\myProject [EnvInject] - Executing scripts and injecting environment variables after the SCM step. [EnvInject] - Injecting as environment variables the properties content FILE_INSTALLER="C:\Program Files\Caphyon\Advanced Installer 8.0.1\bin\x86\advinst.exe" DIR_INSTALL="C:\jenkins\workspace\myProject\myProject" FILE_INSTALL="myProject.aip" [EnvInject] - Variables injected successfully. [testdev] $ cmd /c call C:\DOCUME~1\SOFTWA~1.NAF\LOCALS~1\Temp\hudson47906.bat c:\jenkins\workspace\testdev>cd "C:\jenkins\workspace\myProject\myProject" C:\jenkins\workspace\myProject\myProject>dir Volume in drive C has no label. Volume Serial Number is 341D-83B7 Directory of C:\jenkins\workspace\myProject\myProject 05/21/2012 09:52 AM <DIR> . 05/21/2012 09:52 AM <DIR> .. 05/14/2012 01:03 PM <DIR> .hg 05/14/2012 09:20 AM 146 .hgignore 05/14/2012 09:20 AM 6,158 .hgtags 05/14/2012 09:20 AM 278 delete compiled files.bat 05/14/2012 09:20 AM 293 file changes.bat 05/15/2012 03:13 PM <DIR> myProjectDocs 05/14/2012 09:20 AM <DIR> Platforms 05/14/2012 09:20 AM <DIR> Universal 05/21/2012 09:52 AM 494,538 myProject.aip 5 File(s) 501,413 bytes 6 Dir(s) 26,546,180,096 bytes free C:\jenkins\workspace\myProject\myProject>"C:\Program Files\Caphyon\Advanced Installer 8.0.1\bin\x86\advinst.exe" /edit "myProject.aip" /SetVersion 2.6.4.17 C:\jenkins\workspace\myProject\myProject>"C:\Program Files\Caphyon\Advanced Installer 8.0.1\bin\x86\advinst.exe" /edit "myProject.aip" /SetProductCode -langid 1033 C:\jenkins\workspace\myProject\myProject>"C:\Program Files\Caphyon\Advanced Installer 8.0.1\bin\x86\advinst.exe" /rebuild "myProject.aip" Build was aborted Aborted by Admin [PostBuildScript] - Execution post build scripts. [PostBuildScript] Build is not success : do not execute script Build step '[PostBuildScript] - Execute a set of scripts' marked build as failure Finished: ABORTED
The location of the AI on the build machine.
And I have an extended installer path specified in server environment variables.
source share