Overview
This page explains how to deploy Lightshot 5.5.0.7 from Skillbrains to managed Windows devices, with the verified silent switches, the vendor uninstaller, the PSADT v4 package, the Intune settings and the detection rule together in one place.
Lightshot uses an EXE installer. The installer was built with Inno Setup.
| Item | Value |
|---|---|
| Product | Lightshot |
| Publisher | Skillbrains |
| Version | 5.5.0.7 |
| Installer type | EXE |
| Architecture | x86 |
| Scope | machine |
| Confidence | High |
| Data freshness | Current |
| Verification status | Static analysis of the vendor package; 17 of 17 deployment facts verified |
Note: Deployment commands on this page were derived by statically analysing the vendor package. They were not executed or tested on a device.
Deployment Facts
Installation and removal are driven by Inno Setup switches rather than a Windows Installer package, so the arguments are the important facts here.
| Item | Value |
|---|---|
| Installer file | Skillbrains.Lightshot.5.5.0.7.X86.exe |
| Install method | The vendor EXE installer with silent switches |
| Install arguments | /SP- /SUPPRESSMSGBOXES /VERYSILENT /NORESTART /LOG="{ToolkitLogDir}\_Skillbrains.Lightshot.5.5.0.7.X86_Install.log" |
| Uninstall method | The vendor uninstaller with silent switches |
| Uninstall target | %ProgramFiles(x86)%\Skillbrains\lightshot\unins000.exe |
| Uninstall arguments | /SP- /SUPPRESSMSGBOXES /VERYSILENT /NORESTART /LOG="{ToolkitLogDir}\_unins000_Uninstall.log" |
| Install context | System (machine-wide) |
| Restart behavior | The install arguments suppress restarts |
Additional steps in the verified deployment:
| When | Action | Target |
|---|---|---|
| After installation | Removes | %ProgramData%\Microsoft\Windows\Start Menu\Programs\Lightshot\Uninstall Lightshot.lnk |
Silent Install
The command uses every switch the verified data lists, including the one that writes an installation log and the one that suppresses restarts.
Run this command from the folder that contains the EXE installer.
"Skillbrains.Lightshot.5.5.0.7.X86.exe" /SP- /SUPPRESSMSGBOXES /VERYSILENT /NORESTART /LOG="{ToolkitLogDir}\_Skillbrains.Lightshot.5.5.0.7.X86_Install.log"This command runs in the system context (machine-wide). The arguments suppress restarts.
Caution: The command contains the placeholder {ToolkitLogDir}, which has no stand-alone equivalent. Replace it with a suitable folder, or remove the switch that uses it.
Silent Uninstall
Removal runs the vendor's own Inno Setup uninstaller with matching silent switches.
Silent uninstall command:
"%ProgramFiles(x86)%\Skillbrains\lightshot\unins000.exe" /SP- /SUPPRESSMSGBOXES /VERYSILENT /NORESTART /LOG="{ToolkitLogDir}\_unins000_Uninstall.log"Caution: The uninstall command contains the same placeholder {ToolkitLogDir}; replace it in the same way.
PSADT v4 Deployment
In the toolkit package the same installer and uninstaller are started for you, and the package also deletes an uninstall shortcut in the Start Menu after installation.
The PSADT v4 deployment below targets PSAppDeployToolkit 4.1.8. The entry point is Invoke-AppDeployToolkit.ps1.
Commands of the install phase (Install-ADTDeployment). The generated script also wraps them in the standard toolkit scaffolding:
## Install
Start-ADTProcess -FilePath "$($adtSession.DirFiles)\Skillbrains.Lightshot.5.5.0.7.X86.exe" -ArgumentList "/SP- /SUPPRESSMSGBOXES /VERYSILENT /NORESTART /LOG=`"$((Get-ADTConfig).Toolkit.LogPath)\_Skillbrains.Lightshot.5.5.0.7.X86_Install.log`""
## Post-Install
Remove-ADTFile -Path "$([Environment]::GetFolderPath('CommonPrograms'))\Lightshot\Uninstall Lightshot.lnk"Commands of the uninstall phase (Uninstall-ADTDeployment). The generated script also wraps them in the standard toolkit scaffolding:
## Uninstall
Start-ADTProcess -FilePath "$(${env:ProgramFiles(x86)})\Skillbrains\lightshot\unins000.exe" -ArgumentList "/SP- /SUPPRESSMSGBOXES /VERYSILENT /NORESTART /LOG=`"$((Get-ADTConfig).Toolkit.LogPath)\_unins000_Uninstall.log`""Run the package from its folder:
powershell.exe -ExecutionPolicy Bypass -File Invoke-AppDeployToolkit.ps1 -DeploymentType Install -DeployMode Silent
powershell.exe -ExecutionPolicy Bypass -File Invoke-AppDeployToolkit.ps1 -DeploymentType Uninstall -DeployMode Silent
Microsoft Intune
Because the commands depend on the toolkit, the app's install and uninstall command lines call the PSADT package instead of the installer directly.
Approach: PSADT package. The deployment has 1 additional pre/post/cleanup step; install/uninstall values contain runtime symbols that only a script can resolve.
| Item | Value |
|---|---|
| Install behavior | System |
| Restart behavior | suppress (from the verified install arguments) |
| Architecture | x86 |
| Scope | machine |
| Minimum operating system | Not available in the verified source data. Select it in Intune yourself. |
| Return codes | Package-specific return codes: Not available in the verified source data. |
Install command:
powershell.exe -ExecutionPolicy Bypass -NoProfile -File Invoke-AppDeployToolkit.ps1 -DeploymentType Install -DeployMode SilentUninstall command:
powershell.exe -ExecutionPolicy Bypass -NoProfile -File Invoke-AppDeployToolkit.ps1 -DeploymentType Uninstall -DeployMode SilentIntune detection rule types for this application: registry value. See Detection Rules for the values.
Caution: This Intune configuration is not fully verified. The comparison operator of the detection rule could not be verified from the source data. Choose the operator yourself when you set up the version check.
Detection Rules
Detection reads the installed version from the application's uninstall entry in the registry view used by x86 applications and compares it with the target version.
| Item | Value |
|---|---|
| Rule type | Registry value |
| Key path | HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\{30A5B3C9-2084-4063-A32A-628A98DE512B}_is1 |
| Value name | DisplayVersion |
| Target value | 5.5.0.7 |
| Registry view | 32-bit |
| Comparison operator | Operator code 1 (its meaning is not documented in the verified source data; confirm it before relying on this rule) |
Requirements, Scope and Architecture
| Item | Value |
|---|---|
| Architecture | x86 |
| Scope | machine |
| Install context | System (machine-wide) |
| Minimum operating system | Not available in the verified source data. |
Package
A PSADT v4 package for Lightshot was assembled from the pinned PSAppDeployToolkit 4.1.8 and the vendor installer. Public download of this package is not offered yet.
| Item | Value |
|---|---|
| Package file | Lightshot-5.5.0.7-psadt-v4.zip |
| Toolkit | PSAppDeployToolkit 4.1.8 |
| Files | 223 |
| Size (bytes) | 11845390 |
| SHA-256 | a5385bb3f74507924f457d86ede2f04e0abb99ea8b859176da0dbe44cdef2a16 |
| Installer SHA-256 | 928c2808421dfd487ffa697379548cbe682c0e13aeb595eb89973ba9c515b8a1 |
| Static validation | 19 of 19 checks passed |
Version and Freshness
The deployment data on this page reflects Lightshot 5.5.0.7.
When this page was generated, the source data reported no newer version.
Source Confidence and Verification
| Confidence | How it was obtained | Facts |
|---|---|---|
| Verified | Read directly | Installer file, Installer type, Architecture |
| High | Read directly | Install method, Uninstall method, Scope, Detection rule |
| High | Read, with run-time variables | Install arguments, Uninstall target |
Overall confidence is High. Confidence levels are Verified (read from installer metadata or confirmed by independent sources), High, Medium, Low and Unknown.
Frequently Asked Questions
Which installer technology does Lightshot use?
Lightshot ships as an Inno Setup EXE, so the silent options are Inno Setup switches.
How do I install Lightshot silently?
Use the command in the Silent Install section. It installs for the machine and suppresses restarts, but its log switch contains a placeholder that you must replace first.
How do I uninstall Lightshot silently?
Use the command in the Silent Uninstall section, which runs the vendor uninstaller. Its log switch has the same placeholder to replace.
How is Lightshot detected in Intune?
By a registry value that holds the installed version; see Detection Rules for the values.
Does the Lightshot installation restart the device?
No. The verified install arguments suppress restarts.