NAV-Server als Dienst installieren: Unterschied zwischen den Versionen
Aus MattWiki
Matt (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Matt (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt) | |||
Zeile 2: | Zeile 2: | ||
== NAV 2009 (6.xx) == | == NAV 2009 (6.xx) == | ||
'''''services-nav600-install.cmd''''' | |||
@ECHO OFF | <syntaxhighlight lang="winbatch">@ECHO OFF | ||
SET SERVICENAME=NAV601 | SET SERVICENAME=NAV601 | ||
SET SERVICEPATH=C:\Program Files (x86)\Microsoft Dynamics NAV\601\Service %SERVICENAME% | SET SERVICEPATH=C:\Program Files (x86)\Microsoft Dynamics NAV\601\Service %SERVICENAME% | ||
Zeile 10: | Zeile 10: | ||
SC CREATE MicrosoftDynamicsNAVServer$%SERVICENAME% binpath= "%SERVICEPATH%\Microsoft.Dynamics.Nav.Server.exe $%SERVICENAME%" DisplayName= "NAV Server %SERVICENAME%" start= auto type= own depend= NetTcpPortSharing | SC CREATE MicrosoftDynamicsNAVServer$%SERVICENAME% binpath= "%SERVICEPATH%\Microsoft.Dynamics.Nav.Server.exe $%SERVICENAME%" DisplayName= "NAV Server %SERVICENAME%" start= auto type= own depend= NetTcpPortSharing | ||
SC CREATE MicrosoftDynamicsNAVWS$%SERVICENAME%WS binpath= "%SERVICEPATH%\Microsoft.Dynamics.Nav.Server.exe $%SERVICENAME%WS" DisplayName= "NAV Server %SERVICENAME% Webservice" type= share start= auto depend= NetTcpPortSharing | SC CREATE MicrosoftDynamicsNAVWS$%SERVICENAME%WS binpath= "%SERVICEPATH%\Microsoft.Dynamics.Nav.Server.exe $%SERVICENAME%WS" DisplayName= "NAV Server %SERVICENAME% Webservice" type= share start= auto depend= NetTcpPortSharing | ||
PAUSE</ | PAUSE</syntaxhighlight> | ||
'''''services-nav600-uninstall.cmd''''' | |||
<syntaxhighlight lang="winbatch">@ECHO OFF | |||
@ECHO OFF | |||
SET SERVICENAME=NAV601 | SET SERVICENAME=NAV601 | ||
SC DELETE MicrosoftDynamicsNAVServer$%SERVICENAME% | SC DELETE MicrosoftDynamicsNAVServer$%SERVICENAME% | ||
SC DELETE MicrosoftDynamicsNAVWS$%SERVICENAME%WS | SC DELETE MicrosoftDynamicsNAVWS$%SERVICENAME%WS | ||
PAUSE</ | PAUSE</syntaxhighlight> | ||
== NAV 2013 R2 (7.1) == | == NAV 2013 R2 (7.1) == | ||
'''''services-nav710-install.cmd''''' | |||
<syntaxhighlight lang="winbatch">@ECHO OFF | |||
@ECHO OFF | |||
SET SERVICENAME=NAV710 | SET SERVICENAME=NAV710 | ||
SET SERVICEPATH=C:\Program Files\Microsoft Dynamics NAV\710\Service %SERVICENAME% | SET SERVICEPATH=C:\Program Files\Microsoft Dynamics NAV\710\Service %SERVICENAME% | ||
SC CREATE MicrosoftDynamicsNAVServer$%SERVICENAME% binpath= "%SERVICEPATH%\Microsoft.Dynamics.Nav.Server.exe $%SERVICENAME%" DisplayName= "NAV Server %SERVICENAME%" start= auto type= own depend= NetTcpPortSharing | SC CREATE MicrosoftDynamicsNAVServer$%SERVICENAME% binpath= "%SERVICEPATH%\Microsoft.Dynamics.Nav.Server.exe $%SERVICENAME%" DisplayName= "NAV Server %SERVICENAME%" start= auto type= own depend= NetTcpPortSharing | ||
PAUSE</ | PAUSE</syntaxhighlight> | ||
'''''services-nav710-uninstall.cmd''''' | |||
@ECHO OFF | <syntaxhighlight lang="winbatch">@ECHO OFF | ||
SET SERVICENAME=NAV710 | SET SERVICENAME=NAV710 | ||
NET STOP MicrosoftDynamicsNAVServer$%SERVICENAME% | NET STOP MicrosoftDynamicsNAVServer$%SERVICENAME% | ||
SC DELETE MicrosoftDynamicsNAVServer$%SERVICENAME% | SC DELETE MicrosoftDynamicsNAVServer$%SERVICENAME% | ||
PAUSE</ | PAUSE</syntaxhighlight> | ||
[[Category:NAV]] |
Aktuelle Version vom 20. Februar 2014, 09:49 Uhr
Skripte, um einen NAV Middle-Tier-Server als Dienst zu installieren
NAV 2009 (6.xx)
services-nav600-install.cmd
@ECHO OFF
SET SERVICENAME=NAV601
SET SERVICEPATH=C:\Program Files (x86)\Microsoft Dynamics NAV\601\Service %SERVICENAME%
SC CREATE MicrosoftDynamicsNAVServer$%SERVICENAME% binpath= "%SERVICEPATH%\Microsoft.Dynamics.Nav.Server.exe $%SERVICENAME%" DisplayName= "NAV Server %SERVICENAME%" start= auto type= own depend= NetTcpPortSharing
SC CREATE MicrosoftDynamicsNAVWS$%SERVICENAME%WS binpath= "%SERVICEPATH%\Microsoft.Dynamics.Nav.Server.exe $%SERVICENAME%WS" DisplayName= "NAV Server %SERVICENAME% Webservice" type= share start= auto depend= NetTcpPortSharing
PAUSE
services-nav600-uninstall.cmd
@ECHO OFF
SET SERVICENAME=NAV601
SC DELETE MicrosoftDynamicsNAVServer$%SERVICENAME%
SC DELETE MicrosoftDynamicsNAVWS$%SERVICENAME%WS
PAUSE
NAV 2013 R2 (7.1)
services-nav710-install.cmd
@ECHO OFF
SET SERVICENAME=NAV710
SET SERVICEPATH=C:\Program Files\Microsoft Dynamics NAV\710\Service %SERVICENAME%
SC CREATE MicrosoftDynamicsNAVServer$%SERVICENAME% binpath= "%SERVICEPATH%\Microsoft.Dynamics.Nav.Server.exe $%SERVICENAME%" DisplayName= "NAV Server %SERVICENAME%" start= auto type= own depend= NetTcpPortSharing
PAUSE
services-nav710-uninstall.cmd
@ECHO OFF
SET SERVICENAME=NAV710
NET STOP MicrosoftDynamicsNAVServer$%SERVICENAME%
SC DELETE MicrosoftDynamicsNAVServer$%SERVICENAME%
PAUSE