Follow

How do I make a silent installation?

Automatic installation process

If Lime Easy is going to be install on several computers, it’s possible to make the installation automatic. It’s done with a silent installation package. This package is installing Lime Easy with predetermined settings, with just one click. It gets easier for the users to install the program, and all the settings are correct from the start, which makes it easier for everyone. And makes the installation process faster, of course.


This is how it works
The nice thing with a silent installation is that the users doesn’t have to think. They just have to click on a bat-file, that’s triggering the installation through one installation file and one settings file. The installation package is placed in a folder on the server, to which your users have read- and write permissions. For example in your Lime Easy folder. The installation folder contains three files:
LimeEasySetup.msi 
LimeEasySetup.ini
LimeEasySetup.bat


What’s an MSI-file?
The MSI-file is the installation file, and it can be downloaded from here. You get the password from your Lime Easy administrator. If he or she doesn’t have it, please give us a call at +46 46 270 48 00 or e-mail us at info@lundalogik.se.


What’s LimeEasySetup.ini?
LimeEasySetup.ini is the settings file, that determines what Lime Easy should look like when the user starts it up for the first time after the silent installation. For example what fields that’s shown in the lists.


What’s LimeEasySetup.bat?
LimeEasySetup.bat is the file that the users click in to start the silent installation. The bat-file uses the installation file and the settings file to install Lime Easy with the correct settings.


So how do I do this?
1. Download the latest version of Lime Easy here. You find the LimeEasySetup.bat-file and a template for the LimeEasySetup.ini-file (the silent installation package).
2. Place the files in a folder that all the users have access to, for example in the Lime Easy-folder on the server.
3. Edit the LimeEasySetup.bat-file in Notepad. Customize the paths and the installation properties. For more information, read “Customize LimeEasySetup.bat” further down on this page. 
4. Customize the paths and the default settings in the settings file LimeEasySetup.ini. For more information, read “Customize LimeEasySetup.ini” further down on this page.
5. Send an e-mail to your users, with a link to the LimeEasySetup.bat. Ask the users to run the file and in a couple of minutes, they should have a Lime Easy icon on their desktops. 
6. Start Lime Easy, log in and go for it!


Customize LimeEasySetup.bat

On the first row in the bat-file: Set the path to the LimeEasySetup.msi-file. For example: F:\LimeEasy\Silentinst\LimeEasySetup.msi.
On the second row: Set the path to the LimeEasySetup.ini-file. For example: F:\LimeEasy\Silentinst\LimeEasySetup.ini.
On the third and last row you set the language (Swedish, English, Norwegian, Polish or Finnish), the license key and your company name. For example: Language: Swedish Key: XXXXXXXXXXX-XXXXXXXXXX Company: Lundalogik AB.
When the users click the bat-file, the installation file and the settings file will placed in the user’s local temp-folder, where the installation is run.


Customize LimeEasySetup.ini
In LimeEasySetup.ini, you set the paths to the database folder, the template folder, the document folder and the mail merge folder. For example: F:\LimeEasy\Database. 
You can also set which fields you would like to show in the lists (Companies, Persons, and Projects), the window sizes, if the check out feature is going to be activated and if the Outlook integration is going to be activated. A template for the LimeEasySetup.ini-file can be found in the silent installation package, available under paragraph 1 on this page.

Real example:

[Kontakt]

DatabaseLocation=DatabaseLocation-0

[DatabaseLocation-0]

DatabaseName=LIME Easy

DatabasePath= F:\LimeEasy\Databas

TemplatePath= F:\LimeEasy\Mallar

DocumentPath= F:\LimeEasy\Dokument

MergePath= F:\LimeEasy\Massbrev

ExtraFieldName=Ansvarig säljare

ExtraFieldName-1=Relation

ExtraFieldName-2=Klassificering

ProjectExtraFieldName-0=Affärsstatus

ProjectExtraFieldName-1=Ansvarig säljare

ReferenceExtraFieldName-0=Befattning

ReferenceExtraFieldName-1=Mobilnummer

ReferenceInCompanyExtraFieldName-0=Befattning

ProjectInCompanyExtraFieldName-0=Affärsstatus

CompanyInProjectExtraFieldName-0=Relation

Nomad=1

[Email]

UseEmail=1

 

Describing exemple:

[Kontakt]

[DatabaseLocation-0]

DatabaseName= <Skriv in ert företagsnamn här>

DatabasePath=<Sökvägen till databasen>

TemplatePath=<Sökväg till mallar>

DocumentPath=<Sökväg till dokument>

MergePath=<Sökväg till massbrev>

ExtraFieldName=<Första fältet/kolumnen i företagshuvudlistan efter Namn och Tillägg>

ExtraFieldName-1=<Andra fältet/kolumnen i företagshuvudlistan efter Namn och Tillägg>

ExtraFieldName-2=<Tredje fältet/kolumnen i företagshuvudlistan efter Namn och Tillägg>

ProjectExtraFieldName-0=<Först fältet/kolumnen i projekthuvudlista efter Namn>

ProjectExtraFieldName-1=<Andra fältet/kolumnen i projekthuvudlista efter Namn>

ReferenceExtraFieldName-0=<Första fältet i personhuvudlista efter Namn>

ReferenceExtraFieldName-1=<Första fältet i personhuvudlista efter Namn>

ReferenceInCompanyExtraFieldName-0=<Första fältet i personfliken på företagskortet efter Namn>

ProjectInCompanyExtraFieldName-0=<Första fältet i projektfliken på företagskortet efter Namn>

CompanyInProjectExtraFieldName-0=<Första fältet under företagsfliken på projektkortet efter Namn och Tillägg>

Nomad=<Om man vill använda dockningsfunktionen (arbeta offline). 0= Nej, 1 = Ja>

[Email]

UseEmail=<Sätt siffran för om man vill att e-mail ska användas. 0= Nej, 1 = Ja>


Instead of using the LimeEasySetup.ini-template, you can also install Lime Easy manually on one computer, make all settings in the program and then copy the text from the local settings file (KONTAKT8.INI) to the silent installation file (LimeEasySetup.ini). This way, you’ll get all the settings, including window sizes and other nice things, without having to enter them manually. Hocus-pocus!
Requirements 
The following requirements must be met, regardless if you doing a silent on an ordinary installation, to be able to install Lime Easy:
- The program must be shut down during the installation.
- You have to be logged in as a user with administrative rights on the workstation.
- You have to have the permission to write to Window’s System-catalogue.
- You have to have the permission to write to Window’s Windows-catalogue.
- You have to have the permission to write to Window’s Temp-catalogue.
If you’re experiencing problems during a silent installation, it may be due to the fact that the some of the requirements above are not met. Start the installation manually, to get an error message.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.