cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
shjones99
Level 2

Why is OnMaintUIBefore begin called?

I converted an InstallShield 8 project to InstallShield 2008. There is no difference between the two projects (other than the version of IS). The 2008 version calls OnMaintUIBefore, but the IS 8 version does not.

Can anyone tell me why?

Thank you!
Labels (1)
0 Kudos
(3) Replies
joshstechnij
Level 10 Flexeran
Level 10 Flexeran

The OnMaintUIBefore event in InstallScript MSI projects is called when the product code and package code for the MSI package you are launching are already present on the machine. If you would like to perform an upgrade, at the very least, the package code must be changed.
0 Kudos
shjones99
Level 2

But why is it being called from the IS2008 version of the project, but not being called by the IS8 version?
0 Kudos
joshstechnij
Level 10 Flexeran
Level 10 Flexeran

If you are launching a setup built with IS 2008 that uses the same product code and package code as a previously installed product, the new project will be launched in maintenance mode.

Is there some specific behavior you are looking for?
0 Kudos