Custom User Configurations: Settings.config and ENTSettings.config

Under certain circumstances, it may be necessary to modify SpinFire Ultimate settings if Internet access is not permitted from all workstations. In this case, the Check for Updates feature can be disabled by the system administrator, thereby preventing indiscriminate updates and ensuring a uniform work environment.

To disable the Check for Updates feature, copy the following template files to the specified directories or your custom SpinFire Ultimate installation directory (edit the directory path values accordingly).

NOTE - DO NOT copy/paste the code examples below for your envirorments, this is for reference material only.

  1. Copy Settings.config to C:\Program Files\Actify\SpinFire\11\

Click here to expand...
<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <configSections>
        <sectionGroup name="applicationSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
            <section name="SpinFire.Common.Properties.SharedSettings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
        </sectionGroup>
    </configSections>
    <appSettings>
        <add key="Version" value="110704" />
    </appSettings>
    <applicationSettings>
        <SpinFire.Common.Properties.SharedSettings>
            <setting name="SharedSettingsDirectoryPath" serializeAs="String">
                <value>C:\ProgramData\Actify\SpinFire11</value>
            </setting>
            <setting name="SharedSettingsEnabled" serializeAs="String">
                <value>True</value>
            </setting>
        </SpinFire.Common.Properties.SharedSettings>
    </applicationSettings>
</configuration>
CODE

2. Copy ENTSettings.config to C:\ProgramData\Actify\SpinFire11. (This file can be created via the Tools > Export Settings... option.), please note however that the Settings.config C:\Program Files\Actify\SpinFire\11\ must have Shared Settings enabled and is directed to the folder of the ENTSettings.config file in order for SpinFire to use the ENT Settings.

Click here to expand...
 <?xml version="1.0" encoding="utf-8"?>
<configuration>
    <configSections>
        <sectionGroup name="applicationSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
            <section name="SpinFire.Common.Properties.SharedSettings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
        </sectionGroup>
        <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
            <section name="SpinFire.Common.Properties.ApplicationSettings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
        </sectionGroup>
    </configSections>
    <appSettings>
        <add key="Version" value="110704" />
    </appSettings>
    <applicationSettings>
        <SpinFire.Common.Properties.SharedSettings>
            <setting name="SharedSettingsDirectoryPath" serializeAs="String">
                <value> </value>
            </setting>
            <setting name="SharedSettingsEnabled" serializeAs="String">
                <value>True</value>
            </setting>
        </SpinFire.Common.Properties.SharedSettings>
    </applicationSettings>
    <userSettings>
        <SpinFire.Common.Properties.ApplicationSettings>
            <setting name="CustomUpdatesURLEnabled" serializeAs="String">
                <value>True</value>
            </setting>
            <setting name="CustomUpdatesURL" serializeAs="String">
                <value> </value>
            </setting>
        </SpinFire.Common.Properties.ApplicationSettings>
    </userSettings>
</configuration>
CODE

In this example, adding these files does the following:

  1. Sets the Check for Updates field to Never then locks it to prevent changes by end users.

  2. Sets the Shared Settings Enabled field to the proper folder.

  3. Sets the Use Custom Updates URL field to blank—any attempt to use Help > Check For Updates will fail.