Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6816143
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T20:53:26+00:00 2026-05-26T20:53:26+00:00

I am working on Java rich client app. with MySQL server and I made

  • 0

I am working on Java rich client app. with MySQL server and I made it as .jar file.
I want the user to have one simple .exe file that when running it, install JRE and MySQL server then he’ll have a shortcut for the jar file and simply work on it.

I tried to use more than installer: inno setup, advanced installer, Excelsior Installer, …
but they’re all give me the same result: just put all .exe files for JRE and MySQL server in the destination folder after installing the product (i.e. just unpack files without installing them).

Can anybody help me?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T20:53:26+00:00Added an answer on May 26, 2026 at 8:53 pm

    You can run as many executables as you want (Windows setup installers are executables) under [Run] in InnoSetup script file when creating you setup file via InnoSetup. But, you shall use Check: to check whether each installer has been installed or not.

    Example installing Java Advanced Imaging (JAI) run-time and Visual C++ 2010 Redistributable Package (x86) with registry check on target system:

    [Files]
    Source: "install\README.txt"; DestDir: "{app}" Flags: ignoreversion
    Source: "install\vcredist_x86.exe"; DestDir: "{app}" Flags: ignoreversion recursesubdirs createsubdirs
    Source: "install\jai-1_1_3-lib-windows-i586-jre.exe"; DestDir: "{app}" Flags: ignoreversion recursesubdirs createsubdirs
    
    [Icons]
    Name: "{group}\{cm:UninstallProgram, {#MyTitleName}}"; Filename: "{uninstallexe}"; Comment: "Uninstalls {#MyTitleName}"
    
    [Run]
    Filename: "{app}\vcredist_x86.exe"; StatusMsg: {cm:RunVCRedist2010x86}; Flags: runhidden shellexec waituntilterminated; Check: IsNotVCRedist2010x86Installed
    Filename: "{app}\jai-1_1_3-lib-windows-i586-jre.exe"; StatusMsg: {cm:RunJAIByDefault}; Flags: runhidden shellexec waituntilterminated; Check: IsNotJAIInstalled
    
    [Code]
    function IsNotJAIInstalled: Boolean;
    begin
      Result := not RegKeyExists(HKLM, 'SOFTWARE\SUNW\Java Advanced Imaging');
    end;
    
    function IsNotVCRedist2010x86Installed: Boolean;
    var
      Installed: Cardinal;
    begin
      Result := RegQueryDWordValue(HKLM, 'SOFTWARE\Microsoft\VisualStudio\10.0\VC\VCRedist\x86',
        'Installed', Installed) and (Installed <> 1);
    end;
    

    Note:
    If your installers in [Files] are located in the “install” folder of your InnoSetup project, they are compressed during Innosetup process to generate your the InnoSetup setup executable. When you run the setup created, it will uncompress the installers in your defined {app} folder and it will execute whatever defined under [Run]

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Java rich client desktop app. that I want to distribute on
I am working with Java. I have created one text file. In that text
I have a working java client that is communicating with Google, through ProtoBuf serialized
I have a working exec(java $file) command in php, but the problem is that
I have a working java web app for document management. On document creation i
Does anyone have a confirmed/tested working way of setting up a rich WYSIWYG (like
We're working on a rich client (written in Flex) that is connected to a
I'm working with java. I have an interface that has an annotated method in
I have been working with Java's HashMap lately and have run afoul of some
I've been working with Java for a long time but never have come across

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.