Testing Your Picture Viewer ClickOnce Install Program

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. The publisher of the component is listed as unknown because the file isn't digitally signed.

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.

 Python   SQL   Java   php   Perl 
 game development   web development   internet   *nix   graphics   hardware 
 telecommunications   C++ 
 Flash   Active Directory   Windows