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
- :
- Re: Version Number Issue
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 19, 2010
08:39 AM
Version Number Issue
Hello,
I am using Install Shield 2009. I am new to it and have very basic knowledge about IS 2009.
I have my product installed.
Version of product already Installed: v11.1
Version of product trying to install: v12.0
Without uninstalling the product if I try to again install the product, it gives me some strange message.
The message displayed is as under:
"The setup has detected that version 0.01.000 of v12.0 is already installed. This setup installs an earlier version of v12.0"
However, the version installed is v11.1 and I am trying to install v12.0
I am unable to understand why the version "0.01.000" is gets displayed.
Please help how to modify this behaviour?
How do I change this message?
Regards,
Vineet
I am using Install Shield 2009. I am new to it and have very basic knowledge about IS 2009.
I have my product installed.
Version of product already Installed: v11.1
Version of product trying to install: v12.0
Without uninstalling the product if I try to again install the product, it gives me some strange message.
The message displayed is as under:
"The setup has detected that version 0.01.000 of v12.0 is already installed. This setup installs an earlier version of v12.0"
However, the version installed is v11.1 and I am trying to install v12.0
I am unable to understand why the version "0.01.000" is gets displayed.
Please help how to modify this behaviour?
How do I change this message?
Regards,
Vineet
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 21, 2010
12:04 AM
Where are you setting v11 and v12?
Installer does a installed version and current version comparison in OnUpdateUIBefore(), Please check this function.
If you jus want to modify the message displayed, its loaded from the following code in OnUpdateUIBefore():
if( nResult = VERSION_COMPARE_RESULT_OLDER ) then
szMsg = SdLoadString(IDS_IFX_ERROR_UPDATE_NOT_APPROPRIATE );
SdSubstituteProductInfo( szMsg );
MessageBox( szMsg, SEVERE );
abort;
endif;
You can define your own message for szMsg.
Installer does a installed version and current version comparison in OnUpdateUIBefore(), Please check this function.
If you jus want to modify the message displayed, its loaded from the following code in OnUpdateUIBefore():
if( nResult = VERSION_COMPARE_RESULT_OLDER ) then
szMsg = SdLoadString(IDS_IFX_ERROR_UPDATE_NOT_APPROPRIATE );
SdSubstituteProductInfo( szMsg );
MessageBox( szMsg, SEVERE );
abort;
endif;
You can define your own message for szMsg.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 21, 2010
12:24 AM
Hello Anitha,
Thank you very much for the response. We are stuck in our task as we have very limited knowledge of IS.
I have set the version number in Product Properties and in the PRODUCT_VERSION identifier in string table.
In my setup.rul file I am able to find only one call to OnUpdateUIBefore() which comes from OnShowUI().
How do I see the contents of OnUpdateUIBefore()?
Really appreciate your help on this.
Thanks,
Vineet
Thank you very much for the response. We are stuck in our task as we have very limited knowledge of IS.
I have set the version number in Product Properties and in the PRODUCT_VERSION identifier in string table.
In my setup.rul file I am able to find only one call to OnUpdateUIBefore() which comes from OnShowUI().
How do I see the contents of OnUpdateUIBefore()?
Really appreciate your help on this.
Thanks,
Vineet
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)