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
- :
- Upgrading
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
Mar 04, 2009
01:46 AM
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
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
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 04, 2009
01:04 PM
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