Skip to content

Installation parameters

Nicke Manarin edited this page Mar 3, 2020 · 8 revisions

Switches

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]).

Features

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 and visualstyles.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.

Examples

  • 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