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

Keep original registry setting after upgrade


1 reply to this topic

MingYan

MingYan
  • Members
  • 1 posts

Posted 05 January 2004 - 11:36

Hi...

I've created a setup for program upgrade. The setup works well but not as I wanted.

Upon upgrading the program, the old program is uninstalled. However, I'd like the registry key value to remain as it is after the program upgrade is complete.

I've set the DeleteAtUninstall property to FALSE but the setting is still modified or removed.

Pls advice...

Rgrds,
Ming Yan

catrill

catrill
  • Full Members
  • 16 posts

Posted 05 January 2004 - 18:12

If it is just a single registry value you want to keep, you can use the RegLocator and AppSearch tables to store the value in the registry that you want to preserve in an MSI property. Further details in the MSI help.

BTW Newer versions of InstallShield have a System Search view for this purpose.

You can then write that property into the registry during your install.

Hope this helps.