NAV-Server als Dienst installieren: Unterschied zwischen den Versionen
Aus MattWiki
Matt (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „Skripte, um einen NAV Middle-Tier-Server als Dienst zu installieren == NAV 2013 R2 (7.1) == <nowiki>services-nav710-install.cmd @ECHO OFF SET SERVICENAME=NA…“) |
Matt (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
Zeile 1: | Zeile 1: | ||
Skripte, um einen NAV Middle-Tier-Server als Dienst zu installieren | Skripte, um einen NAV Middle-Tier-Server als Dienst zu installieren | ||
== NAV 2009 (6.xx) == | |||
<nowiki>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</nowiki> | |||
<nowiki>services-nav600-uninstall.cmd | |||
@ECHO OFF | |||
SET SERVICENAME=NAV601 | |||
SC DELETE MicrosoftDynamicsNAVServer$%SERVICENAME% | |||
SC DELETE MicrosoftDynamicsNAVWS$%SERVICENAME%WS | |||
PAUSE</nowiki> | |||
== NAV 2013 R2 (7.1) == | == NAV 2013 R2 (7.1) == |
Version vom 5. Februar 2014, 10:40 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