cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
yamakamyar
Level 6

Upgrading

Hi:

I would like to call an installscript function:

export prototype myCustomActionFunction(HWND);

1. only when patching
2. only when it is a minor upgrade
3. only when it is a major upgrade
4. only when it is an uninstall
5. only when it is an install
6. combo 4 + (1 or 2 or 3)

How can I do this? In script? On the property custom action sheets?

Thanks,
Yama
Labels (1)
0 Kudos
(1) Reply
RobertDickau
Flexera Alumni

As a condition on the custom action (not in code):
  • patching: PATCH
  • minor upgrade: use same condition as SetupResume
  • major upgrade: use "action property" from Upgrade table; by default ISACTIONPROP1
  • uninstall: REMOVE="ALL" after InstallValidate
  • first-time install: Not Installed
0 Kudos