Skip to content

Instantly share code, notes, and snippets.

@kirb
Last active November 23, 2024 05:16
Show Gist options
  • Save kirb/54ef28a410cfe0204e794f97bab0795b to your computer and use it in GitHub Desktop.
Save kirb/54ef28a410cfe0204e794f97bab0795b to your computer and use it in GitHub Desktop.
Analysis of the “AOL Netscape” Chromium browser

For more info on what this is, see my Bluesky thread about “AOL Netscape”, aka AOL Shield, a Chromium browser developed by SentryBay for Yahoo!.

2-Decompiled.nsi is the NSIS script, decompiled by NanaZip 3.1.1080.0 (i.e. 7-Zip). As this file shows the final version of the script after macros are expanded, I’ve been cleaning up the logic into 1-Cleaned up.nsi. This is only intended to be a partial disassembly, there are many parts of it that aren’t interesting for research purposes.

; === CONSTANTS ===
!define brand_id "netscape"
!define brand_name "Netscape"
!define brand_full_name "AOL Netscape"
!define brand_company "AOL Inc"
!define brand_installdir "AOL\Netscape"
!define version "123.0.6312.3"
!define sentrybay_guid "{7B8D0211-78A1-11E5-A0DA-0BD0DB6288AF}"
!define uninstall_key "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\${sentrybay_guid}"
!define uninstall_chrome "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\${brand_full_name}"
!define sentrybay_key "Software\SentryBay"
!define sentrybay_setup "${sentrybay_key}\${sentrybay_guid}"
!define sentrybay_client "${sentrybay_key}\Update\Clients\${sentrybay_guid}"
Name "${brand_full_name}"
BrandingText "${version}"
InstType custom
InstallDir "$PROGRAMFILES\${brand_installdir}"
; === GLOBALS ===
; A restart is required, and the user selected to reboot now
Var RebootNow
; NCID: A tracking ID indicating where the user found the browser. This is likely injected into the
; outer Chromium setup exe, and written to the registry, so the NSIS setup can read it back.
; In the case of the isp.netscape.com "Download Browser" footer link, it's "mbr_rusdeflnk00000002".
Var NCID
; Default browser checkbox
Var SetDefaultBrowser
; Launch after install checkbox
Var LaunchAfterInstall
; === MACROS ===
!insertmacro GetParameters
!insertmacro GetOptions
; Get the value of a command line flag
!macro _GetFlag flag
${GetParameters} $1
${GetOptions} $1 "${flag}=" $0
!macroend
!define GetFlag '!insertmacro _GetFlag'
; Log a marker to indicate start/end of a session
!macro _LogOpenClose state
FileOpen $0 "$TEMP\${brand_name}-${version}.log" a
${IfNot} ${Errors}
FileSeek $0 0 END
; (skipped some boring logic that gets the current date and time)
${If} ${state} == "on"
FileWrite $0 "logging started: $3-$2-$1 $4:$5:$6$\r$\n"
FileWrite $0 "${brand_name} ${version}$\r$\n"
${ElseIf} ${state} == "off"
FileWrite $0 "logging stopped: $3-$2-$1 $4:$5:$6$\r$\n"
${EndIf}
FileClose $0
${EndIf}
!macroend
!define LogOpenClose '!insertmacro _LogOpenClose'
; Write to log file
!macro _Log prefix message
Push $0
Push $1
StrCpy $1 "${message}$\r$\n"
ClearErrors
FileOpen $0 "$TEMP\${brand_name}-${version}.log" a
${IfNot} ${Errors}
FileSeek $0 0 END
FileWrite $0 "${prefix}:"
FileWrite $0 "$1"
FileClose $0
${EndIf}
Pop $1
Pop $0
!macroend
!define Log '!insertmacro _Log'
; Ping the server with a telemetry event
!macro _DoReporting event code
inetc::get /connecttimeout 3 /receivetimeout 2 /SILENT /weaksecurity /nocookies /TOSTACK \
"http://support.sentrybay.com/deploy/install.php?brand=${brand_id}&event=${event}&code=${code}&ncid=$NCID" \
"$EXEDIR\get_reply.htm"
Pop $0
!macroend
!define DoReporting '!insertmacro _DoReporting'
; Other, more different, reporting
!macro _DoPhoneHome event
${If} ${Silent}
phonehome::SendEventInfo "${event}" "${version}" 1
${Else}
phonehome::SendEventInfo "${event}" "${version}" 0
${EndIf}
!macroend
!define DoPhoneHome '!insertmacro _DoPhoneHome'
; === PRE INSTALL ===
Function .onInit
${LogOpenClose} "on"
; Set installation directory to value of /instdir= flag
${GetFlag} instdir
StrCpy $INSTDIR $0
; Sanity check the installation directory
${If} $INSTDIR == $PROGRAMFILES
${OrIf} $INSTDIR == $PROGRAMFILES64
${OrIf} $INSTDIR == $WINDIR
${OrIf} $INSTDIR == $SYSDIR
${Log} ".oninit" "aborting- $INSTDIR is an invalid installation directory"
MessageBox MB_OK|MB_ICONEXCLAMATION|MB_SETFOREGROUND \
"$INSTDIR is an invalid installation directory" \
/SD IDOK
${LogOpenClose} off
Abort
${EndIf}
; Check if there are any pending reboots to rename files. This is the mechanism used by /REBOOTOK.
; Note that other installers may have pending renames, this isn't specific to this installer.
; Not the exact logic, this actually directly uses advapi32.dll to read the REG_MULTI_SZ value.
ReadRegStr $0 HKLM "SYSTEM\CurrentControlSet\Control\Session Manager" "PendingFileRenameOperations"
${If} $0 != ""
SetErrorLevel 9
${Log} ".oninit" "aborting- A previous program installation or uninstallation was not completed.$\r$\n\
You need to restart your computer before installing ${brand_name}"
MessageBox MB_OK|MB_ICONEXCLAMATION|MB_SETFOREGROUND \
"A previous program installation or uninstallation was not completed.$\r$\n\
You need to restart your computer before installing ${brand_name}" \
/SD IDOK
${LogOpenClose} off
Abort
${EndIf}
; Check for Windows 10
${IfNot} ${IsWin10}
MessageBox MB_OK|MB_ICONEXCLAMATION \
"${brand_name} is not supported on this version of Windows" \
/SD IDOK
SetErrorLevel 8
Abort
${EndIf}
; Get the installer data
${GetFlag} installerdata
${If} ${FileExists} "$0"
; Open the file, jump 3 bytes to skip "mbr_", and read the rest of it to $NCID
FileOpen $4 "$0" r
FileSeek $4 3
FileRead $4 $3
FileClose $4
; Did we get a valid NCID?
StrLen $1 $3
${If} $1 == 0
; Invalid - just use an empty string
StrCpy $NCID ""
${Else}
; Valid - use it, and write to registry
StrCpy $NCID "$3"
WriteRegStr HKLM "${sentrybay_key}" "NCIDTrack" "$3"
${EndIf}
${EndIf}
; Use install location from the registry if it exists
Pop $0
ReadRegStr $0 HKLM "${uninstall_guid}" "InstallLocation"
${If} $0 != ""
StrCpy $INSTDIR $0
${EndIf}
; Do other, more different logging
Delete "$TEMP\.UpdateStart"
${If} ${FileExists} "$INSTDIR\application\${brand_name}.exe"
; Log as update
${DoPhoneHome} "UpdateStart"
; Create .UpdateStart marker again
FileOpen $4 "$TEMP\.UpdateStart" w
FileClose
${Else}
; Log as new install
${DoPhoneHome} "InstallStart"
${EndIf}
FunctionEnd
; === WIZARD PAGES ===
; (skipped because it's not interesting for this analysis)
; === INSTALLATION ===
Section reporting
; Log the start of the install
; Despite the event code being "success", we haven't actually done anything yet!
${If} ${Silent}
${DoReporting} start_silent_install success
${Else}
${DoReporting} start_install success
${EndIf}
SectionEnd
Section browser
; Start copying to Program Files
SetOutPath $INSTDIR
; Construct the installer arguments to use
; --verbose-logging: Be more verbose in the log file
; --system-level: Install for all users on the system
; --do-not-launch-chrome: Don't start the browser automatically
StrCpy $0 "--verbose-logging --system-level --do-not-launch-chrome"
; Did the user consent to become the default browser?
${If} $SetDefaultBrowser
StrCpy $0 "$0 --make-chrome-default"
${EndIf}
; Allow overwriting files, and skip files that are in use
SetOverwrite on
AllowSkipFiles on
; Extract the extension, then tell the installer where to find it, and its version
File search_and_newtab.crx
StrCpy $0 '$0 \
--search-and-newtab-crx-path="$OUTDIR\search_and_newtab.crx" \
--search-and-newtab-extension-version=3.0.3'
; Extract the Chromium installer
StrCpy $1 "${uninstall_chrome}"
File mini_installer.exe
; Is this an update? We’ll know if the install is silent and the .exe exists.
${If} ${Silent}
${AndIf} ${FileExists} "$INSTDIR\application\${brand_name}.exe"
; Schedule the update to install the next time an admin logs on, and exit this section
; This is a lazy way to handle the browser still being in use when updating in the background.
; Caveats:
; - This will hold up Windows at the Welcome screen until setup completes
; - RunOnce is only executed for admins. If a non admin is the typical user of the system, the
; update may never happen!
StrCpy $2 "Software\Microsoft\Windows\CurrentVersion\RunOnce"
WriteRegStr HKLM "$2" \
"aolshield_mini_installer" \
'"$OUTDIR\mini_installer.exe" $0'
WriteRegStr HKLM "$2" \
"aolshield_mini_installer_post_action" \
'reg delete "HKLM\$1" /f'
Return
${EndIf}
; This is a new install, run the installer now
ExecWait '"$OUTDIR\mini_installer.exe" $0'
; Delete registry key created by Chromium mini_installer.exe
DeleteRegKey HKLM "$1"
; Did it install as new_Netscape.exe because the browser is in use?
${If} ${FileExists} "$INSTDIR\application\new_${brand_name}.exe"
; Store the previous reboot flag value
${If} ${RebootFlag}
StrCpy $0 1
${Else}
StrCpy $0 0
${EndIf}
; Try to rename back to Netscape.exe
; If it fails, it'll be registered to rename on reboot
Rename /REBOOTOK \
"$INSTDIR\application\new_${brand_name}.exe" \
"$INSTDIR\application\${brand_name}.exe"
; Extract NetscapeUpdater.exe to temp folder
ClearErrors
SetOutPath $TEMP
File ${brand_name}Updater.exe
; If it worked (isn't already running), run it
${IfNot} ${Errors}
Exec "$OUTDIR\${brand_name}Updater.exe"
${EndIf}
; Delete it
Delete /REBOOTOK "$OUTDIR\${brand_name}Updater.exe"
; Clear the reboot flag if /REBOOTOK just set it
${If} $0 == 0
SetRebootFlag false
${EndIf}
${EndIf}
SectionEnd
Section postinstall
; Delete registry key created by Chromium mini_installer.exe
DeleteRegKey HKLM "${uninstall_chrome}"
; Extract uninstaller
WriteUninstaller "$INSTDIR\uninstall.exe"
; Create uninstall registry entry
WriteRegStr HKLM "${uninstall_key}" UninstallString "$INSTDIR\uninstall.exe /interactive"
WriteRegStr HKLM "${uninstall_key}" DisplayName "${brand_name}"
WriteRegStr HKLM "${uninstall_key}" DisplayIcon "$INSTDIR\uninstall.exe"
WriteRegStr HKLM "${uninstall_key}" DisplayVersion "${version}"
WriteRegDWORD HKLM "${uninstall_key}" NoModify 1
WriteRegDWORD HKLM "${uninstall_key}" NoRepair 1
WriteRegStr HKLM "${uninstall_key}" InstallLocation "$INSTDIR"
WriteRegStr HKLM "${uninstall_key}" Publisher "${brand_company}"
SectionEnd
; === POST INSTALL ===
Function .onUserAbort
; Log as cancelled
${Log} ".onabort" "user cancel"
; User cancelled the setup, log it
${If} ${Silent}
${DoReporting} end_silent_install cancelled
${Else}
${DoReporting} end_install cancelled
${EndIf}
FunctionEnd
Function .onInstSuccess
; Write the language the installer ran with (currently will only be "1033" i.e. US English)
; Actually in the “leave” function for the “finished” page, just putting it here for simplicity
WriteRegStr HKLM "${sentrybay_setup}" "Language" "$LANGUAGE"
; Do we need to reboot?
${IfNot} ${Silent}
${AndIf} ${RebootFlag}
${AndIf} $RebootNow != 1
SetRebootFlag false
${Log} ".oninstsuccess" "rebooting later"
${EndIf}
; Log the end of the install
${If} ${Silent}
${DoReporting} end_silent_install success
${Else}
${DoReporting} end_install success
${EndIf}
; Write version to registry (pv = previous version?)
WriteRegStr HKLM "${sentrybay_client}" "pv" "${version}"
; Launch browser if requested by user
${If} $LaunchAfterInstall
applauncher::LaunchMediumIntegrity "$INSTDIR\application\${brand_name}.exe"
${EndIf}
; Do other, more different reporting
${If} ${FileExists} "$TEMP\.UpdateStart"
; Log as update
${DoPhoneHome} "UpdateSuccess"
${Else}
; Log as new install
${DoPhoneHome} "InstallSuccess"
${EndIf}
; Log success
${Log} ".oninstsuccess" "install success"
; Set exit code to 4 if we need to reboot
Pop $1
Pop $0
GetErrorLevel $0
${If} $0 == -1
${AndIf} ${RebootFlag}
SetErrorLevel 4
${EndIf}
; Close the log
${LogOpenClose} off
FunctionEnd
Function .onInstFailed
; Log failure
${Log} ".oninstfailed" "install fail"
; Report failure
${If} ${Silent}
${DoReporting} end_silent_install failed
${Else}
${DoReporting} end_install failed
${EndIf}
; Do other, more different reporting
${If} ${FileExists} "$TEMP\.UpdateStart"
; Log as update
${DoPhoneHome} "UpdateFail"
${Else}
; Log as new install
${DoPhoneHome} "InstallFail"
${EndIf}
; Close the log
${LogOpenClose} off
FunctionEnd
; NSIS script (UTF-8) NSIS-3 Unicode
; Install
Unicode true
SetCompressor lzma
SetCompressorDictSize 8
; --------------------
; HEADER SIZE: 63390
; START HEADER SIZE: 300
; MAX STRING LENGTH: 1024
; STRING CHARS: 7786
OutFile [NSIS].exe
!include WinMessages.nsh
LicenseBkColor /windows
; --------------------
; LANG TABLES: 1
; LANG STRINGS: 73
Name Netscape
BrandingText 123.0.6312.3
; LANG: 1033
LangString LSTR_0 1033 123.0.6312.3
LangString LSTR_1 1033 "$(LSTR_2) Setup"
LangString LSTR_2 1033 Netscape
LangString LSTR_5 1033 "Can't write: "
LangString LSTR_8 1033 "Could not find symbol: "
LangString LSTR_9 1033 "Could not load: "
LangString LSTR_12 1033 "Created uninstaller: "
LangString LSTR_13 1033 "Delete file: "
LangString LSTR_14 1033 "Delete on reboot: "
LangString LSTR_16 1033 "Error creating: "
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_25 1033 "Output folder: "
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_37 1033 0
LangString LSTR_38 1033 "Welcome to $(LSTR_72) Setup"
LangString LSTR_39 1033 "MS Shell Dlg"
LangString LSTR_40 1033 "Setup will guide you through the installation of $(LSTR_72).$\r$\n$\r$\nIt is recommended that you close all other applications before starting Setup. This will make it possible to update relevant system files without having to reboot your computer.$\r$\n$\r$\n$_CLICK"
LangString LSTR_41 1033 "If you accept the terms of the agreement, click I Agree to continue. You must accept the agreement to install $(LSTR_72)."
LangString LSTR_42 1033 "License Agreement"
LangString LSTR_43 1033 "Please review the license terms before installing $(LSTR_72)."
LangString LSTR_44 1033 "Press Page Down to see the rest of the agreement."
LangString LSTR_45 1033 Installing
LangString LSTR_46 1033 "Please wait while $(LSTR_72) is being installed."
LangString LSTR_47 1033 "Installation Complete"
LangString LSTR_48 1033 "Setup was completed successfully."
LangString LSTR_49 1033 "Installation Aborted"
LangString LSTR_50 1033 "Setup was not completed successfully."
LangString LSTR_51 1033 &Finish
LangString LSTR_52 1033 "Completing $(LSTR_72) Setup"
LangString LSTR_53 1033 "Your computer must be restarted in order to complete the installation of $(LSTR_72). Do you want to reboot now?"
LangString LSTR_54 1033 "Reboot now"
LangString LSTR_55 1033 "I want to manually reboot later"
LangString LSTR_56 1033 "$(LSTR_72) has been installed on your computer.$\r$\n$\r$\nClick Finish to close Setup."
LangString LSTR_57 1033 8
LangString LSTR_58 1033 "Are you sure you want to quit $(LSTR_2) Setup?"
LangString LSTR_59 1033 "Netscape is not supported on this version of Windows"
LangString LSTR_60 1033 Custom
LangString LSTR_61 1033 Cancel
LangString LSTR_62 1033 "< &Back"
LangString LSTR_63 1033 "&Next >"
LangString LSTR_64 1033 "Click Next to continue."
LangString LSTR_65 1033 "I &Agree"
LangString LSTR_66 1033 &Install
LangString LSTR_67 1033 "Click Install to start the installation."
LangString LSTR_68 1033 "Show &details"
LangString LSTR_69 1033 Completed
LangString LSTR_70 1033 " "
LangString LSTR_71 1033 &Close
LangString LSTR_72 1033 Netscape
; --------------------
; VARIABLES: 49
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_
Var _41_
Var _42_
Var _43_
Var _44_
Var _45_
Var _46_
Var _47_
Var _48_
InstType $(LSTR_60) ; Custom
InstallDir $PROGRAMFILES\AOL\Netscape
; install_directory_auto_append = Netscape
; wininit = $WINDIR\wininit.ini
; --------------------
; PAGES: 6
; Page 0
Page custom func_138 func_208 /ENABLECANCEL
; Page 1
Page license func_209 func_212 func_218 /ENABLECANCEL
LicenseText $(LSTR_41) $(LSTR_65) ; "If you accept the terms of the agreement, click I Agree to continue. You must accept the agreement to install $(LSTR_72)." "I &Agree" Netscape
LicenseData [LICENSE].rtf
; Page 2
Page custom func_497 func_567 /ENABLECANCEL
; Page 3
Page instfiles func_219 func_222 func_228
CompletedText $(LSTR_69) ; Completed
DetailsButtonText $(LSTR_68) ; "Show &details"
/*
; Page 4
Page COMPLETED
*/
; Page 5
Page custom func_243 func_416
; --------------------
; SECTIONS: 3
; COMMANDS: 1448
Function func_0
Exch $R0
; Push $R0
; Exch
; Pop $R0
Exch
Exch $R1
; Push $R1
; Exch
; Pop $R1
Push $R2
Push $R3
Push $R4
Push $R5
StrLen $R2 $R0
StrLen $R3 $R1
StrCpy $R4 0
label_14:
StrCpy $R5 $R1 $R2 $R4
StrCmp $R5 $R0 0 label_17
Goto label_23
label_17:
IntCmp $R4 $R3 0 label_19
Goto label_23
label_19:
IntOp $R4 $R4 + 1
label_20:
Goto label_14
Goto label_20
Goto label_23
label_23:
StrCpy $R0 $R1 "" $R4
Pop $R5
Pop $R4
Pop $R3
Pop $R2
Pop $R1
Exch $R0
; Push $R0
; Exch
; Pop $R0
FunctionEnd
Function func_33
Push $7
Push $0
Push $1
Push $2
Push $3
Push $4
Push $5
Push $6
StrCpy $0 ""
StrCpy $1 ""
StrCpy $2 ""
StrCpy $3 ""
StrCpy $7 ""
System::Call "Advapi32::RegOpenKeyEx(i, t, i, i, *i) i(0x80000002, 'SYSTEM\CurrentControlSet\Control\Session Manager', 0, 0x0001|0x0008, .r0) .r3"
; Call Initialize_____Plugins
; SetOverwrite off
; File $PLUGINSDIR\System.dll
; SetDetailsPrint lastused
; Push "Advapi32::RegOpenKeyEx(i, t, i, i, *i) i(0x80000002, 'SYSTEM\CurrentControlSet\Control\Session Manager', 0, 0x0001|0x0008, .r0) .r3"
; CallInstDLL $PLUGINSDIR\System.dll Call
StrCmp $3 0 0 label_93
System::Call "Advapi32::RegQueryValueEx(i, t, i, *i, i, *i) i(r0, 'PendingFileRenameOperations', 0, .r1, 0, .r2) .r3"
; Call Initialize_____Plugins
; AllowSkipFiles off
; File $PLUGINSDIR\System.dll
; SetDetailsPrint lastused
; Push "Advapi32::RegQueryValueEx(i, t, i, *i, i, *i) i(r0, 'PendingFileRenameOperations', 0, .r1, 0, .r2) .r3"
; CallInstDLL $PLUGINSDIR\System.dll Call
StrCmp $3 0 0 label_93
StrCmp $1 7 0 label_93
StrCmp $2 0 label_93
System::Alloc $2
; Call Initialize_____Plugins
; File $PLUGINSDIR\System.dll
; SetDetailsPrint lastused
; Push $2
; CallInstDLL $PLUGINSDIR\System.dll Alloc
Pop $1
StrCmp $1 0 label_93
System::Call "Advapi32::RegQueryValueEx(i, t, i, *i, i, *i) i(r0, 'PendingFileRenameOperations', 0, n, r1, r2) .r3"
; Call Initialize_____Plugins
; File $PLUGINSDIR\System.dll
; SetDetailsPrint lastused
; Push "Advapi32::RegQueryValueEx(i, t, i, *i, i, *i) i(r0, 'PendingFileRenameOperations', 0, n, r1, r2) .r3"
; CallInstDLL $PLUGINSDIR\System.dll Call
StrCmp $3 0 0 label_93
StrCpy $4 $1
IntOp $6 $4 + $2
IntOp $6 $6 - 2
label_76:
System::Call "*$4(&t1024 .r3)"
; Call Initialize_____Plugins
; File $PLUGINSDIR\System.dll
; SetDetailsPrint lastused
; Push "*$4(&t1024 .r3)"
; CallInstDLL $PLUGINSDIR\System.dll Call
StrLen $5 $3
IntOp $5 $5 + 1
IntOp $5 $5 * 2
IntOp $4 $4 + $5
Push $3
Push $INSTDIR
Call func_0
Pop $3
StrCmp $3 "" label_92
StrCpy $7 1
Goto label_93
label_92:
IntCmp $4 $6 0 label_76
label_93:
System::Free $1
; Call Initialize_____Plugins
; File $PLUGINSDIR\System.dll
; SetDetailsPrint lastused
; Push $1
; CallInstDLL $PLUGINSDIR\System.dll Free
StrCmp $0 0 label_104
System::Call "Advapi32::RegCloseKey(i) i(r0)"
; Call Initialize_____Plugins
; File $PLUGINSDIR\System.dll
; SetDetailsPrint lastused
; Push "Advapi32::RegCloseKey(i) i(r0)"
; CallInstDLL $PLUGINSDIR\System.dll Call
label_104:
Pop $6
Pop $5
Pop $4
Pop $3
Pop $2
Pop $1
Exch $7
; Push $7
; Exch
; Pop $7
FunctionEnd
Function func_114
InitPluginsDir
; Call Initialize_____Plugins
; SetDetailsPrint lastused
SetOverwrite on
AllowSkipFiles on
File $PLUGINSDIR\modern-wizard.bmp
FunctionEnd
Function func_118
LockWindow on
ShowWindow $_7_ ${SW_HIDE}
ShowWindow $_6_ ${SW_HIDE}
ShowWindow $_1_ ${SW_HIDE}
ShowWindow $_3_ ${SW_HIDE}
ShowWindow $_5_ ${SW_HIDE}
ShowWindow $_8_ ${SW_HIDE}
ShowWindow $_9_ ${SW_SHOWNORMAL}
LockWindow off
FunctionEnd
Function func_128
LockWindow on
ShowWindow $_7_ ${SW_SHOWNORMAL}
ShowWindow $_6_ ${SW_SHOWNORMAL}
ShowWindow $_1_ ${SW_SHOWNORMAL}
ShowWindow $_3_ ${SW_SHOWNORMAL}
ShowWindow $_5_ ${SW_SHOWNORMAL}
ShowWindow $_8_ ${SW_SHOWNORMAL}
ShowWindow $_9_ ${SW_HIDE}
LockWindow off
FunctionEnd
Function func_138 ; Page 0, Pre
nsDialogs::Create 1044
; Call Initialize_____Plugins
; SetOverwrite off
; File $PLUGINSDIR\nsDialogs.dll
; SetDetailsPrint lastused
; Push 1044
; CallInstDLL $PLUGINSDIR\nsDialogs.dll Create
Pop $_13_
nsDialogs::SetRTL $(LSTR_37) ; 0
; Call Initialize_____Plugins
; AllowSkipFiles off
; File $PLUGINSDIR\nsDialogs.dll
; SetDetailsPrint lastused
; Push $(LSTR_37) ; 0
; CallInstDLL $PLUGINSDIR\nsDialogs.dll SetRTL
SetCtlColors $_13_ "" 0xFFFFFF
nsDialogs::CreateControl STATIC 0x40000000|0x10000000|0x04000000|0x0000000E|0x00000100 0 0u 0u 109u 193u ""
; Call Initialize_____Plugins
; File $PLUGINSDIR\nsDialogs.dll
; SetDetailsPrint lastused
; Push ""
; Push 193u
; Push 109u
; Push 0u
; Push 0u
; Push 0
; Push 0x40000000|0x10000000|0x04000000|0x0000000E|0x00000100
; Push STATIC
; CallInstDLL $PLUGINSDIR\nsDialogs.dll CreateControl
Pop $_14_
SetBrandingImage /IMGID=553 s
nsDialogs::CreateControl STATIC 0x40000000|0x10000000|0x04000000|0x00000100 0x00000020 120u 10u 195u 38u $(LSTR_38) ; "Welcome to $(LSTR_72) Setup" Netscape
; Call Initialize_____Plugins
; File $PLUGINSDIR\nsDialogs.dll
; SetDetailsPrint lastused
; Push $(LSTR_38) ; "Welcome to $(LSTR_72) Setup" Netscape
; Push 38u
; Push 195u
; Push 10u
; Push 120u
; Push 0x00000020
; Push 0x40000000|0x10000000|0x04000000|0x00000100
; Push STATIC
; CallInstDLL $PLUGINSDIR\nsDialogs.dll CreateControl
Pop $_16_
SetCtlColors $_16_ 0x000000 0xFFFFFF
CreateFont $_17_ $(LSTR_39) 12 700 ; "MS Shell Dlg"
SendMessage $_16_ ${WM_SETFONT} $_17_ 0
nsDialogs::CreateControl STATIC 0x40000000|0x10000000|0x04000000|0x00000100 0x00000020 120u 55u 195u 130u $(LSTR_40) ; "Setup will guide you through the installation of $(LSTR_72).$\r$\n$\r$\nIt is recommended that you close all other applications before starting Setup. This will make it possible to update relevant system files without having to reboot your computer.$\r$\n$\r$\n$_CLICK" Netscape
; Call Initialize_____Plugins
; File $PLUGINSDIR\nsDialogs.dll
; SetDetailsPrint lastused
; Push $(LSTR_40) ; "Setup will guide you through the installation of $(LSTR_72).$\r$\n$\r$\nIt is recommended that you close all other applications before starting Setup. This will make it possible to update relevant system files without having to reboot your computer.$\r$\n$\r$\n$_CLICK" Netscape
; Push 130u
; Push 195u
; Push 55u
; Push 120u
; Push 0x00000020
; Push 0x40000000|0x10000000|0x04000000|0x00000100
; Push STATIC
; CallInstDLL $PLUGINSDIR\nsDialogs.dll CreateControl
Pop $_18_
SetCtlColors $_18_ 0x000000 0xFFFFFF
Call func_118
nsDialogs::Show
; Call Initialize_____Plugins
; File $PLUGINSDIR\nsDialogs.dll
; SetDetailsPrint lastused
; CallInstDLL $PLUGINSDIR\nsDialogs.dll Show
Call func_128
IntCmp $_15_ 0 label_207
System::Call gdi32::DeleteObject(ps) $_15_
; Call Initialize_____Plugins
; File $PLUGINSDIR\System.dll
; SetDetailsPrint lastused
; Push $_15_
; Push gdi32::DeleteObject(ps)
; CallInstDLL $PLUGINSDIR\System.dll Call
label_207:
FunctionEnd
Function func_208 ; Page 0, Leave
FunctionEnd
Function func_209 ; Page 1, Pre
SendMessage $_1_ ${WM_SETTEXT} 0 STR:$(LSTR_42) ; "License Agreement"
SendMessage $_3_ ${WM_SETTEXT} 0 STR:$(LSTR_43) ; "Please review the license terms before installing $(LSTR_72)." Netscape
FunctionEnd
Function func_212 ; Page 1, Show
FindWindow $_19_ "#32770" "" $HWNDPARENT
GetDlgItem $_20_ $_19_ 1040
GetDlgItem $_21_ $_19_ 1006
GetDlgItem $_22_ $_19_ 1000
SendMessage $_20_ ${WM_SETTEXT} 0 STR:$(LSTR_44) ; "Press Page Down to see the rest of the agreement."
FunctionEnd
Function func_218 ; Page 1, Leave
FunctionEnd
Function func_219 ; Page 3, Pre
SendMessage $_1_ ${WM_SETTEXT} 0 STR:$(LSTR_45) ; Installing
SendMessage $_3_ ${WM_SETTEXT} 0 STR:$(LSTR_46) ; "Please wait while $(LSTR_72) is being installed." Netscape
FunctionEnd
Function func_222 ; Page 3, Show
FindWindow $_23_ "#32770" "" $HWNDPARENT
GetDlgItem $_24_ $_23_ 1006
GetDlgItem $_25_ $_23_ 1004
GetDlgItem $_26_ $_23_ 1027
GetDlgItem $_27_ $_23_ 1016
FunctionEnd
Function func_228 ; Page 3, Leave
IfAbort label_232
SendMessage $_1_ ${WM_SETTEXT} 0 STR:$(LSTR_47) ; "Installation Complete"
SendMessage $_3_ ${WM_SETTEXT} 0 STR:$(LSTR_48) ; "Setup was completed successfully."
Goto label_234
label_232:
SendMessage $_1_ ${WM_SETTEXT} 0 STR:$(LSTR_49) ; "Installation Aborted"
SendMessage $_3_ ${WM_SETTEXT} 0 STR:$(LSTR_50) ; "Setup was not completed successfully."
label_234:
IfAbort label_236
WriteRegStr HKLM SOFTWARE\SentryBay\{7B8D0211-78A1-11E5-A0DA-0BD0DB6288AF} Language $LANGUAGE
label_236:
FunctionEnd
Function func_237
InitPluginsDir
; Call Initialize_____Plugins
; SetDetailsPrint lastused
SetOverwrite on
AllowSkipFiles on
File $PLUGINSDIR\modern-wizard.bmp
Call func_114
SetAutoClose true
FunctionEnd
Function func_243 ; Page 5, Pre
SendMessage $_10_ ${WM_SETTEXT} 0 STR:$(LSTR_51) ; &Finish
nsDialogs::Create 1044
; Call Initialize_____Plugins
; SetOverwrite off
; AllowSkipFiles off
; File $PLUGINSDIR\nsDialogs.dll
; SetDetailsPrint lastused
; Push 1044
; CallInstDLL $PLUGINSDIR\nsDialogs.dll Create
Pop $_28_
nsDialogs::SetRTL $(LSTR_37) ; 0
; Call Initialize_____Plugins
; File $PLUGINSDIR\nsDialogs.dll
; SetDetailsPrint lastused
; Push $(LSTR_37) ; 0
; CallInstDLL $PLUGINSDIR\nsDialogs.dll SetRTL
SetCtlColors $_28_ "" 0xFFFFFF
nsDialogs::CreateControl STATIC 0x40000000|0x10000000|0x04000000|0x0000000E|0x00000100 0 0u 0u 109u 193u ""
; Call Initialize_____Plugins
; File $PLUGINSDIR\nsDialogs.dll
; SetDetailsPrint lastused
; Push ""
; Push 193u
; Push 109u
; Push 0u
; Push 0u
; Push 0
; Push 0x40000000|0x10000000|0x04000000|0x0000000E|0x00000100
; Push STATIC
; CallInstDLL $PLUGINSDIR\nsDialogs.dll CreateControl
Pop $_29_
SetBrandingImage /IMGID=553 Files
IfRebootFlag 0 label_336
nsDialogs::CreateControl STATIC 0x40000000|0x10000000|0x04000000|0x00000100 0x00000020 120u 10u 195u 38u $(LSTR_52) ; "Completing $(LSTR_72) Setup" Netscape
; Call Initialize_____Plugins
; File $PLUGINSDIR\nsDialogs.dll
; SetDetailsPrint lastused
; Push $(LSTR_52) ; "Completing $(LSTR_72) Setup" Netscape
; Push 38u
; Push 195u
; Push 10u
; Push 120u
; Push 0x00000020
; Push 0x40000000|0x10000000|0x04000000|0x00000100
; Push STATIC
; CallInstDLL $PLUGINSDIR\nsDialogs.dll CreateControl
Pop $_31_
SetCtlColors $_31_ 0x000000 0xFFFFFF
CreateFont $_32_ $(LSTR_39) 12 700 ; "MS Shell Dlg"
SendMessage $_31_ ${WM_SETFONT} $_32_ 0
nsDialogs::CreateControl STATIC 0x40000000|0x10000000|0x04000000|0x00000100 0x00000020 120u 55u 195u 40u $(LSTR_53) ; "Your computer must be restarted in order to complete the installation of $(LSTR_72). Do you want to reboot now?" Netscape
; Call Initialize_____Plugins
; File $PLUGINSDIR\nsDialogs.dll
; SetDetailsPrint lastused
; Push $(LSTR_53) ; "Your computer must be restarted in order to complete the installation of $(LSTR_72). Do you want to reboot now?" Netscape
; Push 40u
; Push 195u
; Push 55u
; Push 120u
; Push 0x00000020
; Push 0x40000000|0x10000000|0x04000000|0x00000100
; Push STATIC
; CallInstDLL $PLUGINSDIR\nsDialogs.dll CreateControl
Pop $_33_
SetCtlColors $_33_ 0x000000 0xFFFFFF
nsDialogs::CreateControl BUTTON 0x40000000|0x10000000|0x04000000|0x00010000|0x00000000|0x00000C00|0x00000009|0x00002000 0 120u 100u 195u 10u $(LSTR_54) ; "Reboot now"
; Call Initialize_____Plugins
; File $PLUGINSDIR\nsDialogs.dll
; SetDetailsPrint lastused
; Push $(LSTR_54) ; "Reboot now"
; Push 10u
; Push 195u
; Push 100u
; Push 120u
; Push 0
; Push 0x40000000|0x10000000|0x04000000|0x00010000|0x00000000|0x00000C00|0x00000009|0x00002000
; Push BUTTON
; CallInstDLL $PLUGINSDIR\nsDialogs.dll CreateControl
Pop $_35_
SetCtlColors $_35_ 0x000000 0xFFFFFF
nsDialogs::CreateControl BUTTON 0x40000000|0x10000000|0x04000000|0x00010000|0x00000000|0x00000C00|0x00000009|0x00002000 0 120u 125u 195u 10u $(LSTR_55) ; "I want to manually reboot later"
; Call Initialize_____Plugins
; File $PLUGINSDIR\nsDialogs.dll
; SetDetailsPrint lastused
; Push $(LSTR_55) ; "I want to manually reboot later"
; Push 10u
; Push 195u
; Push 125u
; Push 120u
; Push 0
; Push 0x40000000|0x10000000|0x04000000|0x00010000|0x00000000|0x00000C00|0x00000009|0x00002000
; Push BUTTON
; CallInstDLL $PLUGINSDIR\nsDialogs.dll CreateControl
Pop $_36_
SetCtlColors $_36_ 0x000000 0xFFFFFF
SendMessage $_35_ 0x00F1 1 0
System::Call user32::SetFocus(p$_35_)
; Call Initialize_____Plugins
; File $PLUGINSDIR\System.dll
; SetDetailsPrint lastused
; Push user32::SetFocus(p$_35_)
; CallInstDLL $PLUGINSDIR\System.dll Call
Goto label_366
label_336:
nsDialogs::CreateControl STATIC 0x40000000|0x10000000|0x04000000|0x00000100 0x00000020 120u 10u 195u 38u $(LSTR_52) ; "Completing $(LSTR_72) Setup" Netscape
; Call Initialize_____Plugins
; File $PLUGINSDIR\nsDialogs.dll
; SetDetailsPrint lastused
; Push $(LSTR_52) ; "Completing $(LSTR_72) Setup" Netscape
; Push 38u
; Push 195u
; Push 10u
; Push 120u
; Push 0x00000020
; Push 0x40000000|0x10000000|0x04000000|0x00000100
; Push STATIC
; CallInstDLL $PLUGINSDIR\nsDialogs.dll CreateControl
Pop $_31_
SetCtlColors $_31_ 0x000000 0xFFFFFF
CreateFont $_32_ $(LSTR_39) 12 700 ; "MS Shell Dlg"
SendMessage $_31_ ${WM_SETFONT} $_32_ 0
nsDialogs::CreateControl STATIC 0x40000000|0x10000000|0x04000000|0x00000100 0x00000020 120u 55u 195u 130u $(LSTR_56) ; "$(LSTR_72) has been installed on your computer.$\r$\n$\r$\nClick Finish to close Setup." Netscape
; Call Initialize_____Plugins
; File $PLUGINSDIR\nsDialogs.dll
; SetDetailsPrint lastused
; Push $(LSTR_56) ; "$(LSTR_72) has been installed on your computer.$\r$\n$\r$\nClick Finish to close Setup." Netscape
; Push 130u
; Push 195u
; Push 55u
; Push 120u
; Push 0x00000020
; Push 0x40000000|0x10000000|0x04000000|0x00000100
; Push STATIC
; CallInstDLL $PLUGINSDIR\nsDialogs.dll CreateControl
Pop $_33_
SetCtlColors $_33_ 0x000000 0xFFFFFF
label_366:
Push $1
System::Call *(i12,i0,p)p.r1
; Call Initialize_____Plugins
; File $PLUGINSDIR\System.dll
; SetDetailsPrint lastused
; Push *(i12,i0,p)p.r1
; CallInstDLL $PLUGINSDIR\System.dll Call
System::Call USER32::SystemParametersInfo(i0x42,i12,pr1,i0)
; Call Initialize_____Plugins
; File $PLUGINSDIR\System.dll
; SetDetailsPrint lastused
; Push USER32::SystemParametersInfo(i0x42,i12,pr1,i0)
; CallInstDLL $PLUGINSDIR\System.dll Call
System::Call *$1(i,i.s)
; Call Initialize_____Plugins
; File $PLUGINSDIR\System.dll
; SetDetailsPrint lastused
; Push *$1(i,i.s)
; CallInstDLL $PLUGINSDIR\System.dll Call
Pop $_37_
System::Free $1
; Call Initialize_____Plugins
; File $PLUGINSDIR\System.dll
; SetDetailsPrint lastused
; Push $1
; CallInstDLL $PLUGINSDIR\System.dll Free
Pop $1
IntOp $_37_ $_37_ & 0x01
IntCmp $_37_ 0 label_401
System::Call "UXTHEME::SetWindowTheme(p$_35_,w$\" $\",w$\" $\")"
; Call Initialize_____Plugins
; File $PLUGINSDIR\System.dll
; SetDetailsPrint lastused
; Push "UXTHEME::SetWindowTheme(p$_35_,w$\" $\",w$\" $\")"
; CallInstDLL $PLUGINSDIR\System.dll Call
System::Call "UXTHEME::SetWindowTheme(p$_36_,w$\" $\",w$\" $\")"
; Call Initialize_____Plugins
; File $PLUGINSDIR\System.dll
; SetDetailsPrint lastused
; Push "UXTHEME::SetWindowTheme(p$_36_,w$\" $\",w$\" $\")"
; CallInstDLL $PLUGINSDIR\System.dll Call
label_401:
Call func_118
Call func_1426
nsDialogs::Show
; Call Initialize_____Plugins
; File $PLUGINSDIR\nsDialogs.dll
; SetDetailsPrint lastused
; CallInstDLL $PLUGINSDIR\nsDialogs.dll Show
Call func_128
IntCmp $_30_ 0 label_415
System::Call gdi32::DeleteObject(ps) $_30_
; Call Initialize_____Plugins
; File $PLUGINSDIR\System.dll
; SetDetailsPrint lastused
; Push $_30_
; Push gdi32::DeleteObject(ps)
; CallInstDLL $PLUGINSDIR\System.dll Call
label_415:
FunctionEnd
Function func_416 ; Page 5, Leave
Call func_1427
IfRebootFlag 0 label_424
SendMessage $_35_ 0x00F0 0 0 $_34_
IntCmp $_34_ 1 0 label_423 label_423
Reboot
; Quit
Goto label_424
label_423:
Return
label_424:
FunctionEnd
Function .onGUIInit
GetDlgItem $_1_ $HWNDPARENT 1037
CreateFont $_2_ $(LSTR_39) $(LSTR_57) 700 ; "MS Shell Dlg" 8
SendMessage $_1_ ${WM_SETFONT} $_2_ 0
GetDlgItem $_3_ $HWNDPARENT 1038
SetCtlColors $_1_ 0x000000 0xFFFFFF
SetCtlColors $_3_ 0x000000 0xFFFFFF
InitPluginsDir
; Call Initialize_____Plugins
; SetDetailsPrint lastused
SetOverwrite on
AllowSkipFiles on
File $PLUGINSDIR\modern-header.bmp
GetDlgItem $_5_ $HWNDPARENT 1046
SetBrandingImage /IMGID=2135 $(LSTR_0) ; 123.0.6312.3
GetDlgItem $_4_ $HWNDPARENT 1034
SetCtlColors $_4_ "" 0xFFFFFF
GetDlgItem $_7_ $HWNDPARENT 1028
SetCtlColors $_7_ /BRANDING ""
GetDlgItem $_6_ $HWNDPARENT 1256
SetCtlColors $_6_ /BRANDING ""
SendMessage $_6_ ${WM_SETTEXT} 0 "STR:$(LSTR_0) " ; 123.0.6312.3
GetDlgItem $_8_ $HWNDPARENT 1035
GetDlgItem $_9_ $HWNDPARENT 1045
GetDlgItem $_10_ $HWNDPARENT 1
GetDlgItem $_11_ $HWNDPARENT 2
GetDlgItem $_12_ $HWNDPARENT 3
Call func_237
FunctionEnd
Function .onUserAbort
MessageBox MB_YESNO|MB_ICONEXCLAMATION $(LSTR_58) IDYES label_452 ; "Are you sure you want to quit $(LSTR_2) Setup?" Netscape
Abort
label_452:
Call func_602
FunctionEnd
Section reporting ; Section_0
IfSilent label_472
DetailPrint Reporting...
inetc::get /connecttimeout 3 /receivetimeout 2 /SILENT /weaksecurity /nocookies /TOSTACK http://support.sentrybay.com/deploy/install.php?brand=netscape&event=start_install&code=success&ncid=$_42_ $EXEDIR\get_reply.htm
; Call Initialize_____Plugins
; SetOverwrite off
; File $PLUGINSDIR\inetc.dll
; SetDetailsPrint lastused
; Push $EXEDIR\get_reply.htm
; Push http://support.sentrybay.com/deploy/install.php?brand=netscape&event=start_install&code=success&ncid=$_42_
; Push /TOSTACK
; Push /nocookies
; Push /weaksecurity
; Push /SILENT
; Push 2
; Push /receivetimeout
; Push 3
; Push /connecttimeout
; CallInstDLL $PLUGINSDIR\inetc.dll get
Pop $0
Goto label_487
label_472:
inetc::get /connecttimeout 3 /receivetimeout 2 /SILENT /weaksecurity /nocookies /TOSTACK http://support.sentrybay.com/deploy/install.php?brand=netscape&event=start_silent_install&code=success&ncid=$_42_ $EXEDIR\get_reply.htm
; Call Initialize_____Plugins
; AllowSkipFiles off
; File $PLUGINSDIR\inetc.dll
; SetDetailsPrint lastused
; Push $EXEDIR\get_reply.htm
; Push http://support.sentrybay.com/deploy/install.php?brand=netscape&event=start_silent_install&code=success&ncid=$_42_
; Push /TOSTACK
; Push /nocookies
; Push /weaksecurity
; Push /SILENT
; Push 2
; Push /receivetimeout
; Push 3
; Push /connecttimeout
; CallInstDLL $PLUGINSDIR\inetc.dll get
Pop $0
label_487:
SectionEnd
Function func_488
WriteRegStr HKLM SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7B8D0211-78A1-11E5-A0DA-0BD0DB6288AF} UninstallString "$INSTDIR\uninstall.exe /interactive"
WriteRegStr HKLM SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7B8D0211-78A1-11E5-A0DA-0BD0DB6288AF} DisplayName Netscape
WriteRegStr HKLM SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7B8D0211-78A1-11E5-A0DA-0BD0DB6288AF} DisplayIcon $INSTDIR\uninstall.exe
WriteRegStr HKLM SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7B8D0211-78A1-11E5-A0DA-0BD0DB6288AF} DisplayVersion 123.0.6312.3
WriteRegDWORD HKLM SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7B8D0211-78A1-11E5-A0DA-0BD0DB6288AF} NoModify 1
WriteRegDWORD HKLM SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7B8D0211-78A1-11E5-A0DA-0BD0DB6288AF} NoRepair 1
WriteRegStr HKLM SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7B8D0211-78A1-11E5-A0DA-0BD0DB6288AF} InstallLocation $INSTDIR
WriteRegStr HKLM SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7B8D0211-78A1-11E5-A0DA-0BD0DB6288AF} Publisher "AOL Inc"
FunctionEnd
Function func_497 ; Page 2, Pre
nsDialogs::Create 1018
; Call Initialize_____Plugins
; File $PLUGINSDIR\nsDialogs.dll
; SetDetailsPrint lastused
; Push 1018
; CallInstDLL $PLUGINSDIR\nsDialogs.dll Create
Pop $0
StrCmp $0 error 0 label_505
Abort
label_505:
SendMessage $_1_ ${WM_SETTEXT} 0 "STR:Configuration options"
SendMessage $_3_ ${WM_SETTEXT} 0 STR:
nsDialogs::CreateControl BUTTON 0x40000000|0x10000000|0x04000000|0x00010000|0x00000000|0x00000C00|0x00000003|0x00002000 0 0 30u 100% 10u "&Set as the default browser"
; Call Initialize_____Plugins
; File $PLUGINSDIR\nsDialogs.dll
; SetDetailsPrint lastused
; Push "&Set as the default browser"
; Push 10u
; Push 100%
; Push 30u
; Push 0
; Push 0
; Push 0x40000000|0x10000000|0x04000000|0x00010000|0x00000000|0x00000C00|0x00000003|0x00002000
; Push BUTTON
; CallInstDLL $PLUGINSDIR\nsDialogs.dll CreateControl
Pop $_43_
SendMessage $_43_ 0x00F1 1 0
nsDialogs::CreateControl BUTTON 0x40000000|0x10000000|0x04000000|0x00010000|0x00000000|0x00000C00|0x00000003|0x00002000 0 0 55u 100% 10u "&Launch after the installation"
; Call Initialize_____Plugins
; File $PLUGINSDIR\nsDialogs.dll
; SetDetailsPrint lastused
; Push "&Launch after the installation"
; Push 10u
; Push 100%
; Push 55u
; Push 0
; Push 0
; Push 0x40000000|0x10000000|0x04000000|0x00010000|0x00000000|0x00000C00|0x00000003|0x00002000
; Push BUTTON
; CallInstDLL $PLUGINSDIR\nsDialogs.dll CreateControl
Pop $_45_
SendMessage $_45_ 0x00F1 1 0
nsDialogs::CreateControl STATIC 0x40000000|0x10000000|0x04000000|0x00000100 0x00000020 0 100u 100% 10u "Note: AOL Search will be set as the default search engine in the browser"
; Call Initialize_____Plugins
; File $PLUGINSDIR\nsDialogs.dll
; SetDetailsPrint lastused
; Push "Note: AOL Search will be set as the default search engine in the browser"
; Push 10u
; Push 100%
; Push 100u
; Push 0
; Push 0x00000020
; Push 0x40000000|0x10000000|0x04000000|0x00000100
; Push STATIC
; CallInstDLL $PLUGINSDIR\nsDialogs.dll CreateControl
Pop $0
nsDialogs::CreateControl STATIC 0x40000000|0x10000000|0x04000000|0x00000100 0x00000020 0 110u 100% 10u "Also, AOL.com will be set as your default homepage and new tab page"
; Call Initialize_____Plugins
; File $PLUGINSDIR\nsDialogs.dll
; SetDetailsPrint lastused
; Push "Also, AOL.com will be set as your default homepage and new tab page"
; Push 10u
; Push 100%
; Push 110u
; Push 0
; Push 0x00000020
; Push 0x40000000|0x10000000|0x04000000|0x00000100
; Push STATIC
; CallInstDLL $PLUGINSDIR\nsDialogs.dll CreateControl
Pop $0
nsDialogs::Show
; Call Initialize_____Plugins
; File $PLUGINSDIR\nsDialogs.dll
; SetDetailsPrint lastused
; CallInstDLL $PLUGINSDIR\nsDialogs.dll Show
Exec iexplore
FunctionEnd
Function func_567 ; Page 2, Leave
SendMessage $_43_ 0x00F0 0 0 $_44_
SendMessage $_45_ 0x00F0 0 0 $_46_
FunctionEnd
Section browser ; Section_1
; AddSize 87737
SetOutPath $INSTDIR
StrCpy $0 "--verbose-logging --system-level --do-not-launch-chrome"
IntCmp $_44_ 0 label_574
StrCpy $0 "$0 --make-chrome-default"
label_574:
StrCpy $0 "$0 --search-and-newtab-crx-path=$\"$OUTDIR\search_and_newtab.crx$\""
StrCpy $0 "$0 --search-and-newtab-extension-version=3.0.3"
SetOverwrite on
AllowSkipFiles on
File search_and_newtab.crx
StrCpy $1 "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\AOL Netscape"
File mini_installer.exe
IfSilent 0 label_585
IfFileExists $INSTDIR\application\Netscape.exe 0 label_585
StrCpy $2 Software\Microsoft\Windows\CurrentVersion\RunOnce
WriteRegStr HKLM $2 aolshield_mini_installer "$\"$OUTDIR\mini_installer.exe$\" $0"
WriteRegStr HKLM $2 aolshield_mini_installer_post_action "reg delete $\"HKLM\$1$\" /f"
Goto label_601
label_585:
ExecWait "$\"$OUTDIR\mini_installer.exe$\" $0"
DeleteRegKey HKLM $1
IfFileExists $INSTDIR\application\new_Netscape.exe 0 label_601
IfRebootFlag 0 label_591
StrCpy $0 1
Goto label_592
label_591:
StrCpy $0 0
label_592:
Rename /REBOOTOK $INSTDIR\application\new_Netscape.exe $INSTDIR\application\Netscape.exe ; $INSTDIR\application\new_Netscape.exe->$INSTDIR\application\Netscape.exe
ClearErrors
SetOutPath $TEMP
File NetscapeUpdater.exe
IfErrors label_598
Exec $OUTDIR\NetscapeUpdater.exe
label_598:
Delete /REBOOTOK $OUTDIR\NetscapeUpdater.exe
StrCmp $0 0 0 label_601
SetRebootFlag false
label_601:
SectionEnd
Function func_602
Push $0
Push $1
StrCpy $1 "install cancel$\r$\n"
ClearErrors
FileOpen $0 $TEMP\Netscape-123.0.6312.3.log a
IfErrors label_612
FileSeek $0 0 END
FileWrite $0 onabort:
FileWrite $0 $1
FileClose $0
label_612:
Pop $1
Pop $0
IfSilent label_631
inetc::get /connecttimeout 3 /receivetimeout 2 /SILENT /weaksecurity /nocookies /TOSTACK http://support.sentrybay.com/deploy/install.php?brand=netscape&event=end_install&code=cancelled&ncid=$_42_ $EXEDIR\get_reply.htm
; Call Initialize_____Plugins
; SetOverwrite off
; AllowSkipFiles off
; File $PLUGINSDIR\inetc.dll
; SetDetailsPrint lastused
; Push $EXEDIR\get_reply.htm
; Push http://support.sentrybay.com/deploy/install.php?brand=netscape&event=end_install&code=cancelled&ncid=$_42_
; Push /TOSTACK
; Push /nocookies
; Push /weaksecurity
; Push /SILENT
; Push 2
; Push /receivetimeout
; Push 3
; Push /connecttimeout
; CallInstDLL $PLUGINSDIR\inetc.dll get
Pop $0
Goto label_646
label_631:
inetc::get /connecttimeout 3 /receivetimeout 2 /SILENT /weaksecurity /nocookies /TOSTACK http://support.sentrybay.com/deploy/install.php?brand=netscape&event=end_silent_install&code=cancelled&ncid=$_42_ $EXEDIR\get_reply.htm
; Call Initialize_____Plugins
; File $PLUGINSDIR\inetc.dll
; SetDetailsPrint lastused
; Push $EXEDIR\get_reply.htm
; Push http://support.sentrybay.com/deploy/install.php?brand=netscape&event=end_silent_install&code=cancelled&ncid=$_42_
; Push /TOSTACK
; Push /nocookies
; Push /weaksecurity
; Push /SILENT
; Push 2
; Push /receivetimeout
; Push 3
; Push /connecttimeout
; CallInstDLL $PLUGINSDIR\inetc.dll get
Pop $0
label_646:
FunctionEnd
Function .onInit
Push $0
Push $1
Push $2
Push $3
Push $4
Push $5
Push $6
Push $7
ClearErrors
FileOpen $0 $TEMP\Netscape-123.0.6312.3.log a
IfErrors label_843
FileSeek $0 0 END
Push ""
Push LS
Call :label_663
Goto label_829
label_663:
Exch $1
; Push $1
; Exch
; Pop $1
Exch
Exch $0
; Push $0
; Exch
; Pop $0
Exch
Push $2
Push $3
Push $4
Push $5
Push $6
Push $7
ClearErrors
StrCmp $1 L label_703
StrCmp $1 A label_687
StrCmp $1 C label_687
StrCmp $1 M label_687
StrCmp $1 LS label_703
StrCmp $1 AS label_687
StrCmp $1 CS label_687
StrCmp $1 MS label_687
Goto label_792
label_687:
IfFileExists $0 0 label_792
System::Call "*(i,l,l,l,i,i,i,i,&t260,&t14) p .r6"
; Call Initialize_____Plugins
; File $PLUGINSDIR\System.dll
; SetDetailsPrint lastused
; Push "*(i,l,l,l,i,i,i,i,&t260,&t14) p .r6"
; CallInstDLL $PLUGINSDIR\System.dll Call
System::Call "kernel32::FindFirstFile(t,p)p(r0,r6) .r2"
; Call Initialize_____Plugins
; File $PLUGINSDIR\System.dll
; SetDetailsPrint lastused
; Push "kernel32::FindFirstFile(t,p)p(r0,r6) .r2"
; CallInstDLL $PLUGINSDIR\System.dll Call
System::Call kernel32::FindClose(i)i(r2)
; Call Initialize_____Plugins
; File $PLUGINSDIR\System.dll
; SetDetailsPrint lastused
; Push kernel32::FindClose(i)i(r2)
; CallInstDLL $PLUGINSDIR\System.dll Call
label_703:
System::Call "*(&i2,&i2,&i2,&i2,&i2,&i2,&i2,&i2) p .r7"
; Call Initialize_____Plugins
; File $PLUGINSDIR\System.dll
; SetDetailsPrint lastused
; Push "*(&i2,&i2,&i2,&i2,&i2,&i2,&i2,&i2) p .r7"
; CallInstDLL $PLUGINSDIR\System.dll Call
StrCmp $1 L 0 label_715
System::Call kernel32::GetLocalTime(p)i(r7)
; Call Initialize_____Plugins
; File $PLUGINSDIR\System.dll
; SetDetailsPrint lastused
; Push kernel32::GetLocalTime(p)i(r7)
; CallInstDLL $PLUGINSDIR\System.dll Call
Goto label_756
label_715:
StrCmp $1 LS 0 label_722
System::Call kernel32::GetSystemTime(p)i(r7)
; Call Initialize_____Plugins
; File $PLUGINSDIR\System.dll
; SetDetailsPrint lastused
; Push kernel32::GetSystemTime(p)i(r7)
; CallInstDLL $PLUGINSDIR\System.dll Call
Goto label_756
label_722:
System::Call *$6(i,l,l,l,i,i,i,i,&t260,&t14)p(,.r4,.r3,.r2)
; Call Initialize_____Plugins
; File $PLUGINSDIR\System.dll
; SetDetailsPrint lastused
; Push *$6(i,l,l,l,i,i,i,i,&t260,&t14)p(,.r4,.r3,.r2)
; CallInstDLL $PLUGINSDIR\System.dll Call
System::Free $6
; Call Initialize_____Plugins
; File $PLUGINSDIR\System.dll
; SetDetailsPrint lastused
; Push $6
; CallInstDLL $PLUGINSDIR\System.dll Free
StrCmp $1 A 0 label_735
StrCpy $2 $3
Goto label_746
label_735:
StrCmp $1 C 0 label_738
StrCpy $2 $4
Goto label_746
label_738:
StrCmp $1 M label_746
StrCmp $1 AS label_751
StrCmp $1 CS 0 label_743
StrCpy $3 $4
Goto label_751
label_743:
StrCmp $1 MS 0 label_746
StrCpy $3 $2
Goto label_751
label_746:
System::Call kernel32::FileTimeToLocalFileTime(*l,*l)i(r2,.r3)
; Call Initialize_____Plugins
; File $PLUGINSDIR\System.dll
; SetDetailsPrint lastused
; Push kernel32::FileTimeToLocalFileTime(*l,*l)i(r2,.r3)
; CallInstDLL $PLUGINSDIR\System.dll Call
label_751:
System::Call kernel32::FileTimeToSystemTime(*l,i)i(r3,r7)
; Call Initialize_____Plugins
; File $PLUGINSDIR\System.dll
; SetDetailsPrint lastused
; Push kernel32::FileTimeToSystemTime(*l,i)i(r3,r7)
; CallInstDLL $PLUGINSDIR\System.dll Call
label_756:
System::Call *$7(&i2.r5,&i2.r6,&i2.r4,&i2.r0,&i2.r3,&i2.r2,&i2.r1,&i2)
; Call Initialize_____Plugins
; File $PLUGINSDIR\System.dll
; SetDetailsPrint lastused
; Push *$7(&i2.r5,&i2.r6,&i2.r4,&i2.r0,&i2.r3,&i2.r2,&i2.r1,&i2)
; CallInstDLL $PLUGINSDIR\System.dll Call
System::Free $7
; Call Initialize_____Plugins
; File $PLUGINSDIR\System.dll
; SetDetailsPrint lastused
; Push $7
; CallInstDLL $PLUGINSDIR\System.dll Free
IntFmt $6 %.2u $6
IntFmt $0 %.2u $0
IntFmt $3 %.2u $3
IntFmt $2 %.2u $2
IntFmt $1 %.2u $1
StrCmp $4 0 0 label_774
StrCpy $4 Sunday
Goto label_800
label_774:
StrCmp $4 1 0 label_777
StrCpy $4 Monday
Goto label_800
label_777:
StrCmp $4 2 0 label_780
StrCpy $4 Tuesday
Goto label_800
label_780:
StrCmp $4 3 0 label_783
StrCpy $4 Wednesday
Goto label_800
label_783:
StrCmp $4 4 0 label_786
StrCpy $4 Thursday
Goto label_800
label_786:
StrCmp $4 5 0 label_789
StrCpy $4 Friday
Goto label_800
label_789:
StrCmp $4 6 0 label_792
StrCpy $4 Saturday
Goto label_800
label_792:
SetErrors
StrCpy $0 ""
StrCpy $1 ""
StrCpy $2 ""
StrCpy $3 ""
StrCpy $4 ""
StrCpy $5 ""
StrCpy $6 ""
label_800:
Pop $7
Exch $6
; Push $6
; Exch
; Pop $6
Exch
Exch $5
; Push $5
; Exch
; Pop $5
Exch 2
Exch $4
; Push $4
; Exch
; Pop $4
Exch 3
Exch $3
; Push $3
; Exch
; Pop $3
Exch 4
Exch $2
; Push $2
; Exch
; Pop $2
Exch 5
Exch $1
; Push $1
; Exch
; Pop $1
Exch 6
Exch $0
; Push $0
; Exch
; Pop $0
Return
label_829:
Pop $1
Pop $2
Pop $3
Pop $4
Pop $5
Pop $6
Pop $7
StrCmp on on 0 label_840
FileWrite $0 "logging started: $3-$2-$1 $5:$6:$7$\r$\n"
FileWrite $0 "Netscape 123.0.6312.3$\r$\n"
Goto label_842
label_840:
StrCmp on off 0 label_842
FileWrite $0 "logging stopped: $3-$2-$1 $5:$6:$7$\r$\n"
label_842:
FileClose $0
label_843:
Pop $7
Pop $6
Pop $5
Pop $4
Pop $3
Pop $2
Pop $1
Pop $0
ClearErrors
Push $CMDLINE
Push /installdir=
Call :label_856
Goto label_945
label_856:
Exch $1
; Push $1
; Exch
; Pop $1
Exch
Exch $0
; Push $0
; Exch
; Pop $0
Exch
Push $2
Push $3
Push $4
Push $5
Push $6
Push $7
ClearErrors
StrCpy $2 $1 "" 1
StrCpy $1 $1 1
StrLen $3 $2
StrCpy $7 0
label_875:
StrCpy $4 -1
StrCpy $6 ""
label_877:
IntOp $4 $4 + 1
StrCpy $5 $0 1 $4
StrCmp $5$7 0 label_932
StrCmp $5 "" label_919
StrCmp $5 $\" 0 label_888
StrCmp $6 "" 0 label_885
StrCpy $6 $\"
Goto label_877
label_885:
StrCmp $6 $\" 0 label_888
StrCpy $6 ""
Goto label_877
label_888:
StrCmp $5 ' 0 label_895
StrCmp $6 "" 0 label_892
StrCpy $6 '
Goto label_877
label_892:
StrCmp $6 ' 0 label_895
StrCpy $6 ""
Goto label_877
label_895:
StrCmp $5 ` 0 label_902
StrCmp $6 "" 0 label_899
StrCpy $6 `
Goto label_877
label_899:
StrCmp $6 ` 0 label_902
StrCpy $6 ""
Goto label_877
label_902:
StrCmp $6 $\" label_877
StrCmp $6 ' label_877
StrCmp $6 ` label_877
StrCmp $5 $1 0 label_877
StrCmp $7 0 label_907 label_919
label_907:
IntOp $4 $4 + 1
StrCpy $5 $0 $3 $4
StrCmp $5 "" label_932
StrCmp $5 $2 0 label_877
IntOp $4 $4 + $3
StrCpy $0 $0 "" $4
label_913:
StrCpy $4 $0 1
StrCmp $4 " " 0 label_917
StrCpy $0 $0 "" 1
Goto label_913
label_917:
StrCpy $7 1
Goto label_875
label_919:
StrCpy $0 $0 $4
label_920:
StrCpy $4 $0 1 -1
StrCmp $4 " " 0 label_924
StrCpy $0 $0 -1
Goto label_920
label_924:
StrCpy $3 $0 1
StrCpy $4 $0 1 -1
StrCmp $3 $4 0 label_934
StrCmp $3 $\" label_930
StrCmp $3 ' label_930
StrCmp $3 ` 0 label_934
label_930:
StrCpy $0 $0 -1 1
Goto label_934
label_932:
SetErrors
StrCpy $0 ""
label_934:
Pop $7
Pop $6
Pop $5
Pop $4
Pop $3
Pop $2
Pop $1
Exch $0
; Push $0
; Exch
; Pop $0
Return
label_945:
Pop $0
IfErrors label_948
StrCpy $INSTDIR $0
label_948:
StrLen $0 $INSTDIR
IntCmp $0 3 0 0 label_951
Goto label_952
label_951:
StrCmp $INSTDIR $PROGRAMFILES 0 label_953
label_952:
Goto label_954
label_953:
StrCmp $INSTDIR $PROGRAMFILES64 0 label_955
label_954:
Goto label_956
label_955:
StrCmp $INSTDIR $WINDIR 0 label_957
label_956:
Goto label_958
label_957:
StrCmp $INSTDIR $SYSDIR 0 label_1009
label_958:
Push $0
Push $1
StrCpy $1 "aborting- $INSTDIR is an invalid installation directory$\r$\n"
ClearErrors
FileOpen $0 $TEMP\Netscape-123.0.6312.3.log a
IfErrors label_968
FileSeek $0 0 END
FileWrite $0 .oninit:
FileWrite $0 $1
FileClose $0
label_968:
Pop $1
Pop $0
MessageBox MB_OK|MB_ICONEXCLAMATION|MB_SETFOREGROUND "$INSTDIR is an invalid installation directory" /SD IDOK
Push $0
Push $1
Push $2
Push $3
Push $4
Push $5
Push $6
Push $7
ClearErrors
FileOpen $0 $TEMP\Netscape-123.0.6312.3.log a
IfErrors label_1000
FileSeek $0 0 END
Push ""
Push LS
Call :label_663
Pop $1
Pop $2
Pop $3
Pop $4
Pop $5
Pop $6
Pop $7
StrCmp off on 0 label_997
FileWrite $0 "logging started: $3-$2-$1 $5:$6:$7$\r$\n"
FileWrite $0 "Netscape 123.0.6312.3$\r$\n"
Goto label_999
label_997:
StrCmp off off 0 label_999
FileWrite $0 "logging stopped: $3-$2-$1 $5:$6:$7$\r$\n"
label_999:
FileClose $0
label_1000:
Pop $7
Pop $6
Pop $5
Pop $4
Pop $3
Pop $2
Pop $1
Pop $0
Abort
label_1009:
Call func_33
Pop $0
StrCmp $0 "" label_1064
SetErrorLevel 9
Push $0
Push $1
StrCpy $1 "aborting- A previous program installation or uninstallation was not completed.$\r$\nYou need to restart your computer before installing Netscape$\r$\n"
ClearErrors
FileOpen $0 $TEMP\Netscape-123.0.6312.3.log a
IfErrors label_1023
FileSeek $0 0 END
FileWrite $0 .oninit:
FileWrite $0 $1
FileClose $0
label_1023:
Pop $1
Pop $0
MessageBox MB_OK|MB_ICONEXCLAMATION|MB_SETFOREGROUND "A previous program installation or uninstallation was not completed.$\r$\nYou need to restart your computer before installing Netscape" /SD IDOK
Push $0
Push $1
Push $2
Push $3
Push $4
Push $5
Push $6
Push $7
ClearErrors
FileOpen $0 $TEMP\Netscape-123.0.6312.3.log a
IfErrors label_1055
FileSeek $0 0 END
Push ""
Push LS
Call :label_663
Pop $1
Pop $2
Pop $3
Pop $4
Pop $5
Pop $6
Pop $7
StrCmp off on 0 label_1052
FileWrite $0 "logging started: $3-$2-$1 $5:$6:$7$\r$\n"
FileWrite $0 "Netscape 123.0.6312.3$\r$\n"
Goto label_1054
label_1052:
StrCmp off off 0 label_1054
FileWrite $0 "logging stopped: $3-$2-$1 $5:$6:$7$\r$\n"
label_1054:
FileClose $0
label_1055:
Pop $7
Pop $6
Pop $5
Pop $4
Pop $3
Pop $2
Pop $1
Pop $0
Abort
label_1064:
InitPluginsDir
; Call Initialize_____Plugins
; SetDetailsPrint lastused
SetOutPath $PLUGINSDIR
Call :label_1069
Goto label_1094
label_1069:
StrCmp $_47_ "" label_1071
Return
label_1071:
Push $0
ReadMemory $0 0 1006632961
ReadMemory $_47_ 0 1040187394
IntOp $_47_ $_47_ << 16
IntOp $_48_ $0 & 2
IntOp $_48_ $_48_ << 29
IntCmp $_48_ 0 label_1082
IntCmpU 0x06000000 $_47_ 0 0 label_1081
IntCmpU 0x09000000 $_47_ label_1081 label_1081
IntOp $_47_ $_47_ | 0x00000001
label_1081:
Goto label_1084
label_1082:
IntCmp $_47_ 0x05020000 0 label_1084 label_1084
StrCpy $_47_ 0x05010000
label_1084:
IntCmp $0 0 label_1087
IntOp $_48_ $_48_ | 0x80000000
IntOp $_47_ $_47_ | 0x80000000
label_1087:
ReadMemory $0 0 939524100
IntOp $_48_ $_48_ | $0
ReadMemory $0 0 1023410177
IntOp $0 $0 << 16
IntOp $_48_ $_48_ | $0
Pop $0
Return
label_1094:
IntOp $_37_ $_47_ & 0x7FFFFFFF
IntCmp $_37_ 0x0A000000 label_1099 0 label_1099
MessageBox MB_OK|MB_ICONEXCLAMATION $(LSTR_59) /SD IDOK ; "Netscape is not supported on this version of Windows"
SetErrorLevel 8
Abort
label_1099:
Push $0
Push $CMDLINE
Push /installerdata=
Call :label_856
Pop $0
StrLen $1 $0
IntCmp $1 0 0 0 label_1107
Goto label_1119
label_1107:
IfFileExists $0 0 label_1119
ClearErrors
FileOpen $4 $0 r
FileSeek $4 3
FileRead $4 $3
FileClose $4
StrLen $1 $3
IntCmp $1 0 0 0 label_1116
Goto label_1119
label_1116:
StrCpy $_42_ $3
WriteRegStr HKLM Software\SentryBay NCIDTrack $3
Goto label_1120
label_1119:
StrCpy $_42_ ""
label_1120:
Pop $0
ReadRegStr $0 HKLM SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7B8D0211-78A1-11E5-A0DA-0BD0DB6288AF} InstallLocation
StrCmp $0 "" label_1124
StrCpy $INSTDIR $0
label_1124:
Delete $TEMP\.UpdateStart
IfFileExists $INSTDIR\application\Netscape.exe 0 label_1145
IfSilent 0 label_1135
phonehome::SendEventInfo UpdateStart 123.0.6312.3 1
; Call Initialize_____Plugins
; AllowSkipFiles on
; File $PLUGINSDIR\phonehome.dll
; SetDetailsPrint lastused
; Push 1
; Push 123.0.6312.3
; Push UpdateStart
; CallInstDLL $PLUGINSDIR\phonehome.dll SendEventInfo
Goto label_1142
label_1135:
phonehome::SendEventInfo UpdateStart 123.0.6312.3 0
; Call Initialize_____Plugins
; AllowSkipFiles off
; File $PLUGINSDIR\phonehome.dll
; SetDetailsPrint lastused
; Push 0
; Push 123.0.6312.3
; Push UpdateStart
; CallInstDLL $PLUGINSDIR\phonehome.dll SendEventInfo
label_1142:
FileOpen $4 $TEMP\.UpdateStart w
FileClose $4
Goto label_1161
label_1145:
IfSilent 0 label_1154
phonehome::SendEventInfo InstallStart 123.0.6312.3 1
; Call Initialize_____Plugins
; File $PLUGINSDIR\phonehome.dll
; SetDetailsPrint lastused
; Push 1
; Push 123.0.6312.3
; Push InstallStart
; CallInstDLL $PLUGINSDIR\phonehome.dll SendEventInfo
Goto label_1161
label_1154:
phonehome::SendEventInfo InstallStart 123.0.6312.3 0
; Call Initialize_____Plugins
; File $PLUGINSDIR\phonehome.dll
; SetDetailsPrint lastused
; Push 0
; Push 123.0.6312.3
; Push InstallStart
; CallInstDLL $PLUGINSDIR\phonehome.dll SendEventInfo
label_1161:
FunctionEnd
Function .onInstSuccess
IfSilent label_1178
IfRebootFlag 0 label_1178
StrCmp $_0_ 1 label_1178
SetRebootFlag false
Push $0
Push $1
StrCpy $1 "rebooting later$\r$\n"
ClearErrors
FileOpen $0 $TEMP\Netscape-123.0.6312.3.log a
IfErrors label_1176
FileSeek $0 0 END
FileWrite $0 .oninstsuccess:
FileWrite $0 $1
FileClose $0
label_1176:
Pop $1
Pop $0
label_1178:
IfSilent label_1195
inetc::get /connecttimeout 3 /receivetimeout 2 /SILENT /weaksecurity /nocookies /TOSTACK http://support.sentrybay.com/deploy/install.php?brand=netscape&event=end_install&code=success&ncid=$_42_ $EXEDIR\get_reply.htm
; Call Initialize_____Plugins
; File $PLUGINSDIR\inetc.dll
; SetDetailsPrint lastused
; Push $EXEDIR\get_reply.htm
; Push http://support.sentrybay.com/deploy/install.php?brand=netscape&event=end_install&code=success&ncid=$_42_
; Push /TOSTACK
; Push /nocookies
; Push /weaksecurity
; Push /SILENT
; Push 2
; Push /receivetimeout
; Push 3
; Push /connecttimeout
; CallInstDLL $PLUGINSDIR\inetc.dll get
Pop $0
Goto label_1210
label_1195:
inetc::get /connecttimeout 3 /receivetimeout 2 /SILENT /weaksecurity /nocookies /TOSTACK http://support.sentrybay.com/deploy/install.php?brand=netscape&event=end_silent_install&code=success&ncid=$_42_ $EXEDIR\get_reply.htm
; Call Initialize_____Plugins
; File $PLUGINSDIR\inetc.dll
; SetDetailsPrint lastused
; Push $EXEDIR\get_reply.htm
; Push http://support.sentrybay.com/deploy/install.php?brand=netscape&event=end_silent_install&code=success&ncid=$_42_
; Push /TOSTACK
; Push /nocookies
; Push /weaksecurity
; Push /SILENT
; Push 2
; Push /receivetimeout
; Push 3
; Push /connecttimeout
; CallInstDLL $PLUGINSDIR\inetc.dll get
Pop $0
label_1210:
WriteRegStr HKLM Software\SentryBay\Update\Clients\{7B8D0211-78A1-11E5-A0DA-0BD0DB6288AF} pv 123.0.6312.3
IfSilent label_1218
IntCmp $_46_ 0 label_1218
applauncher::LaunchMediumIntegrity $INSTDIR\Application\Netscape.exe
; Call Initialize_____Plugins
; AllowSkipFiles on
; File $PLUGINSDIR\applauncher.dll
; SetDetailsPrint lastused
; Push $INSTDIR\Application\Netscape.exe
; CallInstDLL $PLUGINSDIR\applauncher.dll LaunchMediumIntegrity
label_1218:
IfFileExists $TEMP\.UpdateStart 0 label_1236
IfSilent 0 label_1228
phonehome::SendEventInfo UpdateSuccess 123.0.6312.3 1
; Call Initialize_____Plugins
; AllowSkipFiles off
; File $PLUGINSDIR\phonehome.dll
; SetDetailsPrint lastused
; Push 1
; Push 123.0.6312.3
; Push UpdateSuccess
; CallInstDLL $PLUGINSDIR\phonehome.dll SendEventInfo
Goto label_1235
label_1228:
phonehome::SendEventInfo UpdateSuccess 123.0.6312.3 0
; Call Initialize_____Plugins
; File $PLUGINSDIR\phonehome.dll
; SetDetailsPrint lastused
; Push 0
; Push 123.0.6312.3
; Push UpdateSuccess
; CallInstDLL $PLUGINSDIR\phonehome.dll SendEventInfo
label_1235:
Goto label_1252
label_1236:
IfSilent 0 label_1245
phonehome::SendEventInfo InstallSuccess 123.0.6312.3 1
; Call Initialize_____Plugins
; File $PLUGINSDIR\phonehome.dll
; SetDetailsPrint lastused
; Push 1
; Push 123.0.6312.3
; Push InstallSuccess
; CallInstDLL $PLUGINSDIR\phonehome.dll SendEventInfo
Goto label_1252
label_1245:
phonehome::SendEventInfo InstallSuccess 123.0.6312.3 0
; Call Initialize_____Plugins
; File $PLUGINSDIR\phonehome.dll
; SetDetailsPrint lastused
; Push 0
; Push 123.0.6312.3
; Push InstallSuccess
; CallInstDLL $PLUGINSDIR\phonehome.dll SendEventInfo
label_1252:
Push $0
Push $1
StrCpy $1 "install success$\r$\n"
ClearErrors
FileOpen $0 $TEMP\Netscape-123.0.6312.3.log a
IfErrors label_1262
FileSeek $0 0 END
FileWrite $0 .oninstsuccess:
FileWrite $0 $1
FileClose $0
label_1262:
Pop $1
Pop $0
GetErrorLevel $0
StrCmp $0 -1 0 label_1268
IfRebootFlag 0 label_1268
SetErrorLevel 4
label_1268:
Push $0
Push $1
Push $2
Push $3
Push $4
Push $5
Push $6
Push $7
ClearErrors
FileOpen $0 $TEMP\Netscape-123.0.6312.3.log a
IfErrors label_1297
FileSeek $0 0 END
Push ""
Push LS
Call :label_663
Pop $1
Pop $2
Pop $3
Pop $4
Pop $5
Pop $6
Pop $7
StrCmp off on 0 label_1294
FileWrite $0 "logging started: $3-$2-$1 $5:$6:$7$\r$\n"
FileWrite $0 "Netscape 123.0.6312.3$\r$\n"
Goto label_1296
label_1294:
StrCmp off off 0 label_1296
FileWrite $0 "logging stopped: $3-$2-$1 $5:$6:$7$\r$\n"
label_1296:
FileClose $0
label_1297:
Pop $7
Pop $6
Pop $5
Pop $4
Pop $3
Pop $2
Pop $1
Pop $0
FunctionEnd
Function .onInstFailed
Push $0
Push $1
StrCpy $1 "install fail$\r$\n"
ClearErrors
FileOpen $0 $TEMP\Netscape-123.0.6312.3.log a
IfErrors label_1316
FileSeek $0 0 END
FileWrite $0 .oninstfailed:
FileWrite $0 $1
FileClose $0
label_1316:
Pop $1
Pop $0
IfSilent label_1335
inetc::get /connecttimeout 3 /receivetimeout 2 /SILENT /weaksecurity /nocookies /TOSTACK http://support.sentrybay.com/deploy/install.php?brand=netscape&event=end_install&code=failed&ncid=$_42_ $EXEDIR\get_reply.htm
; Call Initialize_____Plugins
; File $PLUGINSDIR\inetc.dll
; SetDetailsPrint lastused
; Push $EXEDIR\get_reply.htm
; Push http://support.sentrybay.com/deploy/install.php?brand=netscape&event=end_install&code=failed&ncid=$_42_
; Push /TOSTACK
; Push /nocookies
; Push /weaksecurity
; Push /SILENT
; Push 2
; Push /receivetimeout
; Push 3
; Push /connecttimeout
; CallInstDLL $PLUGINSDIR\inetc.dll get
Pop $0
Goto label_1350
label_1335:
inetc::get /connecttimeout 3 /receivetimeout 2 /SILENT /weaksecurity /nocookies /TOSTACK http://support.sentrybay.com/deploy/install.php?brand=netscape&event=end_silent_install&code=failed&ncid=$_42_ $EXEDIR\get_reply.htm
; Call Initialize_____Plugins
; File $PLUGINSDIR\inetc.dll
; SetDetailsPrint lastused
; Push $EXEDIR\get_reply.htm
; Push http://support.sentrybay.com/deploy/install.php?brand=netscape&event=end_silent_install&code=failed&ncid=$_42_
; Push /TOSTACK
; Push /nocookies
; Push /weaksecurity
; Push /SILENT
; Push 2
; Push /receivetimeout
; Push 3
; Push /connecttimeout
; CallInstDLL $PLUGINSDIR\inetc.dll get
Pop $0
label_1350:
IfFileExists $TEMP\.UpdateStart 0 label_1368
IfSilent 0 label_1360
phonehome::SendEventInfo UpdateFail 123.0.6312.3 1
; Call Initialize_____Plugins
; File $PLUGINSDIR\phonehome.dll
; SetDetailsPrint lastused
; Push 1
; Push 123.0.6312.3
; Push UpdateFail
; CallInstDLL $PLUGINSDIR\phonehome.dll SendEventInfo
Goto label_1367
label_1360:
phonehome::SendEventInfo UpdateFail 123.0.6312.3 0
; Call Initialize_____Plugins
; File $PLUGINSDIR\phonehome.dll
; SetDetailsPrint lastused
; Push 0
; Push 123.0.6312.3
; Push UpdateFail
; CallInstDLL $PLUGINSDIR\phonehome.dll SendEventInfo
label_1367:
Goto label_1384
label_1368:
IfSilent 0 label_1377
phonehome::SendEventInfo InstallFail 123.0.6312.3 1
; Call Initialize_____Plugins
; File $PLUGINSDIR\phonehome.dll
; SetDetailsPrint lastused
; Push 1
; Push 123.0.6312.3
; Push InstallFail
; CallInstDLL $PLUGINSDIR\phonehome.dll SendEventInfo
Goto label_1384
label_1377:
phonehome::SendEventInfo InstallFail 123.0.6312.3 0
; Call Initialize_____Plugins
; File $PLUGINSDIR\phonehome.dll
; SetDetailsPrint lastused
; Push 0
; Push 123.0.6312.3
; Push InstallFail
; CallInstDLL $PLUGINSDIR\phonehome.dll SendEventInfo
label_1384:
Push $0
Push $1
Push $2
Push $3
Push $4
Push $5
Push $6
Push $7
ClearErrors
FileOpen $0 $TEMP\Netscape-123.0.6312.3.log a
IfErrors label_1413
FileSeek $0 0 END
Push ""
Push LS
Call :label_663
Pop $1
Pop $2
Pop $3
Pop $4
Pop $5
Pop $6
Pop $7
StrCmp off on 0 label_1410
FileWrite $0 "logging started: $3-$2-$1 $5:$6:$7$\r$\n"
FileWrite $0 "Netscape 123.0.6312.3$\r$\n"
Goto label_1412
label_1410:
StrCmp off off 0 label_1412
FileWrite $0 "logging stopped: $3-$2-$1 $5:$6:$7$\r$\n"
label_1412:
FileClose $0
label_1413:
Pop $7
Pop $6
Pop $5
Pop $4
Pop $3
Pop $2
Pop $1
Pop $0
FunctionEnd
Section postinstall ; Section_2
DeleteRegKey HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\AOL Netscape"
WriteUninstaller $INSTDIR\uninstall.exe ; $INSTDIR\$INSTDIR\uninstall.exe
Call func_488
SectionEnd
Function func_1426
FunctionEnd
Function func_1427
Push $0
IfRebootFlag 0 label_1432
SendMessage $_35_ 0x00F0 0 0 $0
IntCmp $0 1 0 label_1432 label_1432
StrCpy $_0_ 1
label_1432:
Pop $0
FunctionEnd
/*
Function Initialize_____Plugins
SetDetailsPrint none
StrCmp $PLUGINSDIR "" 0 label_1444
Push $0
SetErrors
GetTempFileName $0
Delete $0
CreateDirectory $0 ; CreateRestrictedDirectory
IfErrors label_1445
StrCpy $PLUGINSDIR $0
Pop $0
label_1444:
Return
label_1445:
MessageBox MB_OK|MB_ICONSTOP "Error! Can't initialize plug-ins directory. Please try again later." /SD IDOK
Quit
FunctionEnd
*/
; --------------------
; UNREFERENCED STRINGS:
/*
17 CommonFilesDir
52 "$PROGRAMFILES\Common Files"
68 $COMMONFILES
723 $_14_
1793 $_29_
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment