By product  
  Other  

Knowledgebase

Tips and How-to Articles for ApexSQL Tools


How to integrate ApexSQL Log API components into custom installer

Applies to
ApexSQL Log API

Description

This article describes solutions for integrating ApexSQL Log API components into custom installer

Solution
ApexSQL Log API components can be integrated into custom installer by running original ApexSQL Log API setup with the INNO setup switches for silent mode installation.

To use the silent mode installation, use ApexSQL Log API setup with the following switches:

/VERYSILENT – this suppresses all installation wizard dialogs
/SUPPRESSMSGBOXES – this suppresses all messages from the installer
/LOADINF="filename" – this will load the previously saved installer settings (such as the installation directory, shortcuts and so forth…)
/SAVEINF="filename" – this will save all of your choices during an “ideal” installation (these choices will then be used in LOADINF switch)

1. Start ApexSQL Log API installer with saveinf switch from the command prompt (ApexSQLLogApi.exe /saveinf="logapi.inf"), make all necessary choices and finish the installation.
This will save all your preferences to the .inf file in the following format:

[Setup]
Lang=eng
Dir=C:\Program Files\ApexSQL\ApexSQLLogApi2010
Group=ApexSQL\ApexSQL Log API 2010
NoIcons=0
SetupType=full
Components=client_side,server_side
Tasks=


2. Add this call to the custom setup step to run original ApexSQL Log API installer with the .inf file created in previous step and the following switches:

ApexSQLLogApi.exe /VERYSILENT /SUPPRESSMSGBOXES /LOADINF =" logapi.inf"

Last update
December 26, 2011

Labels:



© 2012 ApexSQL LLC All rights reserved | (919) 968-8444 | Contact us | Terms of use | Privacy policy