Horje
how to install windows service using batch file Code Example
how to install windows service using batch file
@echo off

SET PROG="c:\YourServiceLocation\Service.exe" SET FIRSTPART=%WINDIR%"\Microsoft.NET\Framework\v" SET SECONDPART="\InstallUtil.exe" SET DOTNETVER=4.0.30319 IF EXIST %FIRSTPART%%DOTNETVER%%SECONDPART% GOTO install

GOTO fail :install ECHO Found .NET Framework version %DOTNETVER% ECHO Installing service %PROG% %FIRSTPART%%DOTNETVER%%SECONDPART% %PROG% GOTO end :fail echo FAILURE -- Could not find .NET Framework install :param_error echo USAGE: installNETservie.bat [install type (I or U)] [application (.exe)] :end ECHO DONE!!! Pause




Shell

Related
raspberry pi connect to wifi via terminal Code Example raspberry pi connect to wifi via terminal Code Example
bash ignore stderr Code Example bash ignore stderr Code Example
how to define a variable in bashrc Code Example how to define a variable in bashrc Code Example
git ajouter tous les fichiers Code Example git ajouter tous les fichiers Code Example
add all the files to staging which will be then be added to the commit. Code Example add all the files to staging which will be then be added to the commit. Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8