; NSIS script NSIS-2 ; Install SetCompressor /SOLID lzma SetCompressorDictSize 32 ; -------------------- ; HEADER SIZE: 24191 ; START HEADER SIZE: 300 ; MAX STRING LENGTH: 1024 ; STRING CHARS: 4157 OutFile [NSIS].exe !include WinMessages.nsh SilentInstall silent AutoCloseWindow true ; -------------------- ; LANG TABLES: 1 ; LANG STRINGS: 42 BrandingText "Nullsoft Install System v2.37" ; LANG: 1033 LangString LSTR_0 1033 "Nullsoft Install System v2.37" LangString LSTR_1 1033 "Portable Firefox" LangString LSTR_5 1033 "Can't write: " LangString LSTR_6 1033 "Copy failed" LangString LSTR_7 1033 "Copy to " LangString LSTR_8 1033 "Could not find symbol: " LangString LSTR_9 1033 "Could not load: " LangString LSTR_10 1033 "Create folder: " LangString LSTR_13 1033 "Delete file: " LangString LSTR_14 1033 "Delete on reboot: " LangString LSTR_17 1033 "Error decompressing data! Corrupted installer?" LangString LSTR_20 1033 "Execute: " LangString LSTR_21 1033 "Extract: " LangString LSTR_22 1033 "Extract: error writing to file " LangString LSTR_23 1033 "Installer corrupted: invalid opcode" LangString LSTR_24 1033 "No OLE for: " LangString LSTR_26 1033 "Remove folder: " LangString LSTR_27 1033 "Rename on reboot: " LangString LSTR_28 1033 "Rename: " LangString LSTR_29 1033 "Skipped: " LangString LSTR_30 1033 "Copy Details To Clipboard" LangString LSTR_36 1033 "Error opening file for writing: $\r$\n$\r$\n$0$\r$\n$\r$\nClick Abort to stop the installation,$\r$\nRetry to try again, or$\r$\nIgnore to skip this file." LangString LSTR_41 1033 Custom ; -------------------- ; VARIABLES: 41 Var _0_ Var _1_ Var _2_ Var _3_ Var _4_ Var _5_ Var _6_ Var _7_ Var _8_ Var _9_ Var _10_ Var _11_ Var _12_ Var _13_ Var _14_ Var _15_ Var _16_ Var _17_ Var _18_ Var _19_ Var _20_ Var _21_ Var _22_ Var _23_ Var _24_ Var _25_ Var _26_ Var _27_ Var _28_ Var _29_ Var _30_ Var _31_ Var _32_ Var _33_ Var _34_ Var _35_ Var _36_ Var _37_ Var _38_ Var _39_ Var _40_ InstType $(LSTR_41) ; Custom ; wininit = $WINDIR\wininit.ini ; -------------------- ; SECTIONS: 1 ; COMMANDS: 661 Function func_0 Exch $1 ; Push $1 ; Exch ; Pop $1 Push $2 Push $3 FindFirst $2 $3 $1\*.* StrCmp $3 "" label_17 label_7: StrCmp $3 "" label_17 StrCmp $3 . label_15 StrCmp $3 .. label_15 IfFileExists $1\$3\*.* 0 label_14 Push $1\$3 Call func_0 Goto label_15 label_14: SetFileAttributes $1\$3 NORMAL label_15: FindNext $2 $3 Goto label_7 label_17: FindClose $2 Pop $3 Pop $2 Pop $1 FunctionEnd Function func_22 ClearErrors Exch $0 ; Push $0 ; Exch ; Pop $0 Exch Exch $1 ; Push $1 ; Exch ; Pop $1 Exch 2 Exch $2 ; Push $2 ; Exch ; Pop $2 Push $R0 Push $R1 Push $R2 Push $R3 Push $R4 IfFileExists $2 label_40 label_61 label_40: FileOpen $R0 $2 r GetTempFileName $R2 FileOpen $R1 $R2 w label_43: FileRead $R0 $R3 IfErrors label_54 label_45: Push $R3 Push $1 Push $0 Call func_71 StrCpy $R4 $R3 Pop $R3 StrCmp $R3 $R4 label_52 label_45 label_52: FileWrite $R1 $R3 Goto label_43 label_54: FileClose $R1 FileClose $R0 Delete $2.old Rename $2 $2.old ; $2->$2.old Rename $R2 $2 ; $R2->$2 ClearErrors Goto label_62 label_61: SetErrors label_62: Pop $R4 Pop $R3 Pop $R2 Pop $R1 Pop $R0 Pop $2 Pop $0 Pop $1 FunctionEnd Function func_71 Exch $_4_ ; Push $_4_ ; Exch ; Pop $_4_ Exch Exch $_3_ ; Push $_3_ ; Exch ; Pop $_3_ Exch 2 Exch $_2_ ; Push $_2_ ; Exch ; Pop $_2_ StrCpy $_5_ -1 StrLen $_6_ $_3_ StrLen $_8_ $_2_ label_85: IntOp $_5_ $_5_ + 1 StrCpy $_7_ $_2_ $_6_ $_5_ StrCmp $_7_ $_3_ label_90 StrCmp $_5_ $_8_ label_96 Goto label_85 label_90: StrCpy $_7_ $_2_ $_5_ IntOp $_10_ $_5_ + $_6_ StrCpy $_9_ $_2_ "" $_10_ StrCpy $_2_ $_7_$_4_$_9_ StrLen $_8_ $_2_ Goto label_85 label_96: Pop $_3_ Pop $_3_ Exch $_2_ ; Push $_2_ ; Exch ; Pop $_2_ FunctionEnd Function func_102 Exch $1 ; Push $1 ; Exch ; Pop $1 Exch Exch $0 ; Push $0 ; Exch ; Pop $0 Exch Push $2 Push $3 Push $4 ClearErrors FileOpen $2 $0 r IfErrors label_128 StrLen $0 $1 StrCmp $0 0 label_128 label_118: FileRead $2 $3 IfErrors label_128 StrCpy $4 $3 $0 StrCmp $4 $1 0 label_118 StrCpy $0 $3 "" $0 label_123: StrCpy $4 $0 1 -1 StrCmp $4 $\r label_126 StrCmp $4 $\n 0 label_130 label_126: StrCpy $0 $0 -1 Goto label_123 label_128: SetErrors StrCpy $0 "" label_130: FileClose $2 Pop $4 Pop $3 Pop $2 Pop $1 Exch $0 ; Push $0 ; Exch ; Pop $0 FunctionEnd Function func_139 Exch $2 ; Push $2 ; Exch ; Pop $2 Exch Exch $1 ; Push $1 ; Exch ; Pop $1 Exch Exch 2 Exch $0 ; Push $0 ; Exch ; Pop $0 Exch 2 Push $3 Push $4 Push $5 Push $6 ClearErrors IfFileExists $0 0 label_234 FileOpen $3 $0 a IfErrors label_234 StrLen $0 $1 StrCmp $0 0 0 label_164 StrCpy $0 "" Goto label_232 label_164: FileRead $3 $4 IfErrors label_221 StrCpy $5 $4 $0 StrCmp $5 $1 0 label_164 StrCpy $5 0 label_169: IntOp $5 $5 - 1 StrCpy $6 $4 1 $5 StrCmp $6 $\r label_169 StrCmp $6 $\n label_169 StrCpy $6 $4 StrCmp $5 -1 label_177 IntOp $5 $5 + 1 StrCpy $6 $4 $5 label_177: StrCmp $2 "" label_181 StrCmp $6 $1$2 0 label_181 StrCpy $0 SAME Goto label_232 label_181: FileSeek $3 0 CUR $5 StrLen $4 $4 IntOp $4 $5 - $4 FileSeek $3 0 END $6 IntOp $6 $6 - $5 System::Alloc /NOUNLOAD $6 ; Call Initialize_____Plugins ; SetOverwrite off ; File $PLUGINSDIR\System.dll ; SetDetailsPrint lastused ; Push $6 ; CallInstDLL $PLUGINSDIR\System.dll /NOUNLOAD Alloc Pop $0 FileSeek $3 $5 System::Call /NOUNLOAD "kernel32::ReadFile(i r3, i r0, i $6, t.,)" ; Call Initialize_____Plugins ; File $PLUGINSDIR\System.dll ; SetDetailsPrint lastused ; Push "kernel32::ReadFile(i r3, i r0, i $6, t.,)" ; CallInstDLL $PLUGINSDIR\System.dll /NOUNLOAD Call FileSeek $3 $4 StrCmp $2 "" label_201 FileWrite $3 $1$2$\r$\n label_201: System::Call /NOUNLOAD "kernel32::WriteFile(i r3, i r0, i $6, t.,)" ; Call Initialize_____Plugins ; AllowSkipFiles off ; File $PLUGINSDIR\System.dll ; SetDetailsPrint lastused ; Push "kernel32::WriteFile(i r3, i r0, i $6, t.,)" ; CallInstDLL $PLUGINSDIR\System.dll /NOUNLOAD Call System::Call /NOUNLOAD "kernel32::SetEndOfFile(i r3)" ; Call Initialize_____Plugins ; File $PLUGINSDIR\System.dll ; SetDetailsPrint lastused ; Push "kernel32::SetEndOfFile(i r3)" ; CallInstDLL $PLUGINSDIR\System.dll /NOUNLOAD Call System::Free $0 ; Call Initialize_____Plugins ; AllowSkipFiles on ; File $PLUGINSDIR\System.dll ; SetDetailsPrint lastused ; Push $0 ; CallInstDLL $PLUGINSDIR\System.dll Free StrCmp $2 "" label_219 StrCpy $0 CHANGED Goto label_232 label_219: StrCpy $0 DELETED Goto label_232 label_221: StrCmp $2 "" 0 label_224 StrCpy $0 SAME Goto label_232 label_224: FileSeek $3 -1 END FileRead $3 $4 IfErrors label_230 StrCmp $4 $\r label_230 StrCmp $4 $\n label_230 FileWrite $3 $\r$\n label_230: FileWrite $3 $1$2$\r$\n StrCpy $0 ADDED label_232: FileClose $3 Goto label_236 label_234: SetErrors StrCpy $0 "" label_236: Pop $6 Pop $5 Pop $4 Pop $3 Pop $2 Pop $1 Exch $0 ; Push $0 ; Exch ; Pop $0 FunctionEnd Function func_246 Push $0 Push $1 Push $2 StrCpy $1 1 StrCpy $0 $CMDLINE 1 StrCmp $0 $\" 0 label_254 StrCpy $2 $\" Goto label_255 label_254: StrCpy $2 " " label_255: IntOp $1 $1 + 1 StrCpy $0 $CMDLINE 1 $1 StrCmp $0 $2 label_259 StrCmp $0 "" label_267 label_255 label_259: IntOp $1 $1 + 1 StrCpy $0 $CMDLINE 1 $1 StrCmp $0 " " label_259 StrCpy $0 $CMDLINE "" $1 label_263: StrCpy $1 $0 1 -1 StrCmp $1 " " 0 label_267 StrCpy $0 $0 -1 Goto label_263 label_267: Pop $2 Pop $1 Exch $0 ; Push $0 ; Exch ; Pop $0 FunctionEnd Function func_273 Exch $0 ; Push $0 ; Exch ; Pop $0 Push $1 Push $2 label_278: StrCpy $2 $0 1 -1 StrCmp $2 \ 0 label_282 StrCpy $0 $0 -1 Goto label_278 label_282: StrCpy $1 0 label_283: IntOp $1 $1 - 1 StrCpy $2 $0 1 $1 StrCmp $2 \ label_287 StrCmp $2 "" 0 label_283 label_287: StrCpy $0 $0 $1 Pop $2 Pop $1 Exch $0 ; Push $0 ; Exch ; Pop $0 FunctionEnd Function .onInit Call func_246 Pop $0 StrCmp $0 SHOWLICENSE label_297 label_306 label_297: IfFileExists $EXEDIR\Firefox\plugins\caschy.ini 0 label_303 ReadINIStr $0 $EXEDIR\Firefox\plugins\caschy.ini PortableFirefox AgreedToLicense StrCmp $0 3 0 label_303 StrCpy $_34_ true StrCpy $_33_ false Goto label_308 label_303: StrCpy $_34_ true StrCpy $_33_ true Goto label_308 label_306: SetSilent silent Goto label_308 label_308: FunctionEnd Section Main ; Section_0 ; AddSize 3 ReadEnvStr $_31_ APPDATA IfFileExists caschy.ini 0 label_318 StrCpy $_22_ $EXEDIR StrCmp $_11_ $EXEDIR\Firefox 0 label_317 StrCmp $_12_ $EXEDIR\Profilordner 0 label_317 StrCmp $_15_ $EXEDIR\Firefox\plugins 0 label_317 StrCmp $_14_ $EXEDIR\Firefox\plugins 0 label_317 StrCpy $_27_ true label_317: IfFileExists $_11_\$_21_ label_342 label_339 label_318: StrCpy $_16_ "" StrCpy $_17_ true StrCpy $_18_ false StrCpy $_19_ false StrCpy $_29_ false StrCpy $_21_ firefox.exe StrCpy $_24_ true StrCpy $_25_ false IfFileExists $EXEDIR\Firefox\firefox.exe 0 label_333 StrCpy $_11_ $EXEDIR\Firefox StrCpy $_12_ $EXEDIR\Profilordner StrCpy $_15_ $EXEDIR\Firefox\plugins StrCpy $_14_ $EXEDIR\Firefox\plugins StrCpy $_27_ true Goto label_342 label_333: IfFileExists $EXEDIR\MultipleFirefoxLoader\App\Firefox\firefox.exe 0 label_339 StrCpy $_11_ $EXEDIR\MultipleFirefoxLoader\App\Firefox StrCpy $_12_ $EXEDIR\MultipleFirefoxLoader\Profilordner StrCpy $_15_ $EXEDIR\MultipleFirefoxLoader\plugins StrCpy $_14_ $EXEDIR\MultipleFirefoxLoader\ Goto label_342 label_339: StrCpy $_36_ $_21_ MessageBox MB_OK|MB_ICONEXCLAMATION $(LSTR_37) ; Abort label_342: StrCpy $_13_ $_12_ IfFileExists $APPDATA\Mozilla\Firefox\*.* label_353 StrCpy $_29_ true Registry::_KeyExists /NOUNLOAD HKEY_CURRENT_USER\Software\mozilla.org ; Call Initialize_____Plugins ; File $PLUGINSDIR\Registry.dll ; SetDetailsPrint lastused ; Push HKEY_CURRENT_USER\Software\mozilla.org ; CallInstDLL $PLUGINSDIR\Registry.dll /NOUNLOAD _KeyExists Pop $R0 StrCmp $R0 -1 label_353 StrCpy $_35_ true label_353: StrCmp $_17_ true label_373 FindProcDLL::FindProc firefox.exe ; Call Initialize_____Plugins ; File $PLUGINSDIR\FindProcDLL.dll ; SetDetailsPrint lastused ; Push firefox.exe ; CallInstDLL $PLUGINSDIR\FindProcDLL.dll FindProc StrCmp $R0 1 0 label_365 IfFileExists $_12_\parent.lock 0 label_363 StrCpy $_32_ true Goto label_575 label_363: MessageBox MB_OK|MB_ICONINFORMATION $(LSTR_38) ; Abort label_365: IfFileExists "$APPDATA\Mozilla\Firefox\Crash Reports\*.*" 0 label_369 Rename "$APPDATA\Mozilla\Firefox\Crash Reports" "$APPDATA\Mozilla\Firefox\Crash Reports-BackupByFirefoxPortable" ; "$APPDATA\Mozilla\Firefox\Crash Reports->$APPDATA\Mozilla\Firefox\Crash Reports-BackupByFirefoxPortable" StrCpy $_37_ true StrCpy $_29_ true label_369: IfFileExists $APPDATA\Mozilla\Extensions\*.* 0 label_373 Rename $APPDATA\Mozilla\Extensions $APPDATA\Mozilla\Extensions-BackupByFirefoxPortable ; $APPDATA\Mozilla\Extensions->$APPDATA\Mozilla\Extensions-BackupByFirefoxPortable StrCpy $_38_ true StrCpy $_29_ true label_373: IfFileExists $_12_\prefs.js label_384 StrCmp $_27_ true label_375 label_382 label_375: CreateDirectory $EXEDIR CreateDirectory $EXEDIR\Firefox\plugins CreateDirectory $EXEDIR\Profilordner CreateDirectory $EXEDIR CopyFiles /SILENT $EXEDIR\App\DefaultData\plugins\*.* $EXEDIR\plugins ; $(LSTR_7)$EXEDIR\plugins ; "Copy to " CopyFiles /SILENT $EXEDIR\App\DefaultData\profile\*.* $EXEDIR\profile ; $(LSTR_7)$EXEDIR\profile ; "Copy to " Goto label_384 label_382: IfFileExists $_12_\*.* label_384 CreateDirectory $_12_ label_384: IfFileExists $_14_\caschy.ini label_389 CreateDirectory $_14_ FileOpen $R0 $_14_\caschy.ini w FileClose $R0 WriteINIStr $_14_\caschy.ini PortableFirefox LastProfileDirectory NONE label_389: StrCmp $_33_ true label_391 StrCmp $_34_ true label_391 label_403 label_391: WriteINIStr $_14_\caschy.ini caschy AgreedToLicense 3 WriteINIStr $_14_\caschy.ini caschy EnableSessionStore $_39_ StrCmp $_40_ true 0 label_637 IfFileExists $_12_\prefs.js 0 label_637 FileOpen $0 $_12_\prefs.js a FileSeek $0 0 END FileWriteByte $0 13 FileWriteByte $0 10 FileWrite $0 "user_pref($\"browser.sessionstore.enabled$\", $_39_);" FileWriteByte $0 13 FileWriteByte $0 10 Goto label_637 label_403: ReadINIStr $0 $_14_\caschy.ini caschy AgreedToLicense StrCmp $0 3 0 label_409 ReadINIStr $0 $_14_\caschy.ini caschy EnableSessionStore StrCmp $0 "" label_409 StrCpy $_39_ $0 Goto label_417 label_409: System::Call "kernel32::GetModuleFileNameA(i 0, t .R0, i 1024) i r1" ; Call Initialize_____Plugins ; AllowSkipFiles off ; File $PLUGINSDIR\System.dll ; SetDetailsPrint lastused ; Push "kernel32::GetModuleFileNameA(i 0, t .R0, i 1024) i r1" ; CallInstDLL $PLUGINSDIR\System.dll Call ExecWait "$R0 SHOWLICENSE" ReadINIStr $0 $_14_\caschy.ini caschy AgreedToLicense StrCmp $0 3 label_417 label_637 label_417: StrCmp $_28_ true label_428 ClearErrors FileOpen $R0 $_12_\writetest.temp w IfErrors 0 label_426 MessageBox MB_YESNO|MB_ICONQUESTION $(LSTR_39) IDYES label_424 ; MessageBox MB_OK|MB_ICONINFORMATION $(LSTR_40) ; Abort label_424: StrCpy $_28_ true Goto label_428 label_426: FileClose $R0 Delete $_12_\writetest.temp label_428: StrCmp $_24_ true label_442 InitPluginsDir ; Call Initialize_____Plugins ; SetDetailsPrint lastused SetOverwrite on AllowSkipFiles on ;File $PLUGINSDIR\splash.jpg File /oname=$PLUGINSDIR\splash.jpg "splash.jpg" newadvsplash::show /NOUNLOAD 2000 0 0 -1 /L $PLUGINSDIR\splash.jpg ; Call Initialize_____Plugins ; SetOverwrite off ; File $PLUGINSDIR\newadvsplash.dll ; SetDetailsPrint lastused ; Push $PLUGINSDIR\splash.jpg ; Push /L ; Push -1 ; Push 0 ; Push 0 ; Push 2000 ; CallInstDLL $PLUGINSDIR\newadvsplash.dll /NOUNLOAD show label_442: StrCmp $_28_ true 0 label_455 RMDir /r $TEMP\MultipleFirefoxLoader CreateDirectory $TEMP\MultipleFirefoxLoader\profile CreateDirectory $TEMP\MultipleFirefoxLoader\plugins CreateDirectory $TEMP\MultipleFirefoxLoader\program CopyFiles /SILENT $_12_\*.* $TEMP\MultipleFirefoxLoader\profile ; $(LSTR_7)$TEMP\MultipleFirefoxLoader\profile ; "Copy to " StrCpy $_12_ $TEMP\MultipleFirefoxLoader\profile CopyFiles /SILENT $_15_\*.* $TEMP\MultipleFirefoxLoader\plugins ; $(LSTR_7)$TEMP\MultipleFirefoxLoader\plugins ; "Copy to " StrCpy $_15_ $TEMP\MultipleFirefoxLoader\plugins CopyFiles /SILENT $_11_\*.* $TEMP\MultipleFirefoxLoader\program ; $(LSTR_7)$TEMP\MultipleFirefoxLoader\program ; "Copy to " StrCpy $_11_ $TEMP\MultipleFirefoxLoader\program Push $TEMP\MultipleFirefoxLoader Call func_0 label_455: ReadINIStr $_30_ $_14_\caschy.ini caschy LastProfileDirectory StrCmp $_12_ $_30_ 0 label_460 StrCmp $_25_ true label_460 StrCpy $_18_ true StrCpy $_19_ true label_460: WriteINIStr $_14_\caschy.ini caschy LastProfileDirectory $_12_ StrCmp $_18_ true label_490 IfFileExists $_12_\chrome\chrome.rdf 0 label_490 FileOpen $0 $_12_\chrome\chrome.rdf r FileOpen $R0 $_12_\chrome\chrome.rdf.new w ClearErrors label_466: FileWrite $R0 $4 FileRead $0 $4 IfErrors label_486 StrCpy $5 $4 35 StrCmp $5 " c:baseURL=$\"jar:f" label_472 StrCmp $5 " c:baseURL=$\"file:" label_475 label_466 label_472: StrCpy $R4 40 StrCpy $_23_ 0 Goto label_477 label_475: StrCpy $R4 40 StrCpy $_23_ 1 label_477: IntOp $R4 $R4 + 1 StrCpy $7 $4 10 $R4 StrCmp $7 extensions label_480 label_477 label_480: StrCpy $5 $4 "" $R4 StrCmp $_23_ 0 label_482 label_484 label_482: StrCpy $4 " c:baseURL=$\"jar:file:///$_12_/$5" Goto label_466 label_484: StrCpy $4 " c:baseURL=$\"file:///$_12_/$5" Goto label_466 label_486: FileClose $0 FileClose $R0 CopyFiles /SILENT $_12_\chrome\chrome.rdf $_12_\chrome\chrome.rdf.old ; $(LSTR_7)$_12_\chrome\chrome.rdf.old ; "Copy to " CopyFiles /SILENT $_12_\chrome\chrome.rdf.new $_12_\chrome\chrome.rdf ; $(LSTR_7)$_12_\chrome\chrome.rdf ; "Copy to " label_490: IfFileExists $_12_\Calendar\CalendarManager.rdf 0 label_510 FileOpen $0 $_12_\Calendar\CalendarManager.rdf r FileOpen $R0 $_12_\Calendar\CalendarManager.rdf.new w ClearErrors label_494: FileWrite $R0 $4 FileRead $0 $4 IfErrors label_506 StrCpy $5 $4 28 StrCmp $5 " NC:path=$\"" 0 label_494 StrCpy $R4 28 label_500: IntOp $R4 $R4 + 1 StrCpy $7 $4 9 $R4 StrCmp $7 Calendar\ 0 label_500 StrCpy $5 $4 "" $R4 StrCpy $4 " NC:path=$\"$_12_\$5" Goto label_494 label_506: FileClose $0 FileClose $R0 CopyFiles /SILENT $_12_\Calendar\CalendarManager.rdf $_12_\Calendar\CalendarManager.rdf.old ; $(LSTR_7)$_12_\Calendar\CalendarManager.rdf.old ; "Copy to " CopyFiles /SILENT $_12_\Calendar\CalendarManager.rdf.new $_12_\Calendar\CalendarManager.rdf ; $(LSTR_7)$_12_\Calendar\CalendarManager.rdf ; "Copy to " label_510: IfFileExists $_12_\prefs.js 0 label_546 StrCmp $_30_ NONE label_534 StrCpy $2 $_30_ 1 StrCpy $3 $_12_ 1 StrCmp $2 $3 label_534 Push $_12_\prefs.js Push "user_pref($\"browser.startup.homepage$\", $\"" Call func_102 Pop $0 Push $0 Push file:///$2 Push file:///$3 Call func_71 Pop $1 Push $_12_\prefs.js Push "user_pref($\"browser.startup.homepage$\", $\"" Push $1 Call func_139 Pop $R0 Push $_12_\prefs.js Push "$\", $\"$2:\\" Push "$\", $\"$3:\\" Call func_22 Delete $_12_\prefs.js.old label_534: FileOpen $0 $_12_\prefs.js a FileSeek $0 0 END FileWriteByte $0 13 FileWriteByte $0 10 FileWrite $0 "user_pref($\"browser.shell.checkDefaultBrowser$\", false);" FileWriteByte $0 13 FileWriteByte $0 10 StrCmp $_26_ "" label_545 FileWrite $0 "user_pref($\"browser.startup.homepage$\", $\"file:///$EXEDIR/$_26_$\");" FileWriteByte $0 13 FileWriteByte $0 10 label_545: FileClose $0 label_546: IfFileExists $_12_\mimeTypes.rdf 0 label_575 StrCmp $_30_ NONE label_575 Push $_30_ Push $_30_ Call func_273 Pop $0 Push $0 Call func_273 Pop $0 Push $0 Call func_273 Pop $0 StrCpy $0 $0\ Push $_13_ Call func_273 Pop $1 Push $1 Call func_273 Pop $1 Push $1 Call func_273 Pop $1 StrCpy $1 "$1\" StrCmp $0 $1 label_575 Push $_12_\mimeTypes.rdf Push $0 Push $1 Call func_22 Delete $_12_\mimeTypes.rdf.old label_575: StrCmp $_19_ true label_577 Delete $_12_\compreg.dat label_577: Call func_246 Pop $0 StrCmp '$0' '' 0 label_582 StrCpy $_20_ "$\"$_11_\$_21_$\" -profile $\"$_12_$\"" Goto label_583 label_582: StrCpy $_20_ "$\"$_11_\$_21_$\" -profile $\"$_12_$\" $0" label_583: StrCmp $_17_ true 0 label_589 System::Call "Kernel32::SetEnvironmentVariableA(t, t) i($\"MOZ_NO_REMOTE$\", $\"1$\").r0" ; Call Initialize_____Plugins ; AllowSkipFiles off ; File $PLUGINSDIR\System.dll ; SetDetailsPrint lastused ; Push "Kernel32::SetEnvironmentVariableA(t, t) i($\"MOZ_NO_REMOTE$\", $\"1$\").r0" ; CallInstDLL $PLUGINSDIR\System.dll Call label_589: StrCmp $_16_ "" label_591 StrCpy $_20_ "$_20_ $_16_" label_591: StrCmp $_15_ "" label_598 IfFileExists $_15_\*.* 0 label_598 System::Call "Kernel32::SetEnvironmentVariableA(t, t) i($\"MOZ_PLUGIN_PATH$\", $\"$_15_$\").r0" ; Call Initialize_____Plugins ; File $PLUGINSDIR\System.dll ; SetDetailsPrint lastused ; Push "Kernel32::SetEnvironmentVariableA(t, t) i($\"MOZ_PLUGIN_PATH$\", $\"$_15_$\").r0" ; CallInstDLL $PLUGINSDIR\System.dll Call label_598: StrCmp $_32_ true label_609 StrCmp $_29_ true 0 label_609 ExecWait $_20_ label_601: Sleep 2000 StrCmp $_17_ true label_613 FindProcDLL::FindProc firefox.exe ; Call Initialize_____Plugins ; File $PLUGINSDIR\FindProcDLL.dll ; SetDetailsPrint lastused ; Push firefox.exe ; CallInstDLL $PLUGINSDIR\FindProcDLL.dll FindProc StrCmp $R0 1 label_601 label_611 label_609: Exec $_20_ Goto label_637 label_611: StrCmp $_28_ true 0 label_613 RMDir /r $TEMP\MultipleFirefoxLoader label_613: FindProcDLL::FindProc firefox.exe ; Call Initialize_____Plugins ; File $PLUGINSDIR\FindProcDLL.dll ; SetDetailsPrint lastused ; Push firefox.exe ; CallInstDLL $PLUGINSDIR\FindProcDLL.dll FindProc Pop $R0 StrCmp $R0 1 label_637 label_620 label_620: StrCmp $_17_ false label_623 RMDir /r "$APPDATA\Mozilla\Firefox\Crash Reports\" Rename "$APPDATA\Mozilla\Firefox\Crash Reports-BackupByFirefoxPortable" "$APPDATA\Mozilla\Firefox\Crash Reports" ; "$APPDATA\Mozilla\Firefox\Crash Reports-BackupByFirefoxPortable->$APPDATA\Mozilla\Firefox\Crash Reports" label_623: StrCmp $_17_ false label_626 RMDir /r $APPDATA\Mozilla\Extensions Rename $APPDATA\Mozilla\Extensions-BackupByFirefoxPortable $APPDATA\Mozilla\Extensions ; $APPDATA\Mozilla\Extensions-BackupByFirefoxPortable->$APPDATA\Mozilla\Extensions label_626: Delete $APPDATA\Mozilla\Firefox\pluginreg.dat RMDir /r "$APPDATA\Mozilla\Firefox\Crash Reports\*.*" RMDir $APPDATA\Mozilla\Firefox RMDir $APPDATA\Mozilla StrCmp $_35_ true label_637 Registry::_DeleteKey /NOUNLOAD HKEY_CURRENT_USER\Software\mozilla.org ; Call Initialize_____Plugins ; AllowSkipFiles on ; File $PLUGINSDIR\Registry.dll ; SetDetailsPrint lastused ; Push HKEY_CURRENT_USER\Software\mozilla.org ; CallInstDLL $PLUGINSDIR\Registry.dll /NOUNLOAD _DeleteKey Pop $R0 label_637: Registry::_Unload ; Call Initialize_____Plugins ; File $PLUGINSDIR\Registry.dll ; SetDetailsPrint lastused ; CallInstDLL $PLUGINSDIR\Registry.dll _Unload newadvsplash::stop /WAIT ; Call Initialize_____Plugins ; File $PLUGINSDIR\newadvsplash.dll ; SetDetailsPrint lastused ; Push /WAIT ; CallInstDLL $PLUGINSDIR\newadvsplash.dll stop SectionEnd /* Function Initialize_____Plugins SetDetailsPrint none StrCmp $PLUGINSDIR "" 0 label_657 Push $0 SetErrors GetTempFileName $0 Delete $0 CreateDirectory $0 IfErrors label_658 StrCpy $PLUGINSDIR $0 Pop $0 label_657: Return label_658: MessageBox MB_OK|MB_ICONSTOP "Error! Can't initialize plug-ins directory. Please try again later." /SD IDOK Quit FunctionEnd */ ; -------------------- ; UNREFERENCED STRINGS: /* 1 ProgramFilesDir 17 "C:\Program Files" 34 $PROGRAMFILES 38 CommonFilesDir 53 "$PROGRAMFILES\Common Files" 70 $COMMONFILES */