cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
vineet
Level 3

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
Labels (1)
0 Kudos
(2) Replies
J_anitha
Level 8

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.
0 Kudos
vineet
Level 3

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

0 Kudos