Installation


Now, you can start installing the Simple Editor application. Double-click the Setup.exe file, or select the WroxSimpleEditor.msi file. Right-click to open the context menu and choose the Install option.

You can also start the installation from within Visual Studio 2005 by right-clicking the opened installation project in the Solution Explorer and selecting Install, as shown in Figure 17-30.

image from book
Figure 17-30

As you can see in the following screenshots, all the dialogs have the Wrox logo, and the inserted ReadMe and License Agreement dialogs appear with the configured files.

Let's walk through the installation sequence.

Welcome

The first dialog to be seen is the Welcome dialog (see Figure 17-31). In this dialog, you can see the Wrox logo that was inserted by setting the value of the BannerBitmap property. The text that can be seen is defined with the WelcomeText and CopyrightWarning properties. The title of this dialog results from the ProductName property that you set with the project properties.

image from book
Figure 17-31

Read Me

After pressing the Next button, you can see the Read Me dialog (see Figure 17-32). It shows the Rich Text file readme.rtf that was configured by setting the ReadmeFile property.

image from book
Figure 17-32

License Agreement

The third dialog to appear is the license agreement. Here, you have only configured the BannerBitmap and the LicenseFile properties. The radio buttons to agree to the license are added automatically. As you can see in Figure 17-33, the Next button stays disabled until the I agree button is pressed. This functionality is automatic with this dialog.

image from book
Figure 17-33

Optional Files

Agreeing to the license information and pressing the Next button displays the Checkboxes (A) dialog (see Figure 17-34). You should see the text that was defined with the BannerText, BodyText, and Checkbox1Label properties. The other check boxes are not visible because the specific CheckboxVisible property was set to false.

image from book
Figure 17-34

Selecting the check box will install the file demo.wroxtext to the desktop.

Select Installation Folder

In the Installation Folder dialog (see Figure 17-35) the user can select the path where the application should be installed. This dialog allowed us to set only the BannerBitmap property. The default path shown is [Program Files]\[Manufacturer]\[Product Name].

image from book
Figure 17-35

Disk Cost

Pressing the Disk Cost button opens the dialog shown in Figure 17-36. Here, the disk space of all hard drives is displayed, and the required space for every disk is calculated. This helps the user to choose a disk where the application should be installed.

image from book
Figure 17-36

Confirm Installation

The next dialog (see Figure 17-37) is the last before the installation finally starts. No more questions are asked; this is just the last chance to cancel the installation before it really starts.

image from book
Figure 17-37

Progress

The Progress dialog (see Figure 17-38) shows a progress control during installation to keep the user informed that the installation is continuing and to give a rough idea of how long the installation will last. Since the editor is a small program, this dialog finishes very fast.

image from book
Figure 17-38

Installation Complete

After a successful installation you see the last dialog (see Figure 17-39): Installation Complete.

image from book
Figure 17-39

Running the Application

The editor can be started from the menu entry Start All Programs Wrox Simple Editor.

Because you registered a file extension, there's another way to start the application: double-click a file with the file extension .wroxtext. If you selected the check box with the Optional Files dialog, you can find demo.wroxtext on your desktop, otherwise you can create such a file with the now installed Simple Editor tool.

Uninstall

If you really want to get rid of the Wrox Simple Editor, you can use Add/Remove Programs from the Control Panel and press the Remove button for the Simple Editor.




Beginning Visual C# 2005
Beginning Visual C#supAND#174;/sup 2005
ISBN: B000N7ETVG
EAN: N/A
Year: 2005
Pages: 278

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net