This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Formatting of Version identifier in "Status Setup" dialog
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 24, 2009
06:37 PM
Formatting of Version identifier in "Status Setup" dialog
Right now I have a product verision that is "2.2"
When my application is getting reinstalled/upgraded, the Setup Status dialog displays the text:
"The InstallShield Wizard is updating (2.02.000) of [Product Name] to version 2.3"
Is there any way I can change the "2.02.000) to read "2.2" without creating a custom dialog? I tried looking at the strings1033.txt and I couldn't find an entry.
When my application is getting reinstalled/upgraded, the Setup Status dialog displays the text:
"The InstallShield Wizard is updating (2.02.000) of [Product Name] to version 2.3"
Is there any way I can change the "2.02.000) to read "2.2" without creating a custom dialog? I tried looking at the strings1033.txt and I couldn't find an entry.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 25, 2009
10:18 AM
For an InstallScript project, you might see if one or both of setting IFX_PRODUCT_DISPLAY_VERSION and calling SetStatusExStaticText will do the trick...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 28, 2009
11:29 AM
Thanks for your reply. The installer is a InstallShield MSI project. Any other ideas I might try?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 28, 2009
12:25 PM
You can override the "OnResumeUIBefore()" function that gets called in this case. You can create your own custom string and include/use the %P, %VS, and %VI with the "SdSubstituteProductInfo()" function. %VI is version installed. Once you get your custom string updated, you can do what I did is pass that string to another function to format the version installed to a the format I needed.
FYI: The default format of Version Installed is pulled from the HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Unistall DWORD entry for "Version" (does NOT use DisplayVersion *sigh*)
FYI: The default format of Version Installed is pulled from the HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Unistall DWORD entry for "Version" (does NOT use DisplayVersion *sigh*)