PDA

View Full Version : How installshield decides either to call OnFirstUIBefore or OnMaintUIBefore?



tpraveen
07-21-2005, 08:48 AM
Hi,

I am having one basic question:

How install shield decides either to call OnFirstUIBefore event handler or OnMaintUIBefore event handler?

RobertDickau
07-21-2005, 09:11 AM
I think it's determined by logic in the OnShowUI event handler (in the Advanced category).

tpraveen
07-21-2005, 09:34 AM
In my installscript code OnShowUI event handler not at all getting called but some time setup is calling OnFirstUIBefore and some time OnMaintUIBefore.

tpraveen
07-21-2005, 09:38 AM
Can you please tell me how installshield decides to set TRUE or FALSE for system variable "MAINTENANCE".

mikenac
07-22-2005, 03:56 PM
I believe that it looks at:

HKLM\Software\Microsoft\Windows\CurrentVersion\{GUID}

to see if the GUID part matches your product GUID.

nik_lin
06-19-2008, 02:36 AM
I would say it checks the registry at:

hklm\software\microsoft\windows\currentversion\uninstall\{GUID}

plus the information at

C:\program files\InstallShield Installation Information\{GUID}

My install kept jumping to OnMaintUIBefore all the time until i deleted the {GUID} folder inside program files for my application. Once that one was cleared things are working ok again.