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
- :
- Patch scenario not working...
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
‎May 03, 2011
02:37 PM
Patch scenario not working...
After releasing our base product (7.2.0), Service Pack 1 (7.2.1) has been released.
Service pack 1 was created using Patch Design View. So, it's a patch form.
Now, I need to create a small patch using a Patch Design View, and this patch is targeting the base product (7.2.0) only.
The patch shouldn't be able to install if SP1 is already installed.
If a user tries to install this patch on top of service pack 1, I need to display an error message and abort the patch setup.
I've added a new InstallScript custom action to check for installed version.
But, if I already have the service pack 1 installed, the new custom action doesn't seem to run.
It's not just skipping it. It looks like MSI doesn't recognize the new custom action at all.
MSI log doesn't even mention the new custom action.
IS support is saying that if my patch targets the base product only, it should say that this patch can’t be run because the program to be upgraded is missing.
But, I tested with small installers that install one file and that's not the case.
The patch install goes through to the end and it doesn't complain.
If there's another way to display the message and abort the setup, what would it be?
Thanks.
Service pack 1 was created using Patch Design View. So, it's a patch form.
Now, I need to create a small patch using a Patch Design View, and this patch is targeting the base product (7.2.0) only.
The patch shouldn't be able to install if SP1 is already installed.
If a user tries to install this patch on top of service pack 1, I need to display an error message and abort the patch setup.
I've added a new InstallScript custom action to check for installed version.
But, if I already have the service pack 1 installed, the new custom action doesn't seem to run.
It's not just skipping it. It looks like MSI doesn't recognize the new custom action at all.
MSI log doesn't even mention the new custom action.
IS support is saying that if my patch targets the base product only, it should say that this patch can’t be run because the program to be upgraded is missing.
But, I tested with small installers that install one file and that's not the case.
The patch install goes through to the end and it doesn't complain.
If there's another way to display the message and abort the setup, what would it be?
Thanks.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 04, 2011
08:25 AM
Where in the MSI sequence do you have the custom action scheduled? Is it scheduled for immediate execution, deferred execution, etc.?
Can you provide the condition you have set on the custom action? Also is there anything that precedes this custom action that could cause it to not run. Like is it only scheduled to run if the app is not installed?
Can you provide the condition you have set on the custom action? Also is there anything that precedes this custom action that could cause it to not run. Like is it only scheduled to run if the app is not installed?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 04, 2011
08:44 AM
It's an immediate execution (Always Execute) right after ISSetupFilesExtract in UI sequence.
The only condition on the custom action is PATCH.
I've tried it with no condition, but I get the same result.
I'd like to have the message pop up before PatchWelcome dialog..
Thanks.
The only condition on the custom action is PATCH.
I've tried it with no condition, but I get the same result.
I'd like to have the message pop up before PatchWelcome dialog..
Thanks.
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)