diff --git a/packaging/js/scripts/windows/install.bat b/packaging/js/scripts/windows/install.bat index 6e128acb76..2bea050baf 100644 --- a/packaging/js/scripts/windows/install.bat +++ b/packaging/js/scripts/windows/install.bat @@ -1,20 +1,20 @@ -@REM -@REM SPDX-FileCopyrightText: Copyright The Thingsboard Authors -@REM SPDX-License-Identifier: Apache-2.0 -@REM - -@ECHO OFF - -setlocal ENABLEEXTENSIONS - -@ECHO Installing ${pkg.name} ... - -SET BASE=%~dp0 - -"%BASE%"${pkg.name}.exe install - -@ECHO ${pkg.name} installed successfully! - -GOTO END - -:END +@REM +@REM SPDX-FileCopyrightText: Copyright The Thingsboard Authors +@REM SPDX-License-Identifier: Apache-2.0 +@REM + +@ECHO OFF + +setlocal ENABLEEXTENSIONS + +@ECHO Installing ${pkg.name} ... + +SET BASE=%~dp0 + +"%BASE%"${pkg.name}.exe install + +@ECHO ${pkg.name} installed successfully! + +GOTO END + +:END diff --git a/packaging/js/scripts/windows/service.xml b/packaging/js/scripts/windows/service.xml index 745e1f9487..20e10d3166 100644 --- a/packaging/js/scripts/windows/service.xml +++ b/packaging/js/scripts/windows/service.xml @@ -1,19 +1,19 @@ - - - ${pkg.name} - ${project.name} - ${project.description} - %BASE%\bin - ${pkg.winWrapperLogFolder} - rotate - - - - - %BASE%\bin\${pkg.name}.exe - + + + ${pkg.name} + ${project.name} + ${project.description} + %BASE%\bin + ${pkg.winWrapperLogFolder} + rotate + + + + + %BASE%\bin\${pkg.name}.exe + diff --git a/packaging/js/scripts/windows/uninstall.bat b/packaging/js/scripts/windows/uninstall.bat index 3bae922acf..2fcbf091f3 100644 --- a/packaging/js/scripts/windows/uninstall.bat +++ b/packaging/js/scripts/windows/uninstall.bat @@ -1,14 +1,14 @@ -@REM -@REM SPDX-FileCopyrightText: Copyright The Thingsboard Authors -@REM SPDX-License-Identifier: Apache-2.0 -@REM - -@ECHO OFF - -@ECHO Stopping ${pkg.name} ... -net stop ${pkg.name} - -@ECHO Uninstalling ${pkg.name} ... -"%~dp0"${pkg.name}.exe uninstall - +@REM +@REM SPDX-FileCopyrightText: Copyright The Thingsboard Authors +@REM SPDX-License-Identifier: Apache-2.0 +@REM + +@ECHO OFF + +@ECHO Stopping ${pkg.name} ... +net stop ${pkg.name} + +@ECHO Uninstalling ${pkg.name} ... +"%~dp0"${pkg.name}.exe uninstall + @ECHO DONE. \ No newline at end of file