Silent Installation Implementation in ClickOnce Application




What is Silent Installation?
A silent install is the installation of a software program that requires no user interaction. It is a convenient way to streamline the installation process of a desktop application. In a non-silent or "attended installation," the user is prompted to select or confirm these options during the installation process. In a silent install, these items are selected automatically and the installer runs from start to finish without requiring any user input.

How to create a custom installer that silently installs a ClickOnce application

  1. In your ClickOnce application, add references to System.Deployment and System.Windows.Forms.
  2.  Add a new class to your application and specify any name. This walkthrough uses the name MyInstaller. 
  3. Add the following Imports or using statements to the top of your new class. 
  4. Add the following(see the attached images of MyInstaller.cs) methods to your class.

MyInstaller -1


MyInstaller -2


EventViewer

Comments

Popular posts from this blog

OutSystems – A Low-code Development Platform

What is difference between Azure Cognitive Search and Elastic Search

failed to access iis metabase asp.net