## 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](https://docs.microsoft.com/en-us/windows/win32/msi/securecustomproperties?redirectedfrom=MSDN), 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`