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
- :
- Quick patch question...
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
‎Jul 23, 2012
04:45 AM
Quick patch question...
Hi
I am working on a quick patch for a module, which is supposed to replace some files and add some new ones. The original install conditionally performs some operations (file copy, registry entries etC) based on the value of a property. This property is getting set with in a custom action which is part of the UI sequence (mapped to the Next button of a dialog)..
When applying the quick patch, (from the log) it seems like this custom action is not invoked, and so the property is not getting set correctly, which results in some of the files and registry entries to be deleted after the quick patch is applied.
Questions
1. Is there a way to set the value of a property using a quick patch project.
2. In the quick patch configuraiton, under Custom actions, what is the effect of disabling/unchecking one or more actions. If an action is disabled, does that mean this action wont be INVOKED during the patch application?
Thanks
I am working on a quick patch for a module, which is supposed to replace some files and add some new ones. The original install conditionally performs some operations (file copy, registry entries etC) based on the value of a property. This property is getting set with in a custom action which is part of the UI sequence (mapped to the Next button of a dialog)..
When applying the quick patch, (from the log) it seems like this custom action is not invoked, and so the property is not getting set correctly, which results in some of the files and registry entries to be deleted after the quick patch is applied.
Questions
1. Is there a way to set the value of a property using a quick patch project.
2. In the quick patch configuraiton, under Custom actions, what is the effect of disabling/unchecking one or more actions. If an action is disabled, does that mean this action wont be INVOKED during the patch application?
Thanks
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 23, 2012
05:02 AM
As an extension to my original post, one quick basic question...
When a quick patch is applied, are all the files removed first and then recopied (from the location of the orginal setup) and then the files in the quick patch updated?
OR
Does the quick patch JUST UPDATE THE files included in the patch in the install location in the target machine??
The log report removeactions being invoked like
Action 14:03:40: RemoveRegistryValues. Removing system registry values
Action 14:03:40: RemoveIniValues. Removing INI file entries
Action 14:03:40: RemoveShortcuts. Removing shortcuts
Action 14:03:40: RemoveEnvironmentStrings. Updating environment strings
Action 14:03:40: RemoveDuplicateFiles. Removing duplicated files
Action 14:03:40: RemoveFiles. Removing files
Action 14:03:40: RemoveFolders. Removing folders
Let us know
Thanks
When a quick patch is applied, are all the files removed first and then recopied (from the location of the orginal setup) and then the files in the quick patch updated?
OR
Does the quick patch JUST UPDATE THE files included in the patch in the install location in the target machine??
The log report removeactions being invoked like
Action 14:03:40: RemoveRegistryValues. Removing system registry values
Action 14:03:40: RemoveIniValues. Removing INI file entries
Action 14:03:40: RemoveShortcuts. Removing shortcuts
Action 14:03:40: RemoveEnvironmentStrings. Updating environment strings
Action 14:03:40: RemoveDuplicateFiles. Removing duplicated files
Action 14:03:40: RemoveFiles. Removing files
Action 14:03:40: RemoveFolders. Removing folders
Let us know
Thanks
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 23, 2012
07:08 AM
firmusoft wrote:
2. In the quick patch configuraiton, under Custom actions, what is the effect of disabling/unchecking one or more actions. If an action is disabled, does that mean this action wont be INVOKED during the patch application?
Thanks
All
In the patch configuration, under General Information | Custom Actions, i unchecked one action that is configured to run in the Execute Sequence with the following properties (in the original install)
Return processing - Synchronous
Inscript execution - Immediate
Execution scheduling - Always
However when the patch is being applied, i am finding that this action is invoked. The help for custom actions in patch configuration says "If the check box for a custom action is disabled, that action would not normally be run during a QuickPatch installation.". So what are the "abnormal" scenarios where an unchecked action can still be invoked by the installer????
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)