From 091aa95005bce8a9631e58baf7e96509a2917c9d Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Sat, 1 Feb 2014 12:59:09 +0100 Subject: [PATCH] make it working again a rewrite of the install scipt part is required --- CLIENT_DATA/setup32.ins | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/CLIENT_DATA/setup32.ins b/CLIENT_DATA/setup32.ins index 2e89d2d..033e70a 100644 --- a/CLIENT_DATA/setup32.ins +++ b/CLIENT_DATA/setup32.ins @@ -91,28 +91,23 @@ copy "%ScriptPath%\X86\addons.exe" "$LogDir$\$ProductId$" cd %SystemDrive% cd "$LogDir$\$ProductId$" addons.exe -mkdir "$InstallDir$\distribution" -mkdir "$InstallDir$" -move "$LogDir$\$ProductId$\Extract\Addons\extensions" "$InstallDir$\extensions" rem Original Install routine REG ADD HKLM\SOFTWARE\Mozilla\MaintenanceService /v Attempted /t REG_DWORD /d 1 /f "$InstallExe$" -ms "%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 -cd "$LogDir$" -rmdir /S /Q "$LogDir$\$ProductId$" +rem cd "$LogDir$" +rem rmdir /S /Q "$LogDir$\$ProductId$" [Files_install] ; copy the ini file to the InstallDir 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 "%ScriptPath%\local-settings.js" "$InstallDir$\defaults\pref" +copy -s "$LogDir$\$ProductId$\Extract\Addons\bundles\*.*" "$InstallDir$\distribution\bundles" +copy -s "$LogDir$\$ProductId$\Extract\Addons\extensions\*.*" "$InstallDir$\extensions" del "$InstallDir$\distribution\extensions\tbtestpilot@labs.mozilla.com.xpi"