udonmez
Posts: 16
Joined: Thu Feb 14, 2013 12:06 pm
Location: Ankara

Failed to launch application with retCode: -1.

Hi,

I am getting an error when build the solution owing to the Post-Build Events action.
This error is NOT fired in the my desktop but in the server 2008 R2 it gives error below.
Post-Build Events runs *.bat file. I am running batch file with a double click on the server it is running successfully . But when I build the project it gives error on the server again.
I checked these two topics but i can not able to get rid of the error.

http://www.advancedinstaller.com/forums ... =2&t=21948
http://www.advancedinstaller.com/forums ... =2&t=26554
Advancedinstaller_Error.jpg
Advancedinstaller_Error.jpg (140.53 KiB) Viewed 2778 times
Thanks,
Unsal
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Failed to launch application with retCode: -1.

Hello Unsal,

This may happens if the path of the working directory is not correct, e.g. you build the project on a new machine.

In order to have a better view about this, can you please send us the .AIP (project file) to support at advancedinstaller dot com so we can investigate it? If it contains confidential information you can send us a small test project which reproduce this behavior. Also, you can help us greatly to provide a solution in the shortest possible time if you could strip down your project to a basic size containing only the resources absolutely necessary to reproduce the issue. Make sure this sample project is buildable and send it so we can build it and study the issue.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”