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

Determent if it is an upgrade

I have a InstallScript MSI Project.
I want too be able, in a script, to determent weather an installation is a first time installation or an upgrade from a previous installation.

I have tried IS_SMALL_UPGRADE and IS_MINOR_UPGRADE, but the compiler does not recognize this properties.

Can anyone help me?
Labels (1)
0 Kudos
(1) Reply
danjal
Level 5

I have figured out that if the message “This setup will perform an upgrade of…” appears I can put that special script in the event OnResumeUIBefore().

But is this the right way to do it?
0 Kudos