make it working again a rewrite of the install scipt part is required
This commit is contained in:
parent
00d1d9ae0a
commit
091aa95005
@ -91,28 +91,23 @@ copy "%ScriptPath%\X86\addons.exe" "$LogDir$\$ProductId$"
|
|||||||
cd %SystemDrive%
|
cd %SystemDrive%
|
||||||
cd "$LogDir$\$ProductId$"
|
cd "$LogDir$\$ProductId$"
|
||||||
addons.exe
|
addons.exe
|
||||||
mkdir "$InstallDir$\distribution"
|
|
||||||
mkdir "$InstallDir$"
|
|
||||||
move "$LogDir$\$ProductId$\Extract\Addons\extensions" "$InstallDir$\extensions"
|
|
||||||
|
|
||||||
rem Original Install routine
|
rem Original Install routine
|
||||||
REG ADD HKLM\SOFTWARE\Mozilla\MaintenanceService /v Attempted /t REG_DWORD /d 1 /f
|
REG ADD HKLM\SOFTWARE\Mozilla\MaintenanceService /v Attempted /t REG_DWORD /d 1 /f
|
||||||
"$InstallExe$" -ms
|
"$InstallExe$" -ms
|
||||||
"%ProgramFiles32Dir%\Mozilla Maintenance Service\uninstall.exe" /S
|
"%ProgramFiles32Dir%\Mozilla Maintenance Service\uninstall.exe" /S
|
||||||
rem Move thia after install
|
|
||||||
move "$LogDir$\$ProductId$\Extract\Addons\bundles" "$InstallDir$\distribution\bundles"
|
|
||||||
|
|
||||||
rem Cleanup temporary extract folder
|
rem Cleanup temporary extract folder
|
||||||
cd "$LogDir$"
|
rem cd "$LogDir$"
|
||||||
rmdir /S /Q "$LogDir$\$ProductId$"
|
rem rmdir /S /Q "$LogDir$\$ProductId$"
|
||||||
|
|
||||||
[Files_install]
|
[Files_install]
|
||||||
; copy the ini file to the InstallDir
|
; copy the ini file to the InstallDir
|
||||||
copy "$IniCfgFile$" "$InstallDir$"
|
copy "$IniCfgFile$" "$InstallDir$"
|
||||||
copy "%ScriptPath%\*.cfg" "$InstallDir$"
|
copy "%ScriptPath%\*.cfg" "$InstallDir$"
|
||||||
copy "%ScriptPath%\local-settings.js" "$InstallDir$\defaults\pref"
|
; copy "%ScriptPath%\local-settings.js" "$InstallDir$\defaults\pref"
|
||||||
; copy -s "%ScriptPath%\X86\Addons\bundles\*.*" "$InstallDir$\distribution\bundles"
|
copy -s "$LogDir$\$ProductId$\Extract\Addons\bundles\*.*" "$InstallDir$\distribution\bundles"
|
||||||
; copy -s "%ScriptPath%\X86\Addons\extensions\*.*" "$InstallDir$\extensions"
|
copy -s "$LogDir$\$ProductId$\Extract\Addons\extensions\*.*" "$InstallDir$\extensions"
|
||||||
|
|
||||||
del "$InstallDir$\distribution\extensions\tbtestpilot@labs.mozilla.com.xpi"
|
del "$InstallDir$\distribution\extensions\tbtestpilot@labs.mozilla.com.xpi"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user