I builded my solution on my dev Machine and all works. Then I checked it in and wanted to Build it on our Build-Server. It fails with following error:
I then went into my Buildserver and tried to executed manually from a command prompt too see what happens.. Even stranger: sometime a get the error as above, but sometimes I getThe system cannot find the path specified.
After I tried the same command on a Command-Prompt started with "Runas administrator" the project BuildsCould not copy template file from 'C:\Program Files (x86)\Caphyon\Advanced Installer 11.2.1\templates\template.msi' to 'E:\Build\work\b4511ac8726ec9e9\src\Agent
InstallerServer\AgentInstallerServer-SetupFiles\AgentInstallerServer.msi'. Error
: Access is denied.
My Build agent (TeamCity Build Agent) is running with an Account that is in the Administrators group
Any Ideas how to solve this?
Thank you
Teamcitiy's Log:
- [16:25:34][MSBuild] src\AgentInstallerServer\My.Namesspace.AgentInstallerServer.aiproj.metaproj: Build target: Rebuild
[16:25:34][src\AgentInstallerServer\My.Namesspace.AgentInstallerServer.aiproj.metaproj] Rebuild
[16:25:34][Rebuild] MSBuild
[16:25:34][MSBuild] src\AgentInstallerServer\My.Namesspace.AgentInstallerServer.aiproj: Build target: Rebuild
[16:25:34][src\AgentInstallerServer\My.Namesspace.AgentInstallerServer.aiproj] Rebuild
[16:25:34][Rebuild] Exec
[16:25:34][Exec] "C:\Program Files (x86)\Caphyon\Advanced Installer 11.1\bin\x86\AdvancedInstaller.com" /rebuild "AgentInstallerServer.aip"
[16:25:34][Exec] The system cannot find the path specified.
[16:25:34][Exec] E:\Build\work\b4511ac8726ec9e9\src\AgentInstallerServer\My.Namesspace.AgentInstallerServer.aiproj(69, 5): error MSB3073: The command ""C:\Program Files (x86)\Caphyon\Advanced Installer 11.1\bin\x86\AdvancedInstaller.com" /rebuild "AgentInstallerServer.aip" " exited with code 3.
[16:25:34][src\AgentInstallerServer\My.Namesspace.AgentInstallerServer.aiproj] Project src\AgentInstallerServer\My.Namesspace.AgentInstallerServer.aiproj failed.
[16:25:34][src\AgentInstallerServer\My.Namesspace.AgentInstallerServer.aiproj.metaproj] Project src\AgentInstallerServer\My.Namesspace.AgentInstallerServer.aiproj.metaproj failed
FOLLOW US
Get the latest news in Application Packaging