heroesfalo.blogg.se

Advanced installer command line parameters custom action
Advanced installer command line parameters custom action












Right-click the setup project and select Custom Actions from the View menu.Add your logic into the event handler that is created (this is your custom action).From the Properties grid select the Event view, followed by the event that you want to wire up (eg AfterInstall) – Double-clicking the drop-down box will create an empty event handler!.If the Installer item is not currently open, double-click it in the Solution Explorer to open the designer.Add an Installer item to your application (from the New Item dialog select the Installer template).The process goes a bit like this (assumes that you have already created your setup project and have added the primary output of your application): Each action can be written in managed code in a similar way to a typical event handler. These can be hooked up to the installer to execute at various points such as Before/After Install, Before/After Rollback and Before/After Uninstall.

advanced installer command line parameters custom action

One of the common tasks when building an installer for an desktop application is to add your own Custom Actions.

advanced installer command line parameters custom action

This post is more of a permanent pointer so that I don’t have to trawl the web every time I want to find this information.














Advanced installer command line parameters custom action