Thursday, July 26, 2012

ClickOnce

ClickOnce allows you to deploy and updates application via IIS. Like a web page or web service, Windows application can now be deployed in servers and allowed to be consume by clients. 

Steps:

1.) Setup web server where installer can be viewed via http.
2.) Setup shared folder where application can publish the installer.
3.) Setup project's properties ---> Publish Tab ---> (Refer to screen shot).















4.) 2 options in updating client application. Before the application launch and after.
Before application launch, a pop-up message will appear if there is an update. a user can defer this update by selecting "skip" button or can proceed with the update by selecting "ok" button.

Forced update to client can also be implemented by setting the minimum version before publishing the installer.
















SETUP---------------------------------
IIS-------------------
-SiteName == SharedFolder

SiteName
http://sgurcmsap1rh:8088/
app pool to framework 4

sharedfolder
c:\sharedFolder
Share to everyone with read and write

CLICK ONCE----------------
publishing folder
\\SGURCMSAP1RH\EMRDeployment\

Installation folder url - -AssignPort 8088
http://sgurcmsap1rh:8088/

use only the root in the installation folder url
since no application is converted.

http://sgurcmsap1rh:8088/
not
http://sgurcmsap1rh:8088/RafflesEMRUAT.htm
---------------------------------------------------