Testing Your Picture Viewer ClickOnce Install Program


Run the Setup.exe file in your designated ClickOnce folder to start the install. You might notice a quick window that shows an animated dialog indicating that the computer is checking for a valid Internet connection (you might also get prompted to allow such access if you have a firewall in place). The first dialog you can interact with is a security warning as shown in Figure 23.6. The publisher of the component is listed as unknown because the file isn't digitally signed.

Figure 23.6. All ClickOnce programs launch with a security warning.


Did you Know?

Digitally signing a file is beyond the scope of this book, but if this is important to you, you can learn more at http://www.verisign.com/ (search for Code Signing).


Click Install to install the Picture Viewer.

That's it! There are no additional dialog boxes to deal with. In fact, the Picture Viewer launches automatically when the install completes.

Now, open your Start menu, and you will see a new folder. It most likely will be the company name you used to register Visual C# 2005. In that folder is the Picture Viewer application shortcut the user can click to run the program.




Sams Teach Yourself Microsoft Visual C# 2005 in 24 Hours, Complete Starter Kit
Sams Teach Yourself Visual C# 2005 in 24 Hours, Complete Starter Kit
ISBN: 0672327406
EAN: 2147483647
Year: N/A
Pages: 248
Authors: James Foxall

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