![]() ![]() IF EXIST "%SystemRoot%\Microsoft.NET\Framework64\v9\ngen.exe" "%SystemRoot%\Microsoft.NET\Framework64\v9\ngen.exe" install "%ProgramFiles%\Greenshot\Greenshot.exe" > %lf% Xcopy /y "%~dp0greenshot*.ini" "%ProgramFiles%\Greenshot\" > %lf%ĮCHO #NGEN application to improve performance > %lf% Xcopy /s /y "%~dp0Greenshot" "%ProgramFiles%\Greenshot\" > %lf%ĮCHO #Copying configuration ini file/s and overwriting existing file > %lf% ![]() IF NOT EXIST "%ProgramFiles%\Greenshot" MD "%ProgramFiles%\Greenshot" > %lf% IF EXIST "%ProgramFiles%\Greenshot\greenshot.ini" REN "%ProgramFiles%\Greenshot\%random%" SET lf="%systemroot%\temp\SCCM_Install_Greenshot_1.1.7.17.log"ĮCHO #?te% - %time% - Install Started > %lf%ĮCHO Installing Greenshot software using script > %lf%ĮCHO #Kill process 'greenshot.exe' and subprocesses forcefully if running > %lf%ĮCHO #Make Directory and copy main program files, overwriting existing files > %lf% The settings i put in it are to simply disable automatic updates and to show the Tray icon. I pre-configure and deploy the file greenshot-fixed.ini so that users can’t override the settings. \Greenshot <- This is where i extract the source files The config file –\Greenshot1.1.7.17 <- This is where i keep the installation scripts/config file Instead i decided to use the zip version of the software.ĭownload the latest ZIP package of the software: Preparing the package The source filesĮxtract the files to your deployment source location. The first thing i tried to do is use the packaged installer they provide (an INNO installer package) however there really was no way to remove the website from loading post install. I will document how i successfully completed the deployment of this software to users who opted to install it via Software Catalog website. Well it was for the most part, aside from the installer loading the website post install. A colleague of mine asked if i could make a handy screen capture tool available to our users. ![]()
0 Comments
Leave a Reply. |