Difference between revisions of "NTP Daemon"
From WPKG | Open Source Software Deployment and Distribution
m |
|||
| Line 4: | Line 4: | ||
Set yourself up an ntp.conf with your site specific settings and put with the installer. | Set yourself up an ntp.conf with your site specific settings and put with the installer. | ||
| − | < | + | <source lang="xml"> |
| − | + | <package | |
id="ntp" | id="ntp" | ||
name="Meinberg NTP" | name="Meinberg NTP" | ||
| Line 19: | Line 19: | ||
<install cmd='cmd /c copy /y %SOFTWARE%\NTP\ntp.conf "C:\Program Files\NTP\etc\ntp.conf"' /> | <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"' /> | <install cmd='net start "Network Time Protocol Daemon"' /> | ||
| − | + | </package> | |
| − | </ | + | </source> |
setup.ini | setup.ini | ||
| − | < | + | <source lang="ini"> |
[Installer] | [Installer] | ||
InstallDir=C:\Program Files\NTP | InstallDir=C:\Program Files\NTP | ||
| Line 46: | Line 46: | ||
[Configuration] | [Configuration] | ||
UseConfigFile=C:\Program Files\NTP\etc\ntp.conf | UseConfigFile=C:\Program Files\NTP\etc\ntp.conf | ||
| − | </ | + | </source> |
[[Category:Silent Installers]] | [[Category:Silent Installers]] | ||
Latest revision as of 20:50, 20 February 2008
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