B4J Question single instance

nima66

Member
In my search I found the following link:
But the problem is that the user can rerun the application with run_debug.bat.
How can I make it so that the run_debug.bat file is not taken into account when creating the setup file?
 
There are other threads discussing similar question. Hope they helps.

 
Upvote 0
There are other threads discussing similar question. Hope they helps.

Thanks
I had checked these threads.
 
Upvote 0
Just delete this file before you compile InnoSetup script.
I even modified the InstallerScript.iss file to ignore the run_debug.bat file, but it didn't help.

Code: Copy
Source: Objects\temp\build\*; DestDir: {app}; Flags: ignoreversion recursesubdirs; Excludes: Objects\temp\build\run_debug.bat
 
Upvote 0
Inno Setup will start automatically immediately.
There is no opportunity to remove the desired file from the files list in InnoSetup.
Do you set an automated build steps that set the InnoSetup run immediately?
By default, Build Standalone Package doesn't start InnoSetup automatically.
 
Upvote 0
Back
Top