NTP Daemon

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search

NTP for Windows2000/XP/2003 (Meinberg)

Silent installer for the Meinberg port of NTP for Windows2000/XP/2003 http://www.meinberg.de/english/sw/ntp.htm#ntp_nt

Set yourself up an ntp.conf with your site specific settings and put with the installer.

<package 
		id="ntp" 
		name="Meinberg NTP" 
		revision="1" 
		priority="900" 
		reboot="true">
       <check type="uninstall" condition="exists" path="Network Time Protocol" />
		<install cmd="%SOFTWARE%\NTP\ntp-4.2.0a@mbg-fluxcap-v2-o-win32-setup.exe /USE_FILE=%SOFTWARE%\NTP\setup.ini" >
			<exit code="2" />
			<exit code="0" />
		</install>
		<install cmd='net stop "Network Time Protocol Daemon"' />
		<install cmd='cmd /c copy /y %SOFTWARE%\NTP\ntp.conf "C:\Program Files\NTP\etc\ntp.conf"' />
		<install cmd='net start "Network Time Protocol Daemon"' />
</package>

setup.ini

[Installer]
InstallDir=C:\Program Files\NTP
UpgradeMode=Reinstall
Logfile=C:\test_silent.log

[Components]
InstallTools=yes
InstallDocs=no
InstallOpenSSL=yes

[Service]
StartAfterInstallation=yes
AutoStart=yes
CreateAccount=yes
ServiceAccount=ntp
ServicePassword=Akdjf324o9ibvulkwf
DisableOthers=yes
AllowBigInitialTimestep=yes
EnableMMTimer=no

[Configuration]
UseConfigFile=C:\Program Files\NTP\etc\ntp.conf