Updated version and language selection for german
This commit is contained in:
3
CLIENT_DATA/X86/i_view32.ini
Normal file
3
CLIENT_DATA/X86/i_view32.ini
Normal file
@@ -0,0 +1,3 @@
|
||||
[Language]
|
||||
DLL=DEUTSCH.DLL
|
||||
Lang=Deutsch
|
||||
@@ -33,6 +33,9 @@ LinkFolder_uninstall
|
||||
;
|
||||
; delete -sf "$InstallDir$\"
|
||||
|
||||
; Delete files for german
|
||||
delete -sf "%ProfileDir%\Default User\Anwendungsdaten\irfanview"
|
||||
|
||||
[Registry_uninstall]
|
||||
; Example of deleting a registry key:
|
||||
;
|
||||
|
||||
@@ -15,6 +15,9 @@ DefVar $ExitCode$
|
||||
|
||||
Set $LogDir$ = "%SystemDrive%\tmp"
|
||||
|
||||
DefVar $language$
|
||||
Set $language$ = GetProductProperty("language", "german")
|
||||
|
||||
; The token BUILDER_VARIABLES will be replaced by opsi-builder.sh
|
||||
; and adds the following variables:
|
||||
; from builder-product.cfg : all variables definded by attribute WINST[index]
|
||||
@@ -56,9 +59,18 @@ else
|
||||
Winbatch_install
|
||||
Sub_check_exitcode
|
||||
|
||||
comment "Installation for german language"
|
||||
if ($language$ = "german")
|
||||
Message "Set german language..."
|
||||
Files_install_german /AllNTUserProfiles
|
||||
comment "Clean useless files and directories"
|
||||
Files_delete_AllNTUser_german
|
||||
Dosbatch_delete_AllNTUser_german
|
||||
endif
|
||||
|
||||
comment "Copy files"
|
||||
Files_install /32Bit
|
||||
|
||||
|
||||
comment "Patch Registry"
|
||||
Registry_install /32Bit
|
||||
|
||||
@@ -80,14 +92,23 @@ endif
|
||||
; Choose one of the following examples as basis for your installation
|
||||
; You can use $LicenseKey$ var to pass a license key to the installer
|
||||
;
|
||||
"$InstallExe$" /silent /folder="$InstallDir$" /desktop=1 /thumbs=1 /group=1 /allusers=1 /assoc=1 /assocallusers=1 /ini="%AppdataDir%\irfanview"
|
||||
"$InstallExe$" /silent /folder="$InstallDir$" /desktop=1 /thumbs=0 /group=1 /allusers=1 /assoc=1 /assocallusers=1 /ini="%APPDATA%\irfanview"
|
||||
"$InstallPluginsExe$" /silent
|
||||
|
||||
[Dosbatch_delete_AllNTUser_german]
|
||||
rd "%ProfileDir%\Public\Anwendungsdaten"
|
||||
|
||||
[Files_install]
|
||||
; Example of recursively copying some files into the installation directory:
|
||||
;
|
||||
; copy -s "%ScriptPath%\files\*.*" "$InstallDir$"
|
||||
|
||||
[Files_install_german]
|
||||
copy "%ScriptPath%\X86\i_view32.ini" "%UserProfileDir%\Anwendungsdaten\irfanview"
|
||||
|
||||
[Files_delete_AllNTUser_german]
|
||||
delete -sf "%ProfileDir%\Public\Anwendungsdaten\irfanview"
|
||||
|
||||
[Registry_install]
|
||||
; Example of setting some values of an registry key:
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user