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?
 
Solution
Solved with the following code:

B4X:
Source: Objects\temp\build\*; DestDir: {app}; Flags: ignoreversion recursesubdirs; Excludes: run_debug.bat

aeric

Expert
Licensed User
Longtime User
There are other threads discussing similar question. Hope they helps.

 
Upvote 0

nima66

Member
There are other threads discussing similar question. Hope they helps.

Thanks
I had checked these threads.
 
Upvote 0

nima66

Member
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.

B4X:
Source: Objects\temp\build\*; DestDir: {app}; Flags: ignoreversion recursesubdirs; Excludes: Objects\temp\build\run_debug.bat
 
Upvote 0

nima66

Member
Solved with the following code:

B4X:
Source: Objects\temp\build\*; DestDir: {app}; Flags: ignoreversion recursesubdirs; Excludes: run_debug.bat
 
Upvote 0
Solution

aeric

Expert
Licensed User
Longtime User
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
Top