From 3db3113d721068fed3dcfd306d9e63b91de49d0c Mon Sep 17 00:00:00 2001
From: Mario Fetka <mario.fetka@gmail.com>
Date: Wed, 18 Nov 2015 15:23:20 +0100
Subject: [PATCH] change build

---
 CLIENT_DATA/setup3264.ins |  4 ++--
 builder-product.cfg       | 19 +++++++++++++++++++
 2 files changed, 21 insertions(+), 2 deletions(-)

diff --git a/CLIENT_DATA/setup3264.ins b/CLIENT_DATA/setup3264.ins
index eb52b67..8987064 100644
--- a/CLIENT_DATA/setup3264.ins
+++ b/CLIENT_DATA/setup3264.ins
@@ -100,7 +100,7 @@ else
 endif
 
 [Winbatch_install_32]
-"$Install32Exe$" /sp- /silent /norestart /nocancel /SUPPRESSMSGBOXES /NORUN
+"$Install32Exe$" /sp- /silent /norestart /nocancel /SUPPRESSMSGBOXES /NORUN /LOADINF="$IniCfgFile$" /Dir="$InstallDir32$"
 
 [Files_install_32]
 ; copy the ini file to the InstallDir
@@ -111,7 +111,7 @@ copy "$IniCfgFile$" "$InstallDir32$"
 ; copy -s "%ScriptPath%\files\*.*" "$InstallDir32$"
 
 [Winbatch_install_64]
-"$Install64Exe$" /sp- /silent /norestart /nocancel /SUPPRESSMSGBOXES /NORUN
+"$Install64Exe$" /sp- /silent /norestart /nocancel /SUPPRESSMSGBOXES /NORUN /LOADINF="$IniCfgFile$" /Dir="$InstallDir64$"
 
 [Files_install_64]
 ; copy the ini file to the InstallDir
diff --git a/builder-product.cfg b/builder-product.cfg
index ae830f6..363a9b8 100644
--- a/builder-product.cfg
+++ b/builder-product.cfg
@@ -41,3 +41,22 @@ OPSI_INI_SECTION[1]="X86_64"
 OPSI_INI_OPTION[1]="UninstallProg64"
 OPSI_INI_VALUE[1]="unins000.exe"
 
+OPSI_INI_SECTION[2]="Setup"
+OPSI_INI_OPTION[2]="Group"
+OPSI_INI_VALUE[2]="Greenshot"
+
+OPSI_INI_SECTION[3]="Setup"
+OPSI_INI_OPTION[3]="NoIcons"
+OPSI_INI_VALUE[3]="0"
+
+OPSI_INI_SECTION[4]="Setup"
+OPSI_INI_OPTION[4]="SetupType"
+OPSI_INI_VALUE[4]="default"
+
+OPSI_INI_SECTION[5]="Setup"
+OPSI_INI_OPTION[5]="Components"
+OPSI_INI_VALUE[5]="greenshot,plugins\\office,plugins\\ocr,plugins\\imgur,plugins\\externalcommand"
+
+OPSI_INI_SECTION[6]="Setup"
+OPSI_INI_OPTION[6]="Tasks"
+OPSI_INI_VALUE[6]=""