This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: 'OnUpdateUIBefore' : function has no prototype declaration
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 01, 2009
02:56 PM
'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
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
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 01, 2009
06:05 PM
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.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 02, 2009
08:59 AM
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?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 02, 2009
11:14 AM
OnResumeUIBefore is provided in the Miscellaneous category since overriding it provides less flexibility than first and maintenance UI events.