Running a Custom Setup Program

You should always test your setup programs before distribution. (I recommend that you test your setup wizard on a separate machine when possible.) You're now going to run the custom setup program that you've built, but you'll just do it on your current machine.

Shut down Visual C# .NET now, saving your work if prompted to do so. Double-click the installation program in the Release folder to start your custom setup program (the file with the .MSI extension is the Windows Installer file that runs your custom setup program). The setup program is a wizard (see Figure 22.8), so installation is pretty simple for an end user. Click Next to pass the Welcome page.

Figure 22.8. Your final setup program is in the form of a ...

Get Sams Teach Yourself Microsoft® Visual C#™ .NET in 24 Hours 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.