Lightshot is the fastest way to take a customizable screenshot. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Lightshot from the command line using the EXE installer.
How to Install Lightshot Silently
Lightshot Silent Install (EXE)
- Navigate to: https://app.prntscr.com/build/setup-lightshot.exe
- Download the setup-lightshot.exe to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command: setup-lightshot.exe /VERYSILENT /NORESTART
- Press Enter
After a few moments you should see the Lightshot shortcut in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | Lightshot |
Vendor: | Skillbrains |
Architecture: | x86 |
Installer Type: | EXE |
Silent Install Switch: | setup-lightshot.exe /VERYSILENT /NORESTART |
Silent Uninstall Switch (32-bit System) | "%ProgramFiles%\Skillbrains\lightshot\unins000.exe" /VERYSILENT /NORESTART |
Silent Uninstall Switch (64-bit System) | "%ProgramFiles(x86)%\Skillbrains\lightshot\unins000.exe" /VERYSILENT /NORESTART |
Download Link: | https://app.prntscr.com/build/setup-lightshot.exe |
PowerShell Script: | https://silentinstallhq.com/lightshot-install-and-uninstall-powershell/ |
Detection Script: | https://silentinstallhq.com/create-a-custom-detection-script-for-lightshot-powershell/ |
The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download links provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.
Additional Configurations
Create a Lightshot Installation Log File
The Lightshot installer offers the option to generate a log file during installation to assist with troubleshooting should any problems arise. You can use the following commands to create a verbose log file with details about the installation.
Lightshot Silent Install (EXE) with Logging
setup-lightshot.exe /VERYSILENT /NORESTART /LOG="%WINDIR%\Temp\Lightshot-Install.log" |
Change the Lightshot Default Installation Directory
You can also change the default installation directory by using the following command line parameters. In this example, I’m installing Lightshot to “C:\Lightshot”
setup-lightshot.exe /DIR=C:\Lightshot /VERYSILENT /NORESTART |
How to Uninstall Lightshot Silently
Check out the following posts for a scripted solution:
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Enter one of the following commands:
Lightshot Silent Uninstall (EXE) on 32-bit System
"%ProgramFiles%\Skillbrains\lightshot\unins000.exe" /VERYSILENT /NORESTART |
Lightshot Silent Uninstall (EXE) on 64-bit System
"%ProgramFiles(x86)%\Skillbrains\lightshot\unins000.exe" /VERYSILENT /NORESTART |
Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.