Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

IFX_INSTALLED_VERION was NULL during patch


1 reply to this topic

vishnub

vishnub
  • Full Members
  • 63 posts

Posted 04 December 2008 - 21:29

Hi,
We upgraded an InstallScript project from IS11.5 (Professional) to IS2008 (Premier) to support Japanese language. We delivered the full installer which worked fine. Now we are generating differential media to update the released version.

Build went through, but when installing it on Jap environment, it throws an error stating
The setup has detected that no version of <Product Name> is installed.
This update requires that a previous version of the application be installed.


While debugging the update installer, found that IFX_INSTALLED_VERSION is not populated it was NULL and VerProductCompareVersions() returns the above error since installed version is not identified. Later in the code noticed that none of the uninstall key value retrieved using RegDBGetItem() like REGDB_UNINSTALL_DISPLAY_VERSION, REGDB_UNINSTALL_NAME are returning NULL value.

Same time, when we try differential media generated using IS11.5 (english), was able to retrieve all the above mentioned values.

Is this known issue, issue with IS2008 or with Japanese support?
Any help will be much appreciated.

Thanks,
Vishnu[B]

vishnub

vishnub
  • Full Members
  • 63 posts

Posted 05 December 2008 - 18:43

I tried the same with sample InstallScript project (only english) as follows
- Created a new InstallScript project with product version 1.0.1 and set Update Mode Supported as Yes.
- Created a new release with Full media in the Update panel of Release Wizard.
- Updated the product version to 1.0.10001.
- Created another release as differential media and provided the data1.hdr of previous (1.0.1) release in the Update panel of Release Wizard.
- Install the 1.0.1 version of the product.
- Invoke the differential media executable (1.0.10001), same behavior, error was thrown as
The setup has detected that no version of Sample-InstallScript is installed.
This update requires that a previous version of the application be installed.

Abiove observation confirms that setup language is not a problem.
The same thing was worked in IS11.5, but fails with IS2008.

Is the differential media process changed in IS 2008?
Any help will be grateful.

Thanks,
Vishnu