-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Installation parameters
The MSI (installer) of this app has two switches that you can control while installing it via the command line:
v2.20 >=
INSTALLDESKTOPSHORTCUT
adds or not the desktop shortcuts (yes/[default no]).
INSTALLSHORTCUT
adds or not the start menu shortcuts (yes/[default no]).
Both of these properties are marked as secure, so they can be used with Intune, for example.
v2.22 >= (switches only available when the UI appears, ignored in silent mode)
INSTALLAUTOMATICALLY
runs the installation automatically (yes/[default no]).
INSTALLPORTABLE
simply copies the files (yes/[default no]).
RUNAFTER
runs or not the app after the installation (yes/[default no]).
With v2.20, the installer got a new face and new features. It's now possible to control whether you want to install SharpDX, Gifski or add a local settings file, by using these feature codes:
-
Binaries
: Adds the ScreenToGif.exe.- Must be set, but it's enabled by default.
-
Auxiliar
: Adds logos andvisualstyles.xml
file.- It's enabled by default.
-
SharpDX
: Adds three SharpDX dll's to the install folder.- It's enabled by default.
-
Gifski
: Adds three SharpDX dll's to the install folder.- It's enabled by default.
-
Settings
: Adds an empty settings file to the installation folder.
-
msiexec /i ScreenToGif.2.20.Setup.msi /passive /norestart INSTALLDESKTOPSHORTCUT=yes INSTALLSHORTCUT=yes
-
msiexec /i ScreenToGif.2.20.Setup.msi /passive /norestart ADDLOCAL=Binaries,SharpDX,Gifski,Settings,Complete
- Microsoft Windows 7 SP1/8.1/10/11
- .NET 6 (Desktop Runtime) or newer.
- Visual Studio 2022
- .NET 6