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 7758677
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T13:25:21+00:00 2026-06-01T13:25:21+00:00

We are installing out program via inno setup. We have one main exe file,

  • 0

We are installing out program via inno setup. We have one main exe file, that runs our actual program, but we install some other exes that are always running in the background.

When main.exe runs for the first time it starts this other exe. Other exe is OK to run all the time, it is in fact necessary. However, if main.exe is stopped via task manager or something other.exe keeps running. When other.exe is running, the user cannot run main.exe. How can we change this behavior?

EDIT

Seems unrelated to innosetup, so I will have to go the route suggested in the answer.

EDIT AGAIN
The problem was ultimately that windows saw main.exe starting other.exe and considered it a sub-process. Finding a way to start other.exe outside of main.exe was ultimately the solution

  • 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-06-01T13:25:23+00:00Added an answer on June 1, 2026 at 1:25 pm

    If I understand correctly, you have two (or more) programs(EXEs). If MAIN.EXE starts first, it starts OTHER.EXE and this is correct. If OTHER.EXE is started first or is running and MAIN.EXE is stopped, then MAIN.EXE will not restart until OTHER.EXE is stopped. Is that correct? If so, you’ll need to change both MAIN.EXE and OTHER.EXE. In MAIN.EXE, you’d need to check for OTHER.EXE and either stop it or tell the user to stop OTHER.EXE before starting MAIN.EXE. In OTHER.EXE at startup, you need to check for MAIN.EXE. If it’s not running, start it or tell the user to start it before starting OTHER.EXE.

    After reading the other comment, I don’t think my original answer is correct. Two programs (APPLICATION.EXE and SERVICE.EXE) don’t inherently share a mutex and aren’t automatically prevented from running at the same time. You need to look at why APPLICATION.EXE doesn’t run when SERVICE.EXE is running and what error is returned. That might help determine what you need to do. You’ll probably still need to change SERVICE.EXE and APPLICATION.EXE.

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

Sidebar

Related Questions

Merry Christmas, StackOverflowians! I started out distributing my .NET GAC-located program using Inno Setup,
I want to roll out a non-market apk to our users via our website.
I have built setup file for my windows service in visual studio 2010.Its working
all, I have some problem installing my apk file in code. Wondering if anyone
I'm installing a programming environment for Silverlight and trying to straighten out what needs
Without installing third party libraries, what kind of Client/Server protocols Python supports out of
Installing my software on Windows XP was always easy. Everything went in the c:\Program
My program has a handful of settings that need to be established before it
I've got an Adobe Flash 10 program that freezes in certain cases, however only
I'm trying to port a program that uses zlib to Windows with MSVC. Unfortunately,

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.