B4J Question Inno Setup CloseApplications

simonwilliamson

Member
Licensed User
When I'm sending out an update to our Windows users and they try to install the .exe file that the Inno application creates but the user still has the old version running they get an install error. If I set the Inno setup file to CloseApplications=Yes it then does give the user the message that it needs to close the 'OpenJDK Platform binary' but when the user accepts and continues it seems unable to close the binary so the installation fails again.
Does anybody know a solution to this so the install works correctly please?
 

Chris2

Active Member
Licensed User
You could try setting CloseApplications=force, although that may have unwanted side-effects:
Inno.png


I'm not sure that it's the answer, but the fact you're seeing 'OpenJDK Platform binary' as the app name made me think three things:
1. Are you setting the #PackagerProperty: ExeName = MyAppName in the B4J IDE?
1. Are you setting AppName=MyAppName in the Inno script?
2. Do you need to do this: https://www.b4x.com/android/forum/t...ce-openjdk-platform-app-name-and-icon.136771/
 
Last edited:
Upvote 1
Top