Run a jar file while installing - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

gunjannigam
Posts: 1
Joined: Wed Jul 27, 2011 9:53 am

Run a jar file while installing

Hi,
I am a newbie and this is my first installation creation.I have developed a Java Application using RxTx Serial API . I need to create a installer for my application. Since this application needs RxTx Serial API, therefore it should have some files copied at specific location. I wrote another Java Application to copy these serial API at desired Location. Now what I want is when I create the installer for my application, the installer should while installing should execute the Java Application (Jar File) once. How will I add this to setup?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Run a jar file while installing

Hello and welcome to Advanced Installer forums,

Unfortunately, Windows Installer supports only VBScript, JScript, .DLL and .EXE custom actions that execute as part of the installation. For more information please follow this article.
herefore it should have some files copied at specific location
In the Files and Folders context menu, we also have the File Copy Operation which may help you with this.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”