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!

clive_bor
Posts: 48
Joined: Thu Mar 09, 2006 8:32 am

Single instance executable

Hi,

We have wrapped our entire Java application (jars, jre etc.) into a single exe file. Is it possible to configure this exe to only allow a single running instance?

We were using the Java launcher with the single instance option, and that worked fine, want to know if we can get a similar result with the exe (i.e. let the Java code know when it is executed the second time around e.g. secondaryMain()).

Thank you,
Clive
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Clive,

If you don't use the AI Java launcher you need to implement this in your own EXE wrapper.

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

Return to “Common Problems”