cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
epotter
Level 5

'OnUpdateUIBefore' : function has no prototype declaration

I've got some code that I want to execute when my installer is running as an update. I would like to implement the OnUpdateUIBefore method, but when I do I get a compile error that says "function has no prototype declaration".

I'm using IS 2009 Premier.
My project is an InstallScript MSI project.

Is there a reason OnUpdateUIBefore can't be used?

Is there a better way to detect when an update is being done?

thanks
Labels (1)
0 Kudos
(3) Replies
joshstechnij
Level 10 Flexeran
Level 10 Flexeran

OnUpdateUIBefore is specific to pure InstallScript projects and is not available for InstallScript MSI. In full small updates or minor upgrades, the OnResumeUIBefore/After events run in InstallScript MSI. If these are delivered in the form of a patch, the OnPatchUIBefore/After events run.
0 Kudos
epotter
Level 5

Thanks. Using OnResumeUIBefore did exactly what I needed. Is there a reason that it is not listed in the Before Move Data script editor combo box?
0 Kudos
joshstechnij
Level 10 Flexeran
Level 10 Flexeran

OnResumeUIBefore is provided in the Miscellaneous category since overriding it provides less flexibility than first and maintenance UI events.
0 Kudos