Exercises

The method in which the database was created in the custom action is just one way to accomplish the task. My goal was to show you the power of custom actions, not the absolute correct way to create a custom database.

For today's exercise, you're going to view a walkthrough from the software development kit (SDK) that shows you another way to handle database creation during installation using a resource file and custom dialogs.

To get to the walkthrough, search the SDK for Using a Custom Action to Create a Database During Installation.

Follow the project steps, which should take about 30 minutes, to learn about another option when creating custom actions. This exercise is also a good example of passing data from a custom dialog to an ...

Get Sams Teach Yourself Visual Studio® .NET 2003 in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.