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

RegDBGetItem & Uninstall properties during patch

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

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

Anyone tried with differential media generated and successfully updated the previous installation of pure Installscript project.

Anyone from Acresso, please point out, if i did wrong or miss something in generating differential media mentioned in my previous post about sample project or provide solution if there was a know issue with IS 2008 differential media support.


Thanks in Advance,
Vishnu
0 Kudos