correct use of uVerison variable

This commit is contained in:
Mario Fetka 2013-04-29 20:25:04 +02:00
parent fe4c6b0b2f
commit 6b3f7e23c0
3 changed files with 9 additions and 13 deletions

View File

@ -189,7 +189,3 @@ copy "$LogDir$\local.xml" "$InstallDir32$\local.xml"
[Dosbatch_final_copy_64] [Dosbatch_final_copy_64]
copy "$LogDir$\local.xml" "$InstallDir64$\local.xml" copy "$LogDir$\local.xml" "$InstallDir64$\local.xml"

View File

@ -1,4 +1,3 @@
DefVar $immunet_agent_scansettings_clamav_devInit$ DefVar $immunet_agent_scansettings_clamav_devInit$
Set $immunet_agent_scansettings_clamav_devInit$ = GetProductProperty("agent_scansettings_clamav_devInit", "1") Set $immunet_agent_scansettings_clamav_devInit$ = GetProductProperty("agent_scansettings_clamav_devInit", "1")
DefVar $immunet_agent_scansettings_clamav_enable$ DefVar $immunet_agent_scansettings_clamav_enable$

View File

@ -36,13 +36,14 @@ ICON_DL_INDEX=0
# replace points, split into array # replace points, split into array
a=( ${VERSION//./ } ) a=( ${VERSION//./ } )
WINST_NAME[0]="uVersion" OPSI_INI_SECTION[0]="COMMON"
WINST_VALUE[0]="${a[0]}.${a[1]}.${a[2]}" OPSI_INI_OPTION[0]="uVersion"
OPSI_INI_VALUE[0]="${a[0]}.${a[1]}.${a[2]}"
OPSI_INI_SECTION[0]="X86" OPSI_INI_SECTION[1]="X86"
OPSI_INI_OPTION[0]="UninstallProg32" OPSI_INI_OPTION[1]="UninstallProg32"
OPSI_INI_VALUE[0]="${a[0]}.${a[1]}.${a[2]}\uninstall.exe"
OPSI_INI_SECTION[1]="X86_64"
OPSI_INI_OPTION[1]="UninstallProg64"
OPSI_INI_VALUE[1]="${a[0]}.${a[1]}.${a[2]}\uninstall.exe" OPSI_INI_VALUE[1]="${a[0]}.${a[1]}.${a[2]}\uninstall.exe"
OPSI_INI_SECTION[2]="X86_64"
OPSI_INI_OPTION[2]="UninstallProg64"
OPSI_INI_VALUE[2]="${a[0]}.${a[1]}.${a[2]}\uninstall.exe"