add back Langpack with Waterfox patch
This commit is contained in:
@@ -15,7 +15,7 @@ endif
|
||||
Message "Uninstalling " + $ProductId$ + " " + $OLD_VERSION$ + "-" + $OLD_CREATOR_TAG$ + $OLD_RELEASE$ + " ..."
|
||||
|
||||
if FileExists($IniFile$)
|
||||
Set $UninstallProg$ = GetValueFromInifile($IniFile$,"X86","UninstallProg","XXXXXXXX.exe")
|
||||
Set $UninstallProg$ = GetValueFromInifile($IniFile$,"X86_64","UninstallProg","XXXXXXXX.exe")
|
||||
Set $UninstallProgramOld$ = $InstallDir$ + "\" + $UninstallProg$
|
||||
if FileExists($UninstallProgramOld$)
|
||||
comment "Uninstall program found, starting uninstall"
|
||||
|
||||
@@ -87,7 +87,7 @@ endif
|
||||
@echo off
|
||||
If exist "%System%\defaultassociations.xml" (copy "%System%\defaultassociations.xml" "$LogDir$") ELSE (copy "%ScriptPath%\defaultassociations.xml" "$LogDir$")
|
||||
|
||||
rem Handling for X86 installation directory since Windows Vista
|
||||
rem Handling for X86_64 installation directory since Windows Vista
|
||||
SET InstallDir=$InstallDir$
|
||||
for /f "tokens=1-3 delims=\" %%a in ("$InstallDir$") do (
|
||||
set a=%%a
|
||||
@@ -129,8 +129,8 @@ REG ADD HKLM\SOFTWARE\Mozilla\MaintenanceService /v Attempted /t REG_DWORD /d 1
|
||||
copy "$IniCfgFile$" "$InstallDir$"
|
||||
copy "%ScriptPath%\*.cfg" "$InstallDir$"
|
||||
copy "%ScriptPath%\local-settings.js" "$InstallDir$\defaults\pref"
|
||||
copy -s "%ScriptPath%\X86\Addons\bundles\*.*" "$InstallDir$\distribution\bundles"
|
||||
copy -s "%ScriptPath%\X86\Addons\extensions\*.*" "$InstallDir$\extensions"
|
||||
copy -s "%ScriptPath%\X86_64\Addons\bundles\*.*" "$InstallDir$\distribution\bundles"
|
||||
copy -s "%ScriptPath%\X86_64\Addons\extensions\*.*" "$InstallDir$\extensions"
|
||||
|
||||
[Registry_install]
|
||||
; Example of setting some values of an registry key:
|
||||
|
||||
Reference in New Issue
Block a user