-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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.xmlfile.- 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 10/11
- .NET 9 (Desktop Runtime) or newer.
- Visual Studio 2022
- .NET 9