BT

Visual Studio and Installer Classes

| by Jonathan Allen Follow 641 Followers on Oct 23, 2007. Estimated reading time: less than one minute |

Visual Studio has rich support for installation-time actions. However, there is much documentation explaining just what you can do with it. That is why we are delighted to bring your attention to Arnaldo Sandoval's DevCity article on Installer Class and Custom Actions.

Installer classes can be created using any .NET language capable of being compiled into a library or executable. Arnaldo's walk-through uses C#. The walk-through begins with a flow-chart of installer events your module can respond to.

An important point called out by the author is that global variables not always being available from event to event. This is because the installer may reinitialize ones class from time to time. To share state between events, use the savedState parameter instead.

 

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss
BT