Thursday, 24 September 2015

Automation: Silent Installation of Notepad++ in all windows servers.

The goal is to Install Notepad ++ software in all windows servers in a custom location with the help of Jenkins tool.



1) Create a Jenkins job and configure the Jenkins job to connect to all windows boxes with the help of Matrix Project Plugin where you want to install Notepad ++ software.

2) Copy the Notepad ++ software file into a shared path which can be accessed from all windows boxes.

3) Add below batch script to your Jenkins job and Run the Jenkins job.



echo Start DateTime : %date%_%time%

xcopy "\\server1\d$\backup\npp.6.6.8.Installer.exe" "D:\backup" 

cd D:\backup

npp.6.6.8.Installer.exe /S /D=D:\***

del npp.6.6.8.Installer.exe

echo End DateTime : %date%_%time%