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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T10:07:51+00:00 2026-06-06T10:07:51+00:00

I am currently evaluating Install4J for my company. We have a use case where

  • 0

I am currently evaluating Install4J for my company. We have a use case where want to be able to handle the following builds: development, pre-release and production. They will only differ in two ways:

  1. One command-line argument specifying which build it is (this is used to determine which server environment to connect to etc.).
  2. The release schedule.

For example: we want to be able to release a new version of our software to a small group of people with the pre-release version installed and once we feel that it is stable enough we want to create a production-release. We want the auto-update feature to automatically understand that it shouldn’t mix between release types (i.e. if you have pre-release installed you should only get pre-release updates).

How can we achieve this without creating 4 completely separate setup projects?

  • 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-06T10:07:52+00:00Added an answer on June 6, 2026 at 10:07 am

    You can use compiler variables to do that. Define the appropriate compiler variables on the General Settings->Compiler Variables tab and use them with the syntax

    ${compiler:variableName}
    

    in other text fields. There is a variable selector (an arrow to the right) next to all text field that allows you to select variables from a list.

    When building, you can override compiler variable values from the command line (-D NAME=VALUE[,NAME=VALUE]) or from the ant task (child elements <variable name="variableName" value="variableValue"/>).

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

Sidebar

Related Questions

I'm currently evaluating the technologies we want to use for our next project. It
I am currently evaluating the efficiency of different databases for a use case. In
Am currently evaluating the best RIA technologies to use for building a new e-commerce
We are currently evaluating upgrading from XP to Windows 7, but have one last
I'm currently evaluating Selenium and it seems I'll have to perform certain steps in
I am currently evaluating JMS and I don't get what I could use it
I currently have a Grails application I'm evaluating to port to Google App Engine
I am currently have a small program in Common Lisp, which I want to
I'm currently evaluating eclipse after using Textmate for all my development for many years.
I'm a tester and currently evaluating QTP 11 on my company's Silverlight 4.0 browser

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.