NAV-Server als Dienst installieren: Unterschied zwischen den Versionen

Aus MattWiki
(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…“)
 
Keine Bearbeitungszusammenfassung
 
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
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) ==
'''''services-nav600-install.cmd'''''
<syntaxhighlight lang="winbatch">@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</syntaxhighlight>
'''''services-nav600-uninstall.cmd'''''
<syntaxhighlight lang="winbatch">@ECHO OFF
SET SERVICENAME=NAV601
SC DELETE MicrosoftDynamicsNAVServer$%SERVICENAME%
SC DELETE MicrosoftDynamicsNAVWS$%SERVICENAME%WS
PAUSE</syntaxhighlight>


== NAV 2013 R2 (7.1) ==
== NAV 2013 R2 (7.1) ==
<nowiki>services-nav710-install.cmd
'''''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</nowiki>
PAUSE</syntaxhighlight>


<nowiki>services-nav710-uninstall.cmd
'''''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</nowiki>
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