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
- :
- Re: Custom Actions that Meet Vista Requirements
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
‎Aug 12, 2007
05:23 PM
Custom Actions that Meet Vista Requirements
I have a Basic MSI installation and I have a question about an InstallScript custom action I have written that calls MsiSetProperty() to set a property in the property table.
In the IS Help topic, "Guidelines for Creating Custom Actions that Meet Requirements of the Certified for Windows Vista Program", it states that the intended behavior of each custom action must be documented. It then goes on to say that this requirement does not apply to custom action types 51 (those that set a property), among others.
I am wondering if my custom action, described above, would be considered a type 51. I am just interested in semantics here, as it doesn't seem to me like a big deal to have to document the behavior of a custom action.
In the IS Help topic, "Guidelines for Creating Custom Actions that Meet Requirements of the Certified for Windows Vista Program", it states that the intended behavior of each custom action must be documented. It then goes on to say that this requirement does not apply to custom action types 51 (those that set a property), among others.
I am wondering if my custom action, described above, would be considered a type 51. I am just interested in semantics here, as it doesn't seem to me like a big deal to have to document the behavior of a custom action.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 13, 2007
12:05 AM
No. your action will not qualify as type 51. You can see the action type in te custom action view. It has a disabled field "MSI type number" Type 51 is when you choose "New Set Property"
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 13, 2007
09:43 AM
Thanks, I see what you mean. When you click on the custom action in the Custom Actions and Sequences view, the MSI Type Number property is shown, but it's disabled.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 13, 2007
10:33 AM
Just to echo charlieantao here, an InstallScript action will not receive the type 51 exception. The exception is given because what a type 51 action does is clear in the MSI database itself: both source value and target property are clear in the CustomAction table. InstallScript actions, on the other hand, are effectively unreadable custom DLL code. Using an MSI log you could find out that it changes a property, but you couldn't easily verify what else it does or doesn't do.