Hi,
You can schedule your Custom Action under
"InstallFinalize" but in this case it can be executed only as "Immediate". Please note that under Windows Vista the custom actions that performs system modifications (like your .NET Custom Action may) can be executed only as
Deffered with no impersonation, otherwise they will fail .Therefore I recommend creating it under
"Install".
In the Custom Action Properties window you must leave the "Function Name" field to its default value "LaunchDotNetCustomAction".In this case the Action argument of the
.NET Custom Action will be set to "Install" and in your code you will override the Install method of your Installer-descendant class. For more details see
this page .
Best regards,
Cristi
______________________________
Cristi Costache
Advanced Installer Team
http://www.advancedinstaller.com/