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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T16:12:58+00:00 2026-06-17T16:12:58+00:00

I am seeing the following messages during an upgrade using an installer built with

  • 0

I am seeing the following messages during an upgrade using an installer built with InstallShield 2012 Spring:

  1. The InstallShield Wizard will update the installed version (9.01.005) of <our product> to version 9.2.0.53.
  2. The InstallShield Wizard is updating (9.01.005) of <our product> to version 9.2.0.53.

These are messages are based on string resources IDS_IFX_SDWELCOMMESSAGE_UPDATE_WELCOME and IDS_IFX_STATUSEX_STATICTEXT_UPDATEUI. I believe the un-altered string resources would look like this:

  • The InstallShield Wizard will update the installed version (%VI) of %P to version %VS. To continue, click Next.
  • The InstallShield Wizard is updating (%VI) of %P to version %VS.

although some resources indicate that the second string resource is “The InstallShield Wizard is updated %VI of %P to version %VS.”

The problem is that the old (installed) version number is supposed to be a display string like “9.1.5.2” instead of a formatted version of the internal version number like “9.01.005”. As I understand it SdSubstituteProductInfo uses IFX_INSTALLED_DISPLAY_VERSION to populate the %VI substitution in OnUpdateUIBefore‘s default InstallScript code. And IFX_INSTALLED_DISPLAY_VERSION defaults from IFX_INSTALLED_VERSION, which explains why the preferred display string is not appearing where we would want it to. And I assume SdWelcome (or any dialog or code similarly referencing IFX_INSTALLED_DISPLAY_VERSION), also displays the badly formatted version.

Despite all my searching on the web about the functions, strings, and string IDs mentioned above, I have not found the ideal solution to displaying the properly formatted old version number (DisplayVersion) in the correct format. Some articles suggest hard coding a format string that skips the old version number instead of using a string resource that includes %VI. Others suggest manually formatting the version number as desired and putting the result into IFX_INSTALLED_DISPLAY_VERSION. I know there’s a better answer, and I want it to be easier to find next time I or anyone else looks for it.

  • 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-17T16:12:59+00:00Added an answer on June 17, 2026 at 4:12 pm

    On the OnBegin InstallScript function, add the following line of InstallScript code as the first line after begin:

    RegDBGetItem(REGDB_UNINSTALL_DISPLAY_VERSION, IFX_INSTALLED_DISPLAY_VERSION);
    

    Performing this in OnBegin also ensures that another message not mentioned in the question uses the correct format:

    The setup has detected that version %VI of %P is already installed.

    This setup installs an earlier version of %P (%VS).

    You will have to uninstall the previous version before installing this version.

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

Sidebar

Related Questions

I am seeing the following messages in the logs after each redeploys. INFO: Reloading
I am seeing a problem where I send large messages over wcf net.msmq using
I'm very infrequently seeing the following error logged on a website I manage: Arguments
I'm looking at some open source projects and I'm seeing the following: NSLog(@%s w=%f,
I keep seeing references to _internal in examples like the following: class Symbol {
In preparing to a OOP exam, I enjoyed seeing g++ compile the following code
After seeing tons of web site using modal window with a nice expansion animation
I'm seeing the following Exception occurring often in our live environment : 2013-01-08 00:09:45,886
I am constantly seeing the following postgres errors/warnings in my Rails development log. It's
I have the following tables used for sending messages about products to vendors from

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.