correct install dir to fit old install path

This commit is contained in:
Mario Fetka 2019-09-20 13:05:38 +02:00
parent cc7443e824
commit cd9d8efe43
2 changed files with 6 additions and 6 deletions

View File

@ -52,8 +52,8 @@ set $INST_architecture$ = GetProductProperty("install_architecture","system spec
; no white space use '-' as a seperator
Set $MinimumSpace$ = "1 MB"
; the path were we find the product after the installation
Set $InstallDir32$ = "%ProgramFiles32Dir%\FreeDownloadManager.ORG\Free Download Manager"
Set $InstallDir64$ = "%ProgramFiles64Dir%\FreeDownloadManager.ORG\Free Download Manager"
Set $InstallDir32$ = "%ProgramFiles32Dir%\Free Download Manager"
Set $InstallDir64$ = "%ProgramFiles64Dir%\Free Download Manager"
; ----------------------------------------------------------------
Set $IniCfgFile$ = "%ScriptPath%\opsi-" + $ProductId$ + ".ini"
@ -119,7 +119,7 @@ else
endif
[Winbatch_install_32]
"$Install32Exe$" /sp- /silent /norestart /nocancel /SUPPRESSMSGBOXES
"$Install32Exe$" /sp- /silent /norestart /nocancel /SUPPRESSMSGBOXES /DIR="$InstallDir32$"
[Files_install_32]
; copy the ini file to the InstallDir
@ -131,7 +131,7 @@ copy "$IniCfgFile$" "$InstallDir32$"
copy "%ScriptPath%\fdm_uninstall.exe" "$InstallDir32$"
[Winbatch_install_64]
"$Install64Exe$" /sp- /silent /norestart /nocancel /SUPPRESSMSGBOXES
"$Install64Exe$" /sp- /silent /norestart /nocancel /SUPPRESSMSGBOXES /DIR="$InstallDir64$"
[Files_install_64]
; copy the ini file to the InstallDir

View File

@ -44,8 +44,8 @@ Set $LogDir$ = "%SystemDrive%\tmp"
; ----------------------------------------------------------------
; - Please edit the following values -
; ----------------------------------------------------------------
Set $InstallDir32$ = "%ProgramFiles32Dir%\FreeDownloadManager.ORG\Free Download Manager"
Set $InstallDir64$ = "%ProgramFiles64Dir%\FreeDownloadManager.ORG\Free Download Manager"
Set $InstallDir32$ = "%ProgramFiles32Dir%\Free Download Manager"
Set $InstallDir64$ = "%ProgramFiles64Dir%\Free Download Manager"
; ----------------------------------------------------------------
Set $IniCfgFile$ = "%ScriptPath%\opsi-" + $ProductId$ + ".ini"