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.

Disabling Update in InstallShield 2009

1 reply to this topic


  • Full Members
  • 4 posts

Posted 08 May 2009 - 15:26

Whatever happend to "Update Mode Supported" that in IS 11 could be set under General Information / Project Properties?

In IS 2009 it simply dissapeared. Maintenace Experience is set to Multi-Instance, so if a previous version is already installed, the new one should be installed in parallel without any update being performed (assuming the target path is different, which we enforce by a different default).
Setting a non-existant "Supported Version(s)" under Media / Releases does not help.
Will I have to poke inside the generated script code (something like OnSetUpdateMode(), keeping UPDATEMODE false) to inhibit updating?


Stefan Krueger

Stefan Krueger


  • Administrators
  • 13,269 posts

Posted 09 May 2009 - 14:44

From help topic "Upgrading Projects from InstallShield 2008 or Earlier":


All InstallScript Installations Now Support Showing Update UI

All InstallScript projects now support showing the update user interface (UI). Previously, the General Information view and the Project Settings dialog box had a confusing option that enabled the update UI to be disabled. If the update UI was disabled, the MEDIA_FLAG_UPDATEMODE_SUPPORTED flag was not set for MEDIA_FIELD_MEDIA_FLAGS, and the OnSetUpdateMode event handler did not set the UPDATEMODE variable when appropriate. As a result, the update UI was not shown.

Note that changing the value of ISShowUpdateUI in the InstallShield table (which the previous option updated) no longer has any effect.

It is possible to duplicate the previous functionality through the following methods:

  • Override the OnSetUpdateMode event and update the function to return before setting the UPDATEMODE variable. The installation never shows the update UI.
  • Override the OnUpdateUIAfter event and change the call for FeatureRemoveAllInMediaAndLog to FeatureRemoveAllInMedia.