Sie sind auf Seite 1von 6

Silent Setup mit ELCAD 7.7.

0
Bilingual internal document: German / English
Der Wunsch vieler Kunden ist es, das ELCAD-Setup "silent" laufen zu lassen, ohne dass Anwender dazu etwas tun und ohne dass Dialoge bedient und Fragen beantwortet werden mssen. Das bisherige ELCAD-Setup bot dazu zwar einen theoretischen Weg, der jedoch nicht sicher funktioniert, wenn sich die zu installierenden PC's in Hardware und /oder Betriebssystem stark unterschieden.

Das Silent Setup von ELCAD 7.7.0


Ausgehend von der berlegung, dass nicht jeder Freiheitsgrad, den das mengefhrte Setup bietet, auch als Option im Silent Setup auswhlbar ist, wurde ein Konzept festgelegt, das Silent Setup fr die hufigsten Flle verwendbar zu machen: 1. 2. 3. 4. 5. 6. Das bisherige ELCAD-Setup wurde so modifiziert, dass es ohne Dialoge ausgefhrt werden kann. Dazu knnen Sie den Silent Mode von auen per ini-Schalter aktivieren. Die wichtigsten Setup-Optionen knnen Sie ebenfalls von auen per ini-Schalter einstellen. Bestimmte Optionen sind beim Silent Setup durch AUCOTEC festgelegt. Wichtige Statusinformationen protokolliert das Silent Setup in einer Protokolldatei. Das Silent Setup hinterlsst auch in der Systemsteuerung / Software den Hinweis, dass es silent installiert wurde.

Wie wird die Silent Installation gestartet?


Das Silent Setup starten Sie wie das bisherige ELCAD-Setup, mit der Setup.exe. Die Aktivierung des Silent Mode erfolgt durch zwei ini-Dateien, die sich im Setup-Verzeichnis befinden. Unterdrcken der Setup-Sprachabfrage mit Setup.ini. Mit der folgenden Einstellung in der Setup.ini mssen Sie zunchst den Dialog zur Sprachenabfrage des Setups ausblenden. [Startup] EnableLangDlg=N Alle anderen Einstellungen fr den Silent Mode finden Sie in der localize.ini Die restlichen Einstellungen und Optionen fr das Silent Setup werden in der localize.ini in der Sektion [SilentMode] hinterlegt. [SilentMode] ActivateSilentMode=0 SilentLocale=iec SilentProduct=Elcad SilentInstPath=c:\aucotec SilentLogFilePath=c:\ SilentLogFileName=MySilentLogFile Wie wird der Silent Mode aktiviert? Mit dem folgenden Schlssel wird zentral die Funktionalitt des Silent Modes freigeschaltet. ActivateSilentMode=1 Welche weiteren Optionen kann ich setzen? Die weiteren Optionen werden erst aktiv, wenn der Silent Mode aktiviert wurde: ActivateSilentMode=1 Durch Eintrag in der localize.ini-Datei knnen Sie die Lokalisierung DIN, IEC, ANSI und ITA festlegen. Dadurch wird die deutsche Version, die englische oder italienische IEC-Version ausgewhlt. Bei ANSI wird der zllige ANSI-Standard installiert. Bitte beachten Sie, dass die italienische IEC-Version erst mit einer zweiten

Freigabe verzgert erfolgt und nicht von Anfang an verfgbar ist. Wenn die italienische Lokalisierung noch nicht verfgbar ist, wird ein Eintrag in der Logdatei erstellt und die Installation abgebrochen. Im Silent Mode ist die Produktauswahl auf ELCAD, AUCOPLAN und ELCADMaintenance reduziert. Diese Produkte knnen Sie durch Eintrge in der localize.ini festlegen. Die Installation von ELCAD-Fluid wird im Silent Mode nicht untersttzt. Im Silent Mode kann man das Zielverzeichnis fr die Installation der Programme (bei Windows Vista,Windows 7 und Windows Server 2008) oder das Zielverzeichnis der gesamten Installation (bei Windows XP und Server 2003) ber einen Schalter in der localize.ini steuern. Legen Sie hier nichts fest, dann wird das StandardZielverzeichnis von Windows verwendet: <Program Files>\aucotec\<product>\<version> Zudem kann ber die localize.ini das Verzeichnis und der Name fr eine Logdatei festgelegt werden, in dem Meldungen des Silent Mode abgelegt werden. Wird hier nichts angegeben oder ein ungltiges Verzeichnis eingetragen, so wird die Logdatei im Temporrverzeichnis %temp% abgelegt. Wenn Sie keinen Dateinamen fr die Logdatei festlegen, wird der Default-Dateiname "ElcadSilentSetup.log" verwendet. Die Schreibweise (Gro-/Kleinschreibung) der Werte fr die folgenden Schlssel ist unrelevant, da sie intern in Grobuchstaben umgewandelt werden. Schlssel SilentLocale= SilentProduct= Erlaubte Werte DIN, IEC, ANSI, ITA ELCAD, AUCOPLAN, Maintenance <Pfad> <Verzeichnis> <Dateiname> Bedeutung Die Lokalisationen DIN, IEC, ANSI und ITA werden untersttzt. Weitere Werte sind nicht gltig. Bei der Produktauswahl werden die Werte ELCAD, AUCOPLAN oder Maintenance (ELCADMaintenance) untersttzt. Weitere Werte sind nicht gltig. Geben Sie hier ein Installationsverzeichnis an, wenn Sie das Standardverzeichnis nicht nutzen mchten. Geben Sie hier das Verzeichnis an, in welchem das Logfile der Silent Installation abgelegt werden soll. Legen Sie hier einen Dateinamen fr die Logdatei fest.

SilentInstPath= SilentLogFilePath= SilentLogFileName=

Die Logdatei
Da das Setup im Silent Mode keine Meldungen ausgibt, werden wichtige Statusinformationen in die Logdatei geschrieben. Die Logdatei wird am Ende des Setups geschrieben.

Untersttzte Windows-Versionen
Windows XP SP2 Windows Vista Windows 7 (32 und 64-bit) Windows Server 2003 Windows Server 2008 Windows Server 2008 R2

Vorausgesetzte Windows-Komponenten
Auer den u. g. Microsoft Data Access Components sind alle bentigten Windows-Komponenten im ELCADSetup enthalten und knnen von dort installiert werden. Microsoft Data Access Components, ab Version 2.5 MS-XML 4.0 Microsoft Soap Toolkit 3 Microsoft Windows Scripting Host ab Version 5.6.0.8515 Micrososft VB-Runtime ab Version 6.0 Microsoft Windows Installer ab Version 2.0 Microsoft Visual C++ 2008 Redistributables Comdlg32.ocx, Mscomctl.ocx, Mscomct2.ocx, Tabctl32.ocx

Abbruchbedingungen im Silent Setup


1. Im Silent Mode wird vorausgesetzt, dass die Windows-Betriebssystemvoraussetzungen incl. der Service Packs erfllt sind. Ist das nicht der Fall, so erfolgt ein Eintrag in die Logdatei und ein Abbruch des Setups. 2. Im Silent Mode wird vorausgesetzt, dass die erforderlichen Windows-Komponenten bereits installiert sind. Ist das nicht der Fall, so erfolgt ein Eintrag in die Logdatei und ein Abbruch des Setups. 3. Im Silent Mode wird geprft, ob mindestens 500 MB freier Speicher auf der Zielfestplatte vorhanden ist. Ist das nicht der Fall, so erfolgt ein Eintrag in die Logdatei und ein Abbruch des Setups. 4. Im Silent Mode wird vorausgesetzt, dass die Administratorberechtigungen vorliegen. Ist das nicht der Fall, so erfolgt ein Eintrag in die Logdatei und ein Abbruch des Setups. 5. Im Silent Mode werden Windows Home Betriebssysteme nicht einmal im Ausnahmefall untersttzt. Es erfolgt ein Eintrag in die Logdatei und ein Abbruch des Setups. 6. Anwahl der italienischen Lokalisierung, wenn sie noch nicht enthalten ist, fhrt zu einer Meldung in der Logdatei und zum Abbruch des Setups. Weitere Besonderheiten, die das Setup feststellt und die eine erfolgreiche Installation verhindern, fhren zu einer Meldung in der Logdatei und zum Abbruch des Silent Setups (z. B. ungltige Produkt- oder Lnderauswahl durch die ini-Datei, ungltige Zeichen im Pfad....).

Festlegungen im Silent Setup, statt Dialogen


1. 2. 3. 4. 5. 6. 7. Im Silent Mode werden Ihnen grundstzlich keine Readmes oder Windows 7 Readmes angezeigt Im Silent Mode entfllt die Zusammenfassung der ausgewhlten Setup-Optionen. Im Silent Mode werden immer Desktop-Icons angelegt. Im Silent Mode wird ELCAD am Ende des Setups nicht gestartet. Im Silent Mode wird das Editieren der Lizenzen in der Datei ELCAD_ID nicht angeboten. Im Silent Mode wird ein Reboot durch das Setup grundstzlich unterdrckt. Im Silent Mode wird nur die Vollinstallation untersttzt, der Setuptyp "Update" wird nicht untersttzt. Der Setuptyp Vollinstallation ist fest vorbelegt. Das wird auch im Logfile protokolliert. Damit entfallen alle mglichen Abfragen, die beim Update oder Patch mglich wren. Natrlich lsst sich die Version 7.7.0 im Silent Mode parallel zu allen frheren ELCAD-Versionen installieren. Im Silent Mode wird die Auswahl der zu installierenden Komponenten im Tree-Dialog nicht angeboten. Die Standard-Vorbelegung fr Komponenten, die Sie im Dialog sonst sehen, gilt jedoch auch im Silent Mode. Im Silent Mode werden Meldungen, die beim Prfen des Installationsverzeichnisses angezeigt werden wrden, ins LogFile geschrieben. Im Silent Mode entfallen alle Warnungen, dass Zieldateien berschrieben werden. Bestehenden Dateien werden immer berschrieben. Ob und welche Verzeichnisse bereits existierten, wird in der Logdatei protokolliert. Im Silent Mode wird zurzeit nur der Dongletreiber installiert. Die Installation dieses Treibers erfolgt auch Silent. Der Dongletreiber wird nur dann installiert, wenn bisher kein Dongletreiber (auch kein alter Treiber) installiert ist. Im Silent Mode wird der Hardware Configuration Link grundstzlich neu installiert. Im Silent Mode wird der Terminal Block Designer grundstzlich neu installiert. Im Silent Mode wird das Setup fr den Aucotec Data Service per Kommandozeilenparameter ebenfalls in den Silent Mode geschaltet. Im Silent Mode entfllt die Erfolgsmeldung. Die Meldung wird ins Logfile geschrieben.

8.

9. 10.

11.

12. 13. 14. 15.

Was wird im Silent Setup nicht untersttzt?


16. Im Silent Mode wird das FELICS-Setup nicht untersttzt. Das FELICS-Setup muss manuell nachinstalliert werden, da es sich noch nicht stumm schalten lsst. 17. ELCADfastwire und das zugehrige Borland Database Engine-Setup werden im Silent Mode nicht installiert. 18. Im Silent Mode wird das Aufrufen eines externen Setups durch die localize.ini nicht untersttzt. 19. Im Silent Mode werden die folgenden Setup-Kommandozeilenparameter gezielt deaktiviert, um Wechselwirkungen zu vermeiden: a. IGNORE_OS b. NO_SYSTEM_UPDATE Alle anderen Setup-Kommandozeilenparameter sollten nicht gleichzeitig mit dem Silent Mode verwendet werden, werden jedoch nicht speziell behandelt.

Silent Setup with ELCAD 7.7.0


Many customers wish the ELCAD setup to run "silently" without the user having to do anything, without the need to work with dialogs and to answer questions. The former ELCAD setup theoretically offered a way to do this that however did not function safely if the PC's where the installation was to take place differed widely with respect to their hardware and/or their operating systems.

The ELCAD 7.7.0 silent setup


Considering that not every degree of freedom offered by the menu-driven setup can also be selected as an option for the silent setup, a concept has been specified that makes the silent setup suitable for the most common cases: 7. 8. 9. 10. 11. 12. The existing ELCAD setup has been modified so that it can be carried out without dialogs. For this purpose you can activate the silent mode from the outside using an ini switches. You can also specify the most important setup options from the outside via an ini switches. Certain silent setup options are set by AUCOTEC. The silent setup records important status information in a log file. The silent setup also leaves a note in the system control / software that it has been installed silently.

How is the silent installation started?


You start the silent setup with the setup.exe just like the former ELCAD setup. The silent mode is activated by two ini files located in the setup folder. Suppressing the setup language query with Setup.ini. With the following setting in the Setup.ini you must first of all hide the dialog for the language query of the setup sequence. [Startup] EnableLangDlg=N You find all other settings for the silent mode in the localize.ini The remaining settings and options for the silent setup are stored in the localize.ini in the section [SilentMode]. [SilentMode] ActivateSilentMode=0 SilentLocale=iec SilentProduct=Elcad SilentInstPath=c:\aucotec SilentLogFilePath=c:\ SilentLogFileName=MySilentLogFile How is the silent mode activated? The following key is used to centrally enable the silent mode functionality. ActivateSilentMode=1 What other options can I set? The subsequent options become active only once the silent mode has been activated: ActivateSilentMode=1 You can specify the DIN, IEC, ANSI and ITA localization via an entry in the localize.ini file. Thus the German, English or Italian IEC version is selected. For ANSI, the ANSI inch standard is installed. Please note that the Italian IEC version becomes available only after a separate release procedure and is not available from the start. If the Italian localization is not yet available, an entry is made in the log file and the installation is aborted. In the silent mode, the product selection is limited to ELCAD, AUCOPLAN and ELCADMaintenance. You can specify these products by an entry in the localize.ini. The silent mode does not support the installation of ELCAD-Fluid.

In the silent mode, you can control the target folder for the installation of the programs (Windows Vista, Windows 7 and Windows Server 2008) or the target folder for the complete installation (Windows XP and Server 2003) via a switch in the localize.ini. If you do not specify anything there, then the Windows standard target folder is used: <Program Files>\aucotec\<product>\<version> Moreover you can use the localize.ini to specify the folder and the name for a log file where the silent mode messages are stored. If you do not specify anything or enter an invalid folder, then the log file is stored in the temporary folder %temp%. If you do not specify a filename for the log file, then the default filename "ElcadSilentSetup.log" is used. The uppercase / lowercase writing of the values for the following keys does not matter because they are internally uppercased. Key SilentLocale= SilentProduct= Permissible values: DIN, IEC, ANSI, ITA ELCAD, AUCOPLAN, Maintenance <Path> <Folder> <Filename> Meaning The DIN, IEC, ANSI and ITA localisations are supported. Other values are not valid. For product selection, the values ELCAD, AUCOPLAN or Maintenance (ELCADMaintenance) are supported. Other values are not valid. Specify here an installation folder if you do not want to use the standard folder. Specify here the folder where the log file of the silent installation is to be stored. Specify here a filename for the log file.

SilentInstPath= SilentLogFilePath= SilentLogFileName=

The log file


Since the silent mode setup does not issue messages, important status information is written into the log file. The log file is written at the end of the setup.

Supported Windows versions


Windows XP SP2 Windows Vista Windows 7 (32 und 64-bit) Windows Server 2003 Windows Server 2008 Windows Server 2008 R2

Presupposed Windows components


Apart from the Microsoft Data Access Components listed below, all required Windows components are contained in the ELCAD setup and can be installed from there. Microsoft Data Access Components, from version 2.5 MS-XML 4.0 Microsoft Soap Toolkit 3 Microsoft Windows Scripting Host from version 5.6.0.8515 Microsoft VB-Runtime from version 6.0 Microsoft Windows Installer from version 2.0 Microsoft Visual C++ 2008 Redistributables Comdlg32.ocx, Mscomctl.ocx, Mscomct2.ocx, Tabctl32.ocx

Exit conditions for the silent setup


7. In the silent mode it is presupposed that the Windows operating system prerequisites including the Service Packs are met. If this is not the case, then an entry is made in the log file, and the setup is aborted. 8. In the silent mode it is presupposed that the required Windows components are already installed. If this is not the case, then an entry is made in the log file, and the setup is aborted.

9. In the silent mode there is a check whether there is at least 500 MB of unassigned memory available on the destination disk. If this is not the case, then an entry is made in the log file, and the setup is aborted. 10. In the silent mode it is presupposed that the administrator rights are assigned. If this is not the case, then an entry is made in the log file, and the setup is aborted. 11. In the silent mode, Windows Home operating systems are not even exceptionally supported. An entry is made in the log file, and the setup is aborted. 12. Selection of the Italian localization if not yet contained in the setup results in a message in the log file and the abortion of the setup. Other peculiarities detected by the setup that prevent a successful installation result in a message in the log file and abortion of the setup (these include e.g. invalid product or country selection by the ini file, invalid characters in the path....).

Specifications, fixed in the silent setup instead of in dialogs


20. 21. 22. 23. 24. 25. 26. In the silent mode, Readme or Windows Readme files are never displayed In the silent mode there is no summary of the selected setup options. In the silent mode desktop icons are always created. In the silent mode ELCAD is not started at the end of the setup. In the silent mode editing of the licenses in the file ELCAD_ID is not offered. In the silent mode rebooting by the setup routine is always suppressed. In the silent mode only a complete installation is supported, the setup type "Update" is not supported. The setup type complete installation is invariantly fixed. This is also recorded in the log file. Thus a number of queries that would be possible for an update or patch are inapplicable. Of course the version 7.7.0 can be installed in the silent mode in parallel with all earlier ELCAD versions. In the silent mode there is no tree dialog offering the selection of the components to be installed. However, the standard default values for components you normally see in the dialog also apply in the silent mode. In the silent mode messages otherwise displayed during the check of the installation folder are written into the log file. In the silent mode there are no warnings that target files are overwritten. Existing files are always overwritten. Whether there existed any folders and which they were is recorded in the log file. In the silent mode currently only the dongle driver is installed. The installation of this driver is likewise carried out silently. The dongle driver is installed only if previously no dongle driver was installed (this holds also for an older driver). In the silent mode the Hardware Configuration Link is always newly installed. In the silent mode the Terminal Block Designer is always newly installed. In the silent mode the Aucotec Data Service setup via command line parameters is also switched to the silent mode. In the silent mode there is no success message. The message is written into the log file.

27.

28. 29. 30.

31. 32. 33. 34.

What is not supported with the silent setup?


35. In the silent mode the Felics setup is not supported. The Felics setup must be installed subsequently because is cannot yet be muted. 36. ELCADfastwire and the associated Borland Database Engine setup are not installed in the silent mode. 37. In the silent mode launching an external setup by the localize.ini is not supported. 38. In the silent mode the following setup command line parameters are specifically deactivated to avoid interactions: a. IGNORE_OS b. NO_SYSTEM_UPDATE All other setup command line parameters should not be used simultaneously with the silent mode but are not especially considered.

Das könnte Ihnen auch gefallen