E
Ehsan Aliverdi
I have been trying for days with no success
I have a list of software to deploy on every computer on the network(about 80 computers)
I know how to deploy .MSI (I already did and it works well)
My problem is most of the software don't have .msi and they only come with .exe
For this purpose, I wrote a script
rem installing
if exist "C:\Users\%username%\AppData\Local\Microsoft\Teams\Update.exe" GOTO VLCInstall
\\192.168.1.3\ToDeploy\exe\Teams_windows_x64.exe --silent
@echo "Microsoft Team Installed Successfully"
:VLCInstall
if exist "%PROGRAMFILES%\VideoLAN\VLC\uninstall.exe" GOTO TrueViewInstall
:VLCSecondCheck
if exist "%PROGRAMFILES(x86)%\VideoLAN\VLC\uninstall.exe" GOTO TrueViewInstall
\\192.168.1.3\ToDeploy\exe\vlc-3.0.6-win64.exe /L=1033 /S /NCRC
@echo "VLC Installed Successfully"
:TrueViewInstall
if exist "%PROGRAMFILES%\Autodesk\DWG TrueView 2019 - English\dwgviewr.exe" GOTO GoogleEarthInstall
\\192.168.1.3\ToDeploy\exe\DWGTrueView_2019_Enu_64bit\Setup.exe /q
@echo "TrueView Install Installed Successfully"
:GoogleEarthInstall
:end
echo "Inintialization finished"
the script works well when run manually. I created GPO and added the script to the following path
user configuration>Policies >Windows Setting >Scripts>Logon Script
The script runs but asks for the admin password, in the beginning, none of the users have this password.
so I took the second approach
added the script to
Computer Configuration>Policies >Windows Settings >Scripts>Start up Script
This does nothing.
Can someone tell me how to deploy EXE file
Continue reading...
I have a list of software to deploy on every computer on the network(about 80 computers)
I know how to deploy .MSI (I already did and it works well)
My problem is most of the software don't have .msi and they only come with .exe
For this purpose, I wrote a script
rem installing
if exist "C:\Users\%username%\AppData\Local\Microsoft\Teams\Update.exe" GOTO VLCInstall
\\192.168.1.3\ToDeploy\exe\Teams_windows_x64.exe --silent
@echo "Microsoft Team Installed Successfully"
:VLCInstall
if exist "%PROGRAMFILES%\VideoLAN\VLC\uninstall.exe" GOTO TrueViewInstall
:VLCSecondCheck
if exist "%PROGRAMFILES(x86)%\VideoLAN\VLC\uninstall.exe" GOTO TrueViewInstall
\\192.168.1.3\ToDeploy\exe\vlc-3.0.6-win64.exe /L=1033 /S /NCRC
@echo "VLC Installed Successfully"
:TrueViewInstall
if exist "%PROGRAMFILES%\Autodesk\DWG TrueView 2019 - English\dwgviewr.exe" GOTO GoogleEarthInstall
\\192.168.1.3\ToDeploy\exe\DWGTrueView_2019_Enu_64bit\Setup.exe /q
@echo "TrueView Install Installed Successfully"
:GoogleEarthInstall
:end
echo "Inintialization finished"
the script works well when run manually. I created GPO and added the script to the following path
user configuration>Policies >Windows Setting >Scripts>Logon Script
The script runs but asks for the admin password, in the beginning, none of the users have this password.
so I took the second approach
added the script to
Computer Configuration>Policies >Windows Settings >Scripts>Start up Script
This does nothing.
Can someone tell me how to deploy EXE file
Continue reading...