From application list application can be updated.

servicelist

 

Update can be complete update or partial update.

Complete update change all existing files with new files. Application component file (zip) must have all aplication files.

Partial Update copy new files to deployment directory and owerwrite if yet exists.

update

For Update actions configure command files can be needed.

For example, for service deployment…

before.cmd file can be use to stop service.

NET STOP "AzureMultiApp.Service"
IF ERRORLEVEL == 2 EXIT 0
IF ERRORLEVEL == 9009 EXIT 0
IF ERRORLEVEL == -1 EXIT 0
:end

setup.cmd file can be use to do create and start service.

"%Windir%\Microsoft.NET\Framework\v4.0.30319\installutil" /u "WindowsServiceSample.exe"
"%Windir%\Microsoft.NET\Framework\v4.0.30319\installutil" "WindowsServiceSample.exe"
NET START "AzureMultiApp.Service"
ERRORLEVEL == 2 EXIT 0
IF ERRORLEVEL == 9009 EXIT 0
IF ERRORLEVEL == -1 EXIT 0
:end

Last edited Aug 9, 2011 at 9:03 AM by ibonilm, version 2

Comments

No comments yet.