Skip to content

Installation parameters

Nicke Manarin edited this page Dec 13, 2019 · 8 revisions

Switches

The MSI (installer) of this app has two switches that you can control while installing it via the command line:

INSTALLDESKTOPSHORTCUT adds or not the desktop shortcuts (yes/no).
INSTALLSHORTCUT adds or not the start menu shortcuts (yes/no).

Starting with the installer of v2.20, both of these properties are marked as secure, so they can be used with Intune, for example.

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, logos and visualstyles.xml file.
    • Must be set, but 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 three SharpDX dll's to the install folder.
  • Complete: Enables creating the shortcuts and sets permission to the install folder.
    • Must be set, but it's enabled by default.

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