Difference between revisions of "NTP Daemon"
From WPKG | Open Source Software Deployment and Distribution
| Line 47: | Line 47: | ||
UseConfigFile=C:\Program Files\NTP\etc\ntp.conf | UseConfigFile=C:\Program Files\NTP\etc\ntp.conf | ||
</pre> | </pre> | ||
| + | |||
| + | [[Category:Silent Installers]] | ||
Revision as of 23:57, 6 March 2007
NTP for Windows2000/XP/2003 (Mienberg)
Silent installer for the Mienberg 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="Mienberg 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