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

Create install without maintenance


2 replies to this topic

Enoch Chum

Enoch Chum
  • Members
  • 12 posts

Posted 10 November 2001 - 00:38

Hi All!

Here are my questions

1) I want to change my standard install project so that it will always perform a install. In earlier versions of Installshield professional, you were able to do this. Are you allowed to do this in Developer 7?

2) How can I guarantee that during an install the same piece of Installscript code will always be run regardless of whether I am installing for the first time or not?

Thanks,
Enoch


JG1007

JG1007
  • Members
  • 2 posts

Posted 12 November 2001 - 04:40

In the Project Properties, there is a property called "Enable Maintenance".  Set it to no.  This means that the OnMaintUIBegin event will never be called.  The code in OnFirstUIBegin will always be called, unless the product is already installed, in whcih case the OnUninstalling event will be called.

Enoch Chum

Enoch Chum
  • Members
  • 12 posts

Posted 13 November 2001 - 16:23

Thanks. Is it possible to have neither the OnUninstall() event called nor the maintenance events called?