Loading
Application Information Key
Hello,

 

I am experiencing an issue with InstallShield 2008. I am currently testing with the Trial before we implement the real release.

 

I have developed a VB application and an installer in IS7 using the import .NET project wizard. I migrated the installer and updated the VB application to a new version and built the new installer. I updated the version number in the IS project. The installation goes in fine, except the application information key is not getting created correctly.

 

I have ran some Filemons on the process and it appears that the installer is re-creating the 1.00.000 application information key rather than inserting the new 1.00.xxx application information key. This behavior was repeatable many times.

 

As a test I uninstalled the application and ran the installer. The installer noticed that it was a first installation and went through all of the dialogs and created the correct application information key. After this, subsequent updates properly updated the application information key.

 

I am having this issue with many installers and am looking for a resolution.

 

I have read that SetInstallationInfo and CreateInstallationInfo are responsible for this and have examined the values of many variables and they all seem to have the correct data in them.

 

Notes:

 

VerProductCompareVersions() returns 3 (newer)

 

IFX_INSTALLED_VERSION returns the old version number

 

IFX_PRODUCT_KEY returns the right information

 

IFX_COMPANY_NAME returns the right information

 

IFX_PRODUCT_NAME returns the right information

 

IFX_PRODUCT_VERSION returns the new version number

 

IFX_KEYPATH_PRODUCT_INFO returns the right information

 

MAINT_OPTION != MAINT_OPTION_NONE so CreateInstallationInfo *is* getting called

 

CreateInstallationInfo returns 0 even though it creates the wrong key

 

I have read some posts about nuances with the PRODUCT_KEY and IFX_PRODUCT_KEY values and have played with them but nothing has worked...

 

One thing that I thought might be causing an issue is the Company Name field. I have something similar to:

 

"Company XYZ\Blah\Blah Blah\"

 

in the Company Name field to force a subfolder installation. I have experimented with double backslashes but nothing has helped.

 

 

Please help!

 

Thanks,

 

Jon

  • More information:

     

    It appears that RegDBSetAppInfo also incorrectly determines the path to the application information key. Calling this function adds a key to the 1.00.000 application information key.

     

    I think the ALLUSERS variable may be playing a part here? (maybe not?).

     

    Value of this variable is reported as 1 right before CreateInstallationInfo is called.

     

    Thanks,

     

    Jon

     

    (bump)
    Expand Post

Loading
Application Information Key