3.2. DynamicTemplate installation
Once the system folders are created, DynamicTemplate can be installed.
The solution is provided as an MSI installation package (Windows Installer Package), and requires that both ’Microsoft .NET Framework 4.6.2’ and ’Microsoft Visual Studio 2010 Tools for Office Runtime’ are installed. The installation package will offer to find and install these if they are not found.
One parameter is added to the solution at installation. This is the file path to the main folder containing the system folders and described in 3.1.1. Main folder , which is saved in the registration database as a string named SystemPath.
The location of this string within the registration database depends on the operating system architecture:
OS 32 bit:
HKEY_LOCAL_MACHINE\SOFTWARE\Dania Software
OS 64 bit:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Dania Software
Below is an example of an installation command in silent/quiet mode with indication of the SystemPath parameter:
msiexec /i “\\Server\Share\Setup.msi” /QUIET SYSTEMPATH=”<path to system folders>”
3.2.1. Joint user settings (CompanySettings)
If joint user settings are wanted, additional parameters should be added at the installation. The value of this parameter must be the name of the configuration file containing the preferred settings and will be saved as a string value with the name ‘CompanySettings’ in the same position in the registration database as above.
So if a configuration file with the name ‘Jobcenter.xml’ is created, the value of the parameter must be ‘Jobcenter’, i.e. without the file extension.
An example of an installation command where the CompanySettings parameter is included as illustrated below:
msiexec /i ”\\Server\Share\Setup.msi” /QUIET SYSTEMPATH=”<system folder path>” COMPANYSETTINGS=”<name of configuration file>”
3.2.2. Desktop shortcut
It is possible to create a DynamicTemplate shortcut on the desktop that can be used to select a template without requiring an Office program to be active. The relevant Office program is then opened, as per the selected template.

Figure 125
The shortcut is created by including the parameter ‘Shortcut’ in the installation command, like this:
msiexec /i ”\\Server\Share\Setup.msi” /QUIET SYSTEMPATH=”<path to system directory>” SHORTCUT=”1”
For manual installation, the shortcut can be added by ticking the ‘Create desktop shortcut?’ check box after entering the SystemPath and CompanySettings.
Figure 126
3.2.3. Upgrading existing installations
When upgrading from an older version of DynamicTemplate, the new version can be installed directly over the existing one and will not require the system folder paths or CompanySettings values to be re-entered.
3.2.4. Loading Office Add-ins
By default, DynamicTemplate is set up so that all Office add-ons are loaded on start-up of the current Office application.
This is done by setting the following key to the value ‘3’:
\SOFTWARE\Microsoft\Office\{xx}\Addins\dania software.dynamictemplate for Office\Loadbehavior
Do not change the value of this key under either the HKEY_LOCAL_MACHINE or the HKEY_current_USER hierarchy.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article