martosoler
Posts: 3
Joined: Tue Apr 17, 2007 3:29 pm

Executing a Java program in custom actions

Hi, i'm trying to execute a custom action.
I'am doing with the viewer.exe:

source Type: Executable (*.exe)
Command line: [#foo.jar] a.war

I want that the string "a.war" pass like an argument to the program [#foo.jar] located into the installer generated by advance.
Thank's
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

If you want to execute your application at the end of the installation then my suggestion is to use the "Finish Actions" tab from "Dialogs" page instead of a custom action.

In the "Dialogs" page select the "ExitDialog" and the "Finish Actions" tab will appear in the "Control" view. Also you can specify a command line parameter in the "Arguments" field.

Let me know if this is not what you need.

Best Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”