Integration Services - Silent Installer *************************************** 20.03.2006 added uninstallation for AIS2.Clients.Spi.dll from GAC by update. !!!ATTENTION!!! It will uninstall only currently updatable assembly!!! Other versions will keep in GAC! 17.03.2006 resolved problem with installation impossibility under Windows Vista (Longhorn) added OverrideExistingInstallOptions feature changes added to this readme 25.01.2006 simple error levels added to this readme 24.01.2006 new versions of assemblies: AIS2.Clients.dll AIS2.Clients.Spi.dll AIS2.Configuration.dll and Interop.XceedZipLib.dll added help to installer with command line parameter /? or /h resolved pop-up window “verifying install”. Start with key /S changes are added to this readme. 13.01.2006 resolved bug with transformations start (two files was damaged, sorry :( ) resolved bug with default values for PATH and UICON command line parameters 12.01.2006 added command line parameters /PATH and /UICON resolved bug with NOT DOMAIN PC resolved bug with not valid path removed file AIS2.Configuration.dll from installation added unload AIS2.Clients.Spi.dll from GAC changes are added to this readme. 28.11.2005 new features and corrected bugs: 1. added more functionality for services control; 2. now true silent installer developed; 3. last changes are added to this readme. Generated installers and uninstallers accept one new option on the command line. This option gives the user a full control over the installation process. Installer/Uninstaller searches in current folder as default ‘aisinstallation.ini’ file with installation data. You can use also your own ini-files, having parameter in a command line: “/INIFILE=” with section [AIS] and below-mentioned entries with answers. For installation path you can use commandline parameter "/PATH=". For your own icon in "Add or Remove Program", you can use commandline parameter "/UICON=". Help for all command line parameters you can get wit command line parameter /? or /h To remove the window "verifying install” you can start the installer with key /S For example: >SilentSetup_English_Full_Release_12-01-2006.exe /S "/INIFILE=C:\Integration Services\ais.ini" "/PATH=C:\Program Files\AIS" "/UICON=C:\Program Files\Integration Services\bin\AIS2.Server.Service.exe" Structure of INI-File with default values: ***************************************** ╔═════════════════════════════════════════════════╤══════════════════════════════════════════════════╤═════════════════════════════════════╗ ║ Key │ Default Value │ Description ║ ╠═════════════════════════════════════════════════╪══════════════════════════════════════════════════╪═════════════════════════════════════╣ ║ SilentInstallation │ no │ no | yes ║ ╟─────────────────────────────────────────────────┼──────────────────────────────────────────────────┼─────────────────────────────────────╢ ║ OverrideExistingInstallOptions │ no │ no | yes ║ ║ │ │ See the file Override_Features.xls ║ ║ │ │ for details ║ ╟─────────────────────────────────────────────────┼──────────────────────────────────────────────────┼─────────────────────────────────────╢ ║ Path │ \Integration Services │ usually C:\Program Files but ║ ║ │ │ detected at runtime ║ ╟─────────────────────────────────────────────────┼──────────────────────────────────────────────────┼─────────────────────────────────────╢ ║ StartMenuFolderName │ Integration Services │ ║ ╟─────────────────────────────────────────────────┼──────────────────────────────────────────────────┼─────────────────────────────────────╢ ║ InstallWebservice │ yes │ yes | no ║ ╟─────────────────────────────────────────────────┼──────────────────────────────────────────────────┼─────────────────────────────────────╢ ║ InstallFrontOfficeBackOfficeSampleCollaboration │ yes │ yes | no ║ ╟─────────────────────────────────────────────────┼──────────────────────────────────────────────────┼─────────────────────────────────────╢ ║ InstallInfoPortal │ yes │ yes | no ║ ╟─────────────────────────────────────────────────┼──────────────────────────────────────────────────┼─────────────────────────────────────╢ ║ LaunchSystray │ yes │ yes | no ║ ╟─────────────────────────────────────────────────┼──────────────────────────────────────────────────┼─────────────────────────────────────╢ ║ LoadAISManagerAutomaticallyAtWindowsStartup │ no │ no | yes ║ ║─────────────────────────────────────────────────┼──────────────────────────────────────────────────┼─────────────────────────────────────╢ ║ ActionIfInstalled │ update │ update | reinstall ║ ╟─────────────────────────────────────────────────┼──────────────────────────────────────────────────┼─────────────────────────────────────╢ ║ RemoveAllCollaborationsByReinstall │ no │ no | yes ║ ╟─────────────────────────────────────────────────┼──────────────────────────────────────────────────┼─────────────────────────────────────╢ ║ RegisterServices │ yes │ yes | no ║ ╟─────────────────────────────────────────────────┼──────────────────────────────────────────────────┼─────────────────────────────────────╢ ║ StartupTypeIfRegistered │ Manual │ Automatic | Manual | Disabled ║ ╟─────────────────────────────────────────────────┼──────────────────────────────────────────────────┼─────────────────────────────────────╢ ║ AddRemoveProgramsUninstallName │ Sage Integration Services │ ║ ╟─────────────────────────────────────────────────┼──────────────────────────────────────────────────┼─────────────────────────────────────╢ ║ AddRemoveProgramsUninstallIcon │ X:\Program Files\Integration Services\bin\AIS2.Systray.exe ║ ╚═════════════════════════════════════════════════╧══════════════════════════════════════════════════╧═════════════════════════════════════╝ SilentInstallation - the key initiates silent or normal installation rutine OverrideExistingInstallOptions - "yes" - this will ignore certain options in inifile and will be based on the existing installation "no" - this will use options from inifile Path=C:\Program Files\Integration Services - set installation path StartMenuFolderName=Integration Services - set program group name InstallWebservice - install or not install Web Service InstallFrontOfficeBackOfficeSampleCollaboration - install or not install Front Office Back Office Sample Collaboration InstallInfoPortal - install or not install Info Portal LaunchSystray - start or not start Intagration Services Manager after installation LoadAISManagerAutomaticallyAtWindowsStartup - load or not load Intagration Services Manager automatically at Windows startup ActionIfInstalled - type of installation if Intagration Services are installed RemoveAllCollaborationsByReinstall - remove or not remove collaborations except samle if type of installation is reinstall RegisterServices - register or not register three services as services. Intagration Services, Integration Services Diagnostics and Integration Services Web Server StartupTypeIfRegistered - Startup type for services Intagration Services and Integration Services Web Server if they have been registered (Integration Services Diagnostics will be set to manual) For example: *********** [AIS] SilentInstallation=yes OverrideExistingInstallOptions=no Path=C:\Program Files\Integration Services StartMenuFolderName=Integration Services InstallWebservice=yes InstallFrontOfficeBackOfficeSampleCollaboration=Yes InstallInfoPortal=yes LaunchSystray=yes LoadAISManagerAutomaticallyAtWindowsStartup=no ActionIfInstalled=update RemoveAllCollaborationsByReinstall=yes RegisterServices=yes StartupTypeIfRegistered=Automatic AddRemoveProgramsUninstallName=Sage Integration Services AddRemoveProgramsUninstallIcon=C:\Program Files\Integration Services\bin\AIS2.Systray.exe If normal installation started instead of silent, then follow errors can occur: - ini file not found or locked and installer hasn’t access to it; - if command line argument and its value for own ini file are without “”; - [AIS] section not found in ini file; - key 'SilentInstallation' isn't found or value of this key is empty or has error value. WARNING: By opened ini file not all keys are read! For any empty key of [AIS] section, installer writes default value and when entry not exists creates its with default value. WARNING: Installer doesn't correct error values of any keys! Error Levels --------------------------------------------------- 0 - Normal execution (no error) 1 - Installation aborted by user (cancel button) 2 - Installation aborted by script (all others errors)