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
Also in C++:
- makefile ifeq or
- debian install nvidia driver
- show internet password
- shebang
- atom install
- git exclude some files from git commit
- password encryptin powershell
- ubuntu lemp
- sed replace number
- git push existing clone
- install dvc in ubuntu
- windows subsystem for linux
- docker cp volume
- git stash save untracked
- copy files from another branch git
- Install torchVision
- linux show drive space
- how to get deployment token from firebase
- how to perform hdfs string search recursively in hdfs
- git remove tracked files without deleting
- supervisord install ubuntu
- julia install
- grant linux sh script permissions
- docker.service: Failed with result 'exit-code'