This article is for system administrators who want to deploy the Draftable Legal application via a silent install method or want to configure Draftable Legal to start silently for users. This article discusses all the silent options available for Draftable Legal.
Installation
Various silent installation parameters are required to be parsed for the silent installation of Draftable Legal. These differ for each of the different installer types:
Default Installer
The silent install parameter -s|--silent
is required for the default installer.
Hence an example of installing the default installer silently is: C:\Users\YourUsername\Documents\DraftableDesktopSetup.exe --silent
Per User MSI
To install the per-user MSI installer silently, use the /quiet
command-line parameter.
Hence an example of installing the Per User MSI silently is:msiexec /i DraftableDesktopUser.msi /quiet
Machine Wide MSI
To install the Machine-wide MSI installer silently, use the /quiet
command-line parameter. We have two examples that can apply to the machine-wide MSI.
Example 1: Install silently into a custom location
msiexec /i DraftableSetupSystem.msi /quiet INSTALLDIR="C:\Apps\Draftable\Desktop"
Example 2: Install silently without a desktop shortcut
msiexec /i DraftableSetupSystem.msi /quiet ADDLOCAL=DraftableDesktop, StartMenuShortcut
Silent launch parameters
There are various ways to configure the launch behaviour for Draftable Legal.
Within Draftable Legal settings
In the general settings, users can manually select how they wish for Draftable Legal to start by default. Under the Startup menu option, we see there are 3 options to select from.
There are 3 options here:
1. Start Automatically: This starts Draftable Legal when Windows launches, the New Comparison Window will be shown on the main desktop after Windows has been booted.
2. Not Start with Windows: Draftable Legal does not start at all, and the user will need to manually open the program.
3. Silent start: This is our silent option, it starts Draftable Legal in the background when Windows starts, but does not launch the New Comparison window.
Group Policy option
You can configure the default behaviour for the Draftable Legal start option via Group Policy options, specifically the 'Launch Draftable Automatically when Windows Start' option.
There are 3 options here:
1. Start with Windows: This starts Draftable Legal when Windows launches. The New Comparison Window will be shown on the main desktop after Windows has started.
2. Not Start with Windows: Draftable Legal does not start at all, and the user will need to manually open the program.
3. Start application but without main screen: This is our silent option, it starts Draftable Legal in the background when Windows starts, but does not launch the New Comparison window.
Remember, you can always download the latest group policy templates here.
Registry setting
Two keys can be configured, one that controls whether Draftable Legal starts, when Windows starts, and another to set the specific behaviour.
Below is the registry key for starting up with Windows:
Key: HKCU:\Software\Draftable\Compare
Value name: startOnStartup
Value type: REG_DWORD
Value data: <key>
Where the value for <key> can be set to 1 for enabled, and 0 for disabled (not start with Windows).
If you have startOnStartup registry key set to 1, you have further registry customization below regarding the nature of the startup for the following registry key.
Key: HKCU:\Software\Draftable\Compare
Value name: startOnStartupOption
Value type: REG_SZ
Value data: <key>
The <key> value can be configured with 3 different options:
1. Start - This starts Draftable Legal when Windows launches. The New Comparison Window will be shown on the main desktop after Windows has started.
2. NotStart - Draftable Legal does not start at all, and the user will need to manually open the program.
3. Silent - This is our silent option, it starts Draftable Legal in the background when Windows starts, but does not launch the New Comparison window.