CfgTool -- Brief Description 
============================

Version 3.8

Contents
========

1. Intro
2. CfgTool operating modes
3. Program call
4. Version history


1. Intro
========

CfgTool is a command line tool for the HEIDENHAIN TNCremo application.
With CfgTool you can save (and restore) all TNCremo configurations to a file.
         
This tool is also used with TNCremo installation as custum action:
Install:   cfgtool SX %TEMP%\TNCremo_Configurations.reg
           cfgtool RD %TEMP%\TNCremo_Configurations.reg
Uninstall: cfgtool D

Note:
For test with TNCremo installation you can set the environment variable TNCCFGTOOLPAUSE



2. CfgTool operating modes
==========================

Save:
-----
Saves all configurations to a file.

Restore:
--------
Restores all configurations from file into the registry.

Delete:
-------
Deletes all TNCremo(NT) registry entries in the registry.


3. Program call
===============

 CfgTool <mode> [<cfg file name>]
 
 Modes: S : Save (Default)
        SX: Save and extend all known binary types
        R : Restore
        RD: Restore and then delete cfg file
		D:  Remove TNCremo registry entries

 
 Sample:
 -------
 CfgTool S c:\temp\TNCremo_Configurations.reg


4. Version history
==================

V1.1
====
- Additional binary types

V1.2
====
- Additional binary types .bin, .hbi

V1.3
====
- Additional binary types
- Help text extended

V2.0
====
- Support of configurations from users without admin rights
- Additional binary types .ioc, .ioc4

V2.1
====
- Empty string values in the registry were saved with the string content of the previous string value

V3.0
====
- Supports now TNCremo reg keys (not only TNCremoNT) for TNCremo v3.0
- Additional binary types .s, .xml

V3.1
====
- For test with TNCremo installation you can set the environment variable TNCCFGTOOLPAUSE
- Additional binary types .ioc, .iocp, ...

V3.2
====
- First old TNCremoNT Settings are saved and then TNCremo Settings:
  If the old TNCremoNT registry keys are not cleaned correctly, the recent TNCremo settings overwrite the old one

V3.3
====
- Additional binary types .enc, ".sds", ".gds", ".mds" and ".ads"
- Binary type .ioc4 removed
- In TNCremo v2.8 it could happen that there are multiple config entries with the same name. 
  This will now be corrected in mode "Save"

V3.4
====
- TNCremoNT sections are not saved any more, if TNCremo section exist


07.05.2015:

V3.5 Build 12
=============
- Additional binary types .m3d, .iocl

V3.6 Build 13
=============
- Alle User-Settinges werden bei 'X' mit abgelegt

V3.7 Build 14
=============
- mit integriertem Manifest fr .exe
- Untersttzung der Virtual Store Pseudo All Users Registry Settings
- Additional binary types .bak, .eak
- <Standard> wird jetzt immer als user-spezifischer Eintrag abgelegt.
  Dadurch verhindert man Probleme nach dem Update auf v3.1, wenn ein Anwender 
  mit aktiver UAC ohne Adminberechtigung <Standard> Einstellungen verndern mchte.

V3.8 Build 15
=============
- Untersttzt 2 Environmentvariablen:
  TNCCFGTOOLPAUSE: DLL Version: Alle Meldungen werden in einer MessageBox angezeigt
                   Kommandozeilen-Version: Alle Meldungen (incl. VERBOSE) werden ausgegeben und mssen mit Tasteneingabe besttigt werden  
  TNCCFGTOOLLOG: Alle Meldungen (incl. VERBOSE) werden in die angegebene LogDatei geschrieben

V3.9 Build 16
=============
Untersttzung Backup/Restore User Settings fr TNCremo v3.1 -> v3.2 (Siehe ToDo in CfgTool.cpp!)