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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T00:11:10+00:00 2026-05-14T00:11:10+00:00

We have an application which we licence to separate companies. The app is customised

  • 0

We have an application which we licence to separate companies. The app is customised to fit their brand; basically it is the same app but with a different theme file. We generate separate installers for each vendor as each app requires different configurations (servers to connect to, updates etc).

So each installer contains the same compiled application but with different configurations. All of this is managed by our build system so adding a new vendor is just a matter of creating a new theme and a simple include script for Inno Setup.

Our problem is that we want to ensure that when a user installs the app from vendor A they will not be able to install it from vendor B unless they explicitly uninstall the existing app.

Is there some setting in Inno Setup which will check if there is an existing installation (either from the same vendor or a different one) and tell the user they have to remove the existing installation?

  • 1 1 Answer
  • 2 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-14T00:11:10+00:00Added an answer on May 14, 2026 at 12:11 am

    A setup will always check whether there is a previous installation with the same AppID, if it finds one it will not create a new entry in the software applet, new data for uninstallation etc., it will instead update the previous installation with the new files and settings, merge the new data into the existing, and keep the single entry in the software applet.

    So as long as you have the same AppId for all your different brands it is impossible for two configurations / brands to be installed on the same system. Now instead of cancelling the running installation you should probably simply make your installer smart enough to deal with this on its own.

    Use Inno Setup scripting to check whether there is a previous installation of a different brand, or whether the current brand is being updated. You can use the SetPreviousData() and GetPreviousData() support functions to save some data to the registry which is unique to a brand, and test for it in one of the Setup initialization event functions (see the documentation). If the previously saved data matches the brand which is about to be installed you can simply proceed to update the installation. If it is different you could ask the user whether to cancel or to replace the installed brand.

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

Sidebar

Related Questions

I have application which is for paranoic users who used to store their sensitive
I have an application that utilized libraries which are published under different licences like
I have application which needs to use a dll (also written by me) which
I have an application which loads up c# source files dynamically and runs them
I have an application which needs to loop through all the lines in text
I have an application which has a similar interface to Visual Studio, in that
I have an application which supports multiple types and versions of some devices. It
I have an application which i build using gcc on linux host for ARM
I have an application which creates objects of a certain kind (let's say, of
I have an application which resides in ROOT. This application has a java class(in

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.