Check Status of Package Installation
Hi,
I am using Wise Package Studio 8. I have specific requirement of creating registry keys only if the product is installed/uninstalled successfully. I had created a wise script to create the registry keys, and I know i have to use custom action to do the required. But i don't know how to check the status of package installation and where should i insert the custom action.
Hope somebody could help me out.
Regards
Rahul
I am using Wise Package Studio 8. I have specific requirement of creating registry keys only if the product is installed/uninstalled successfully. I had created a wise script to create the registry keys, and I know i have to use custom action to do the required. But i don't know how to check the status of package installation and where should i insert the custom action.
Hope somebody could help me out.
Regards
Rahul
0 Comments
[ + ] Show comments
Answers (7)
Please log in to answer
Posted by:
murali.bhat
13 years ago
If you keep the registry keys in the registry table, it gets installed onto the system during installation. If you are specific using Custom action only, then you can create a .reg file and call it in the commandline CA "Install from Destination". Use condtions "NOT Installed" (runs during installation) or "REMOVE" (runs during uninstallation)
Posted by:
itsrahulsingh
13 years ago
Posted by:
Teitan
13 years ago
Place your deferred custom action right before the Install Finalze action in the Install Execute Sequence.
If the installation of your MSI is not successful at some point, the MSI will do a rollback action and your reg keys are not installed.
The reg keys will only be installed if all actions which are executed before your custom action are successful.
Perhaps it's possible to schedule actions to "on error" but a short search on google didn't bring me any infos about that. Somebody knows anything about that?
If the installation of your MSI is not successful at some point, the MSI will do a rollback action and your reg keys are not installed.
The reg keys will only be installed if all actions which are executed before your custom action are successful.
Perhaps it's possible to schedule actions to "on error" but a short search on google didn't bring me any infos about that. Somebody knows anything about that?
Posted by:
anonymous_9363
13 years ago
Posted by:
itsrahulsingh
13 years ago
Posted by:
Teitan
13 years ago
Posted by:
jmcfadyen
13 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.