DIR Return Create A Forum - Home
---------------------------------------------------------
Infrastructure Services
HTML https://infrastructureservices.createaforum.com
---------------------------------------------------------
*****************************************************
DIR Return to: Application Packaging
*****************************************************
#Post#: 19--------------------------------------------------
cmd/bat file templates for install and uninstall
DIR By: uday
Date: October 18, 2019, 4:45 am
---------------------------------------------------------
Install.cmd
--------------
@echo off
set APPLICATION_NAME=TeamViewer 13
set PACKAGE_NAME=TeamViewer_13.1.3629_P1
echo ****************************************
echo
echo Installation for %APPLICATION_NAME%
echo ****************************************
echo Installing %APPLICATION_NAME%
msiexec /i "%~dp0%PACKAGE_NAME%.msi" /qn /l*v
"%temp%\%PACKAGE_NAME%.MSI.log"
Uninstall.cmd
---------------
@echo off
set APPLICATION_NAME=TeamViewer 13
set PACKAGE_NAME=TeamViewer_13.1.3629_P1
echo ******************************************
echo
echo Uninstallation for %APPLICATION_NAME%
echo ******************************************
echo Un-Installing %APPLICATION_NAME%
msiexec /x {21C8A9B1-3007-4EF9-9CF6-35738C670B84} /qn /l*v
"%temp%\%PACKAGE_NAME%.MSI_UNINSTALL.log"
#Post#: 21--------------------------------------------------
Re: cmd/bat file templates for install and uninstall
DIR By: uday
Date: October 18, 2019, 6:10 am
---------------------------------------------------------
Install.cmd
--------------
@echo off
set APPLICATION_NAME=TeamViewer 13
set PACKAGE_NAME=TeamViewer_13.1.3629_P1
echo ****************************************
echo
echo Installation for %APPLICATION_NAME%
echo ****************************************
echo Installing %APPLICATION_NAME%
msiexec /i "%~dp0%PACKAGE_NAME%.msi"
transforms="%~dp0%PACKAGE_NAME%.mst" /qn /l*v
"%temp%\%PACKAGE_NAME%.MSI.log"
*****************************************************
Page 1 of 1