Why Custom Action Type 51 is Required
Updated: 19 Aug 2008 | 1 comment
If you have always wondered why we need to anSet Property Custom action when there is already a Property table to handle it, then this is for you.
Suppose we have to create a property based on the value of another property - in that case we cannot use the Property table to handle this. There will be a circular reference in which one property would be based on the other.
In this scenario we use Set Property Custom Action. To affect a property used in a condition on a component or feature, the custom action must come before the CostFinalize action in the action sequence.
blog entry Filed Under:
The Endpoint Management Community Blog is the perfect place to share short, timely insights including product tips, news and other information relevant to the Endpoint Management community. Any authenticated Connect member can contribute to this blog.
Comments
Example scenario...
One example scenario for this implementation is when we need a machine reboot to happen only after installation.
In this case, when we use REBOOT=Force property in the property table, it will show the restart dialog in every phases. (advertised installation, installation, repair and un-installation).
To avoid this, we can write a custom action which runs only while installation.
ie., If NOT Installed
Set property "REBOOT" with value "Force"
End
(just an algorithm)
Cheers'
Vijay
Microsoft MVP [Setup-Deploy]
Weblog: www.msigeek.com
Would you like to reply?
Login or Register to post your comment.