PDA

View Full Version : OnUpdateUIBefore on installscript msi



shlomi
06-21-2009, 03:54 AM
I want to create an installscript msi project but use scripts that I have from installscript projects.
but I get error like OnUpdateUIBefore functions has no prototype
How can I solve this issue?

Reureu
06-22-2009, 06:16 AM
You need to declare your function

just add the following line, either at the top of your implementation (.RUL) file, or in the corresponding header (.H) file.


prototype OnUpdateUIBefore();


When you work in an Installscript project, this function is already pre-declared. But that's not the case in an MSI project.

Regards

RobertDickau
06-22-2009, 05:17 PM
For a minor upgrade in an InstallScript MSI project, perhaps see if OnResumeUIBefore does what you want.