get paid to paste

generator error

MakeNSIS v2.46-Unicode - Copyright 1995-2009 Contributors
See the file COPYING for license details.
Credits can be found in the Users Manual.

Command line defined: "PACKAGE=L:\PortableApps\SnarlPortable"
Command line defined: "Name=Snarl Portable"
Command line defined: "AppID=SnarlPortable"
Command line defined: "Version=2.0.0.0"
Processing config: 
Processing plugin dlls: "L:\PortableApps\UnicodeNSISPortable\App\NSIS\Plugins\*.dll"
 - AdvSplash::show
 - Banner::destroy
 - Banner::getWindow
 - Banner::show
 - BgImage::AddImage
 - BgImage::AddText
 - BgImage::Clear
 - BgImage::Destroy
 - BgImage::Redraw
 - BgImage::SetBg
 - BgImage::SetReturn
 - BgImage::Sound
 - Dialer::AttemptConnect
 - Dialer::AutodialHangup
 - Dialer::AutodialOnline
 - Dialer::AutodialUnattended
 - Dialer::GetConnectedState
 - FindProcDLL::FindProc
 - InstallOptions::dialog
 - InstallOptions::initDialog
 - InstallOptions::show
 - LangDLL::LangDialog
 - Math::Script
 - NSISdl::download
 - NSISdl::download_quiet
 - RealProgress::AddProgress
 - RealProgress::DetailProgress
 - RealProgress::FileProgress
 - RealProgress::GetProgress
 - RealProgress::GradualProgress
 - RealProgress::SetProgress
 - RealProgress::Unload
 - RealProgress::UseProgressBar
 - Registry::_Close
 - Registry::_CopyKey
 - Registry::_CopyValue
 - Registry::_CreateKey
 - Registry::_DeleteKey
 - Registry::_DeleteKeyEmpty
 - Registry::_DeleteValue
 - Registry::_Find
 - Registry::_HexToStr
 - Registry::_HexToStrUTF16LE
 - Registry::_KeyExists
 - Registry::_MoveKey
 - Registry::_MoveValue
 - Registry::_Open
 - Registry::_Read
 - Registry::_ReadExtra
 - Registry::_RestoreKey
 - Registry::_SaveKey
 - Registry::_StrToHex
 - Registry::_StrToHexUTF16LE
 - Registry::_Unload
 - Registry::_Write
 - Registry::_WriteExtra
 - Splash::show
 - StartMenu::Init
 - StartMenu::Select
 - StartMenu::Show
 - System::Alloc
 - System::Call
 - System::Copy
 - System::Free
 - System::Get
 - System::Int64Op
 - System::Store
 - System::StrAlloc
 - TypeLib::GetLibVersion
 - TypeLib::Register
 - TypeLib::UnRegister
 - UserInfo::GetAccountType
 - UserInfo::GetName
 - UserInfo::GetOriginalAccountType
 - VPatch::GetFileCRC32
 - VPatch::GetFileMD5
 - VPatch::vpatchfile
 - dialogsEx::FileBox
 - dialogsEx::FolderBox
 - dialogsEx::InputBox
 - dialogsEx::InputRegBox
 - execDos::exec
 - execDos::isdone
 - execDos::wait
 - newadvsplash::hwnd
 - newadvsplash::play
 - newadvsplash::show
 - newadvsplash::stop
 - newtextreplace::_FillReadBuffer
 - newtextreplace::_FindInFile
 - newtextreplace::_FreeReadBuffer
 - newtextreplace::_ReplaceInFile
 - newtextreplace::_Unload
 - nsDialogs::Create
 - nsDialogs::CreateControl
 - nsDialogs::CreateItem
 - nsDialogs::CreateTimer
 - nsDialogs::GetUserData
 - nsDialogs::KillTimer
 - nsDialogs::OnBack
 - nsDialogs::OnChange
 - nsDialogs::OnClick
 - nsDialogs::OnNotify
 - nsDialogs::SelectFileDialog
 - nsDialogs::SelectFolderDialog
 - nsDialogs::SetRTL
 - nsDialogs::SetUserData
 - nsDialogs::Show
 - nsExec::Exec
 - nsExec::ExecToLog
 - nsExec::ExecToStack

!include: "L:\PortableApps\UnicodeNSISPortable\App\NSIS\..\..\Data\settings\nsisconf.nsh"
!define: "MUI_INSERT_NSISCONF"=""
!include: closed: "L:\PortableApps\UnicodeNSISPortable\App\NSIS\..\..\Data\settings\nsisconf.nsh"

Changing directory to: "L:\PortableApps\PortableApps.comLauncher\Other\Source"

Processing script file: "L:\PortableApps\PortableApps.comLauncher\Other\Source\PortableApps.comLauncher.nsi"
(If you get a compile error with !searchparse, please upgrade to Unicode NSIS 2.46 or later and try again.) (RequireLatestNSIS.nsh:11)
Including required files... (macro:!echo:3)
 - UAC::_
 - newtextreplace::_FillReadBuffer
 - newtextreplace::_FindInFile
 - newtextreplace::_FreeReadBuffer
 - newtextreplace::_ReplaceInFile
 - newtextreplace::_Unload
Loading language strings... (macro:!echo:3)
Initialising variables and macros... (macro:!echo:3)
Loading segments... (macro:!echo:3)
warning: !include: could not find: "L:\PortableApps\SnarlPortable\Other\Source\PortableApps.comLauncherCustom.nsh" (Segments.nsh:122)
Specifying program details and setting options... (macro:!echo:3)
Function: ".onInit"
!insertmacro: RunSegment
!insertmacro: end of RunSegment
!insertmacro: RunSegment
!insertmacro: !getdebug
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!insertmacro: Core.nsh_.onInit
StrCpy $0 "$EXEDIR" (2) ()
!insertmacro: _If
!insertmacro: end of _If
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
StrCpy $0 "$EXEDIR" () ()
ClearErrors
ReadEnvStr: PAL:PackageDir->$EXEDIR
!insertmacro: _If
!insertmacro: end of _If
MessageBox: 16: "$(LauncherNoUNCSupport)"
Quit
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Core/.onInit"
Var: "_DebugMsg_File"
FileOpen: $EXEDIR\Data\debug.log as w -> $_DebugMsg_File
FileWrite: PortableApps.com Launcher 2.0.0.0 debug messages for Snarl Portable (SnarlPortable)

->$_DebugMsg_File
!define: "_DebugMsg_FileOpened"=""
FileWrite: Core/.onInit (line 163.12.18.27): $$EXEDIR ($0) was a UNC path (due to the UAC plug-in), set $$EXEDIR to %PAL:PackageDir% which is $EXEDIR.



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
!insertmacro: _Else
!insertmacro: end of _Else
!insertmacro: SetEnvironmentVariable
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Core/.onInit"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: Core/.onInit (line 163.12.20.96.27): Setting environment variable PAL:PackageDir to $EXEDIR (internal representations: s, s)



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
File: "System.dll"->"$PLUGINSDIR\System.dll" 11264 bytes
Plugin Command: Call Kernel32::SetEnvironmentVariable(ts,ts)
!insertmacro: end of SetEnvironmentVariable
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: GetBaseNameCall
!insertmacro: end of GetBaseNameCall
StrCpy $LauncherFile "$EXEDIR\App\AppInfo\Launcher\$BaseName.ini" () ()
ClearErrors
ReadINIStr $AppID [Details]:AppID from $EXEDIR\App\AppInfo\appinfo.ini
ReadINIStr $AppNamePortable [Details]:Name from $EXEDIR\App\AppInfo\appinfo.ini
!insertmacro: _If
!insertmacro: end of _If
StrCpy $AppNamePortable "PortableApps.com Launcher" () ()
StrCpy $MissingFileOrPath "$EXEDIR\App\AppInfo\appinfo.ini" () ()
MessageBox: 16: "$(LauncherFileNotFound)"
Quit
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: ReadLauncherConfig
ReadINIStr $AppName [Launch]:AppName from $LauncherFile
!insertmacro: end of ReadLauncherConfig
!insertmacro: _If
!insertmacro: end of _If
StrCpy $0 "$AppNamePortable" () (-9)
!insertmacro: _If
!insertmacro: end of _If
StrCpy $AppName "$AppNamePortable" (-9) ()
!insertmacro: _Else
!insertmacro: end of _Else
StrCpy $1 "$AppNamePortable" () (-18)
!insertmacro: _If
!insertmacro: end of _If
StrCpy $AppName "$AppNamePortable" (-18) ()
!insertmacro: _Else
!insertmacro: end of _Else
StrCpy $AppName "$AppNamePortable" () ()
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: end of Core.nsh_.onInit
!insertmacro: end of RunSegment
!insertmacro: RunSegment
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!insertmacro: Temp.nsh_.onInit
ClearErrors
ReadEnvStr: PAL:_TEMP->$TMP
!insertmacro: _If
!insertmacro: end of _If
StrCpy $TMP "$TEMP" () ()
!insertmacro: _Else
!insertmacro: end of _Else
!insertmacro: SetEnvironmentVariable
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Temp/.onInit"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: Temp/.onInit (line 164.12.6.96.27): Setting environment variable TEMP to $TMP (internal representations: s, s)



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
Plugin Command: Call Kernel32::SetEnvironmentVariable(ts,ts)
!insertmacro: end of SetEnvironmentVariable
!insertmacro: SetEnvironmentVariable
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Temp/.onInit"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: Temp/.onInit (line 164.12.7.96.27): Setting environment variable TMP to $TMP (internal representations: s, s)



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
Plugin Command: Call Kernel32::SetEnvironmentVariable(ts,ts)
!insertmacro: end of SetEnvironmentVariable
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: end of Temp.nsh_.onInit
!insertmacro: end of RunSegment
!insertmacro: RunSegment
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!insertmacro: Language.nsh_.onInit
ReadEnvStr: PortableApps.comLocaleID->$0
!insertmacro: _Switch
!insertmacro: end of _Switch
!insertmacro: LanguageCases
!include: "C:\DOCUME~1\COMPAQ~1\LOCALS~1\Temp\nst1F4.tmp"
!insertmacro: _Case
!insertmacro: end of _Case
!insertmacro: _Case
!insertmacro: end of _Case
!insertmacro: _Case
!insertmacro: end of _Case
!insertmacro: _Case
!insertmacro: end of _Case
!insertmacro: _Case
!insertmacro: end of _Case
!insertmacro: _Case
!insertmacro: end of _Case
!insertmacro: _Case
!insertmacro: end of _Case
!insertmacro: _Case
!insertmacro: end of _Case
!insertmacro: _Case
!insertmacro: end of _Case
!insertmacro: _Case
!insertmacro: end of _Case
!insertmacro: _Case
!insertmacro: end of _Case
!insertmacro: _Case
!insertmacro: end of _Case
!insertmacro: _Case
!insertmacro: end of _Case
!insertmacro: _Case
!insertmacro: end of _Case
!insertmacro: _Case
!insertmacro: end of _Case
!insertmacro: _Case
!insertmacro: end of _Case
!insertmacro: _Case
!insertmacro: end of _Case
!include: closed: "C:\DOCUME~1\COMPAQ~1\LOCALS~1\Temp\nst1F4.tmp"
!delfile: "C:\DOCUME~1\COMPAQ~1\LOCALS~1\Temp\nst1F4.tmp"
!delfile: deleted "C:\DOCUME~1\COMPAQ~1\LOCALS~1\Temp\nst1F4.tmp"
!undef: "LangAutoDetectFile"
!insertmacro: end of LanguageCases
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Language/.onInit"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: Language/.onInit (line 165.12.7.27): Setting language code to $0



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
StrCpy $LANGUAGE "$0" () ()
!insertmacro: _Goto
!insertmacro: end of _Goto
!insertmacro: _EndSwitch
!insertmacro: end of _EndSwitch
!insertmacro: end of Language.nsh_.onInit
!insertmacro: end of RunSegment
!insertmacro: RunSegment
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!insertmacro: RunAsAdmin.nsh_.onInit
!insertmacro: ReadLauncherConfig
ReadINIStr $RunAsAdmin [Launch]:RunAsAdmin from $LauncherFile
!insertmacro: end of ReadLauncherConfig
!insertmacro: _If
!insertmacro: end of _If
!insertmacro: _Or
!insertmacro: end of _Or
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="RunAsAdmin/.onInit"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: RunAsAdmin/.onInit (line 166.12.5.27): [Launch]:RunAsAdmin value is $RunAsAdmin



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="RunAsAdmin/.onInit"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: RunAsAdmin/.onInit (line 166.12.7.27): Attempting to run as admin



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
!insertmacro: UAC_RunElevated
File: "UAC.dll"->"$PLUGINSDIR\UAC.dll" 13312 bytes
Plugin Command: _ 0
!insertmacro: end of UAC_RunElevated
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!insertmacro: _Select
!insertmacro: end of _Select
!insertmacro: _Case
!insertmacro: end of _Case
!insertmacro: _If
!insertmacro: end of _If
StrCpy $R9 "Changed credentials to admin: this is the user-level process, admin has finished." () ()
!insertmacro: _ElseIf
!insertmacro: end of _ElseIf
StrCpy $R9 "Changed credentials to admin: this is the admin process." () ()
!insertmacro: _ElseIf
!insertmacro: end of _ElseIf
StrCpy $R9 "Changed credentials, but not to admin." () ()
!insertmacro: _Else
!insertmacro: end of _Else
StrCpy $R9 "Given 'changed credentials' status code but unknown values ($$2=$2, $$3=$3)" () ()
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: _Case
!insertmacro: end of _Case
StrCpy $R9 "Failed to elevate to admin (cancelled)." () ()
!insertmacro: _Case
!insertmacro: end of _Case
StrCpy $R9 "Failed to elevate to admin (Windows logon service was unavailable)." () ()
!insertmacro: _CaseElse
!insertmacro: end of _CaseElse
StrCpy $R9 "Unknown error (code $0)." () ()
!insertmacro: _EndSelect
!insertmacro: end of _EndSelect
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="RunAsAdmin/.onInit"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: RunAsAdmin/.onInit (line 166.12.30.27): UAC_RunElevated return values: $$0=$0, $$1=$1, $$2=$2, $$3=$3; $R9



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
!insertmacro: _Switch
!insertmacro: end of _Switch
!insertmacro: _Case
!insertmacro: end of _Case
!insertmacro: _IfThen
!insertmacro: end of _IfThen
!insertmacro: _If
!insertmacro: end of _If
StrCpy $RunningAsAdmin "true" () ()
!insertmacro: _Goto
!insertmacro: end of _Goto
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: _If
!insertmacro: end of _If
!insertmacro: _If
!insertmacro: end of _If
MessageBox: 327733: "$(LauncherRequiresAdmin)



$(LauncherNotAdminTryAgain)" (on IDRETRY goto Elevate)
Quit
!insertmacro: _ElseIf
!insertmacro: end of _ElseIf
MessageBox: 327730: "$(LauncherNotAdminLimitedFunctionality)



$(LauncherNotAdminLimitedFunctionalityTryAgain)" (on IDRETRY goto Elevate)
Quit
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: CaseUACCodeAlert
!insertmacro: _Case
!insertmacro: end of _Case
!insertmacro: _If
!insertmacro: end of _If
MessageBox: 327696: "$(LauncherRequiresAdmin)"
Quit
!insertmacro: _ElseIf
!insertmacro: end of _ElseIf
MessageBox: 327744: "$(LauncherNotAdminLimitedFunctionality)"
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: _Goto
!insertmacro: end of _Goto
!insertmacro: end of CaseUACCodeAlert
!insertmacro: CaseUACCodeAlert
!insertmacro: _Case
!insertmacro: end of _Case
!insertmacro: _If
!insertmacro: end of _If
MessageBox: 327696: "$(LauncherAdminLogonServiceNotRunning)"
Quit
!insertmacro: _ElseIf
!insertmacro: end of _ElseIf
MessageBox: 327744: "$(LauncherNotAdminLimitedFunctionality)"
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: _Goto
!insertmacro: end of _Goto
!insertmacro: end of CaseUACCodeAlert
!insertmacro: CaseUACCodeAlert
!insertmacro: _CaseElse
!insertmacro: end of _CaseElse
!insertmacro: _If
!insertmacro: end of _If
MessageBox: 327696: "$(LauncherAdminError)

$(LauncherRequiresAdmin)"
Quit
!insertmacro: _ElseIf
!insertmacro: end of _ElseIf
MessageBox: 327744: "$(LauncherAdminError)

$(LauncherNotAdminLimitedFunctionality)"
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: _Goto
!insertmacro: end of _Goto
!insertmacro: end of CaseUACCodeAlert
!insertmacro: _EndSwitch
!insertmacro: end of _EndSwitch
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: end of RunAsAdmin.nsh_.onInit
!insertmacro: end of RunSegment
FunctionEnd
Function: "Init"
!insertmacro: RunSegment
!insertmacro: end of RunSegment
!insertmacro: RunSegment
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!insertmacro: Core.nsh_Init
StrCpy $LauncherFile "$EXEDIR\App\AppInfo\Launcher\$BaseName.ini" () ()
!insertmacro: _If
!insertmacro: end of _If
InitPluginsDir
CopyFiles: (silent) "$LauncherFile" -> "$PLUGINSDIR\launcher.ini", size=0KB
StrCpy $LauncherFile "$PLUGINSDIR\launcher.ini" () ()
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: GetParametersCall
!insertmacro: end of GetParametersCall
!insertmacro: _IfThen
!insertmacro: end of _IfThen
ClearErrors
!insertmacro: _IfThen
!insertmacro: end of _IfThen
!insertmacro: _If
!insertmacro: end of _If
StrCpy $MissingFileOrPath "$LauncherFile" () ()
MessageBox: 16: "$(LauncherFileNotFound)"
Quit
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: ReadLauncherConfig
ReadINIStr $0 [Launch]:NoSpacesInPath from $LauncherFile
!insertmacro: end of ReadLauncherConfig
!insertmacro: _If
!insertmacro: end of _If
!insertmacro: WordFindCall
!insertmacro: end of WordFindCall
!insertmacro: _If
!insertmacro: end of _If
MessageBox: 16: "$(LauncherNoSpaces)"
Quit
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: end of Core.nsh_Init
!insertmacro: end of RunSegment
!insertmacro: RunSegment
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!insertmacro: DriveLetter.nsh_Init
ReadINIStr $LastDrive [$AppIDSettings]:LastDrive from $EXEDIR\Data\settings\$AppIDSettings.ini
!insertmacro: GetRootCall
!insertmacro: end of GetRootCall
!insertmacro: _IfThen
!insertmacro: end of _IfThen
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="DriveLetter/Init"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: DriveLetter/Init (line 172.12.8.27): Current drive is $CurrentDrive, last drive is $LastDrive



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
!insertmacro: end of DriveLetter.nsh_Init
!insertmacro: end of RunSegment
!insertmacro: RunSegment
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!insertmacro: Variables.nsh_Init
StrCpy $0 "$CurrentDrive" (1) ()
StrCpy $1 "$LastDrive" (1) ()
!insertmacro: SetEnvironmentVariable
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Variables/Init"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: Variables/Init (line 173.12.4.96.27): Setting environment variable PAL:Drive to $CurrentDrive (internal representations: s, s)



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
Plugin Command: Call Kernel32::SetEnvironmentVariable(ts,ts)
!insertmacro: end of SetEnvironmentVariable
!insertmacro: SetEnvironmentVariable
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Variables/Init"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: Variables/Init (line 173.12.5.96.27): Setting environment variable PAL:LastDrive to $LastDrive (internal representations: s, s)



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
Plugin Command: Call Kernel32::SetEnvironmentVariable(ts,ts)
!insertmacro: end of SetEnvironmentVariable
!insertmacro: SetEnvironmentVariable
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Variables/Init"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: Variables/Init (line 173.12.6.96.27): Setting environment variable PAL:DriveLetter to $0 (internal representations: s, r0)



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
Plugin Command: Call Kernel32::SetEnvironmentVariable(ts,tr0)
!insertmacro: end of SetEnvironmentVariable
!insertmacro: SetEnvironmentVariable
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Variables/Init"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: Variables/Init (line 173.12.7.96.27): Setting environment variable PAL:LastDriveLetter to $1 (internal representations: s, r1)



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
Plugin Command: Call Kernel32::SetEnvironmentVariable(ts,tr1)
!insertmacro: end of SetEnvironmentVariable
StrCpy $AppDirectory "$EXEDIR\App" () ()
StrCpy $DataDirectory "$EXEDIR\Data" () ()
!insertmacro: SetEnvironmentVariablesPathCall
Push: PAL:AppDir
Push: $AppDirectory
!insertmacro: CallArtificialFunction2
!define: "CallArtificialFunction2_TYPE"="inst"
Call ":.SetEnvironmentVariablesPath_inst"
Goto: SetEnvironmentVariablesPath_inst_DONE
!define: "SetEnvironmentVariablesPath_inst_DEFINED"=""
!insertmacro: SetEnvironmentVariablesPath_
Exch($R0,0)
Exch(st(1),0)
Exch($R1,0)
Push: $R2
Push: $R3
Push: $R7
Push: $R8
Push: $R9
!insertmacro: SetEnvironmentVariable
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Variables/Init"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: Variables/Init (line 173.12.11.3.11.20.96.27): Setting environment variable $R1 to $R0 (internal representations: R1, R0)



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
Plugin Command: Call Kernel32::SetEnvironmentVariable(tR1,tR0)
!insertmacro: end of SetEnvironmentVariable
!insertmacro: WordReplaceCall
!insertmacro: end of WordReplaceCall
!insertmacro: SetEnvironmentVariable
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Variables/Init"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: Variables/Init (line 173.12.11.3.11.23.96.27): Setting environment variable $R1:Forwardslash to $R2 (internal representations: s, R2)



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
Plugin Command: Call Kernel32::SetEnvironmentVariable(ts,tR2)
!insertmacro: end of SetEnvironmentVariable
!insertmacro: WordReplaceCall
!insertmacro: end of WordReplaceCall
!insertmacro: SetEnvironmentVariable
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Variables/Init"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: Variables/Init (line 173.12.11.3.11.26.96.27): Setting environment variable $R1:DoubleBackslash to $R3 (internal representations: s, R3)



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
Plugin Command: Call Kernel32::SetEnvironmentVariable(ts,tR3)
!insertmacro: end of SetEnvironmentVariable
StrCpy $R3 "" () ()
StrLen $R7 "$R2"
IntOp: $R7=$R7-1
!insertmacro: _For
!insertmacro: end of _For
StrCpy $R9 "$R2" (1) ($R8)
!insertmacro: _If
!insertmacro: end of _If
!insertmacro: _Or
!insertmacro: end of _Or
!insertmacro: _Or
!insertmacro: end of _Or
!insertmacro: _Or
!insertmacro: end of _Or
!insertmacro: _Or
!insertmacro: end of _Or
!insertmacro: _Or
!insertmacro: end of _Or
!insertmacro: _Or
!insertmacro: end of _Or
!insertmacro: _Or
!insertmacro: end of _Or
!insertmacro: _Or
!insertmacro: end of _Or
!insertmacro: _Or
!insertmacro: end of _Or
!insertmacro: _Or
!insertmacro: end of _Or
!insertmacro: _Or
!insertmacro: end of _Or
!insertmacro: _Or
!insertmacro: end of _Or
!insertmacro: _Or
!insertmacro: end of _Or
!insertmacro: _Or
!insertmacro: end of _Or
!insertmacro: _Or
!insertmacro: end of _Or
!insertmacro: _Or
!insertmacro: end of _Or
!insertmacro: _Or
!insertmacro: end of _Or
!insertmacro: _Or
!insertmacro: end of _Or
!insertmacro: _Or
!insertmacro: end of _Or
!insertmacro: _Or
!insertmacro: end of _Or
!insertmacro: _Or
!insertmacro: end of _Or
!insertmacro: _Or
!insertmacro: end of _Or
!insertmacro: _Or
!insertmacro: end of _Or
!insertmacro: _Or
!insertmacro: end of _Or
!insertmacro: _Or
!insertmacro: end of _Or
!insertmacro: _Or
!insertmacro: end of _Or
StrCpy $R3 "$R3$R9" () ()
!insertmacro: _Else
!insertmacro: end of _Else
StrCpy $R3 "$R3/$R9" () ()
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: _Loop
!insertmacro: end of _Loop
!insertmacro: SetEnvironmentVariable
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Variables/Init"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: Variables/Init (line 173.12.11.3.11.66.96.27): Setting environment variable $R1:java.util.prefs to $R3 (internal representations: s, R3)



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
Plugin Command: Call Kernel32::SetEnvironmentVariable(ts,tR3)
!insertmacro: end of SetEnvironmentVariable
Pop: $R9
Pop: $R8
Pop: $R7
Pop: $R3
Pop: $R2
Pop: $R1
Pop: $R0
!insertmacro: end of SetEnvironmentVariablesPath_
Return
!undef: "CallArtificialFunction2_TYPE"
!insertmacro: end of CallArtificialFunction2
!insertmacro: end of SetEnvironmentVariablesPathCall
!insertmacro: SetEnvironmentVariablesPathCall
Push: PAL:DataDir
Push: $DataDirectory
!insertmacro: CallArtificialFunction2
!define: "CallArtificialFunction2_TYPE"="inst"
Call ":.SetEnvironmentVariablesPath_inst"
!undef: "CallArtificialFunction2_TYPE"
!insertmacro: end of CallArtificialFunction2
!insertmacro: end of SetEnvironmentVariablesPathCall
!insertmacro: GetParentCall
!insertmacro: end of GetParentCall
!insertmacro: SetEnvironmentVariablesPathCall
Push: PAL:PortableAppsDir
Push: $PortableAppsDirectory
!insertmacro: CallArtificialFunction2
!define: "CallArtificialFunction2_TYPE"="inst"
Call ":.SetEnvironmentVariablesPath_inst"
!undef: "CallArtificialFunction2_TYPE"
!insertmacro: end of CallArtificialFunction2
!insertmacro: end of SetEnvironmentVariablesPathCall
ReadEnvStr: PortableApps.comDocuments->$0
!insertmacro: _If
!insertmacro: end of _If
!insertmacro: _Or
!insertmacro: end of _Or
StrCpy $0 "$CurrentDrive\Documents" () ()
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: SetEnvironmentVariablesPathCall
Push: PortableApps.comDocuments
Push: $0
!insertmacro: CallArtificialFunction2
!define: "CallArtificialFunction2_TYPE"="inst"
Call ":.SetEnvironmentVariablesPath_inst"
!undef: "CallArtificialFunction2_TYPE"
!insertmacro: end of CallArtificialFunction2
!insertmacro: end of SetEnvironmentVariablesPathCall
ReadEnvStr: PortableApps.comPictures->$1
!insertmacro: _If
!insertmacro: end of _If
!insertmacro: _Or
!insertmacro: end of _Or
StrCpy $1 "$0\Pictures" () ()
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: SetEnvironmentVariablesPathCall
Push: PortableApps.comPictures
Push: $1
!insertmacro: CallArtificialFunction2
!define: "CallArtificialFunction2_TYPE"="inst"
Call ":.SetEnvironmentVariablesPath_inst"
!undef: "CallArtificialFunction2_TYPE"
!insertmacro: end of CallArtificialFunction2
!insertmacro: end of SetEnvironmentVariablesPathCall
ReadEnvStr: PortableApps.comMusic->$1
!insertmacro: _If
!insertmacro: end of _If
!insertmacro: _Or
!insertmacro: end of _Or
StrCpy $1 "$0\Music" () ()
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: SetEnvironmentVariablesPathCall
Push: PortableApps.comMusic
Push: $1
!insertmacro: CallArtificialFunction2
!define: "CallArtificialFunction2_TYPE"="inst"
Call ":.SetEnvironmentVariablesPath_inst"
!undef: "CallArtificialFunction2_TYPE"
!insertmacro: end of CallArtificialFunction2
!insertmacro: end of SetEnvironmentVariablesPathCall
ReadEnvStr: PortableApps.comVideos->$1
!insertmacro: _If
!insertmacro: end of _If
!insertmacro: _Or
!insertmacro: end of _Or
StrCpy $1 "$0\Videos" () ()
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: SetEnvironmentVariablesPathCall
Push: PortableApps.comVideos
Push: $1
!insertmacro: CallArtificialFunction2
!define: "CallArtificialFunction2_TYPE"="inst"
Call ":.SetEnvironmentVariablesPath_inst"
!undef: "CallArtificialFunction2_TYPE"
!insertmacro: end of CallArtificialFunction2
!insertmacro: end of SetEnvironmentVariablesPathCall
!insertmacro: SetEnvironmentVariablesPathFromEnvironmentVariable
Push: $R0
ReadEnvStr: ALLUSERSPROFILE->$R0
!insertmacro: SetEnvironmentVariablesPathCall
Push: ALLUSERSPROFILE
Push: $R0
!insertmacro: CallArtificialFunction2
!define: "CallArtificialFunction2_TYPE"="inst"
Call ":.SetEnvironmentVariablesPath_inst"
!undef: "CallArtificialFunction2_TYPE"
!insertmacro: end of CallArtificialFunction2
!insertmacro: end of SetEnvironmentVariablesPathCall
Pop: $R0
!insertmacro: end of SetEnvironmentVariablesPathFromEnvironmentVariable
!insertmacro: SetEnvironmentVariablesPathFromEnvironmentVariable
Push: $R0
ReadEnvStr: USERPROFILE->$R0
!insertmacro: SetEnvironmentVariablesPathCall
Push: USERPROFILE
Push: $R0
!insertmacro: CallArtificialFunction2
!define: "CallArtificialFunction2_TYPE"="inst"
Call ":.SetEnvironmentVariablesPath_inst"
!undef: "CallArtificialFunction2_TYPE"
!insertmacro: end of CallArtificialFunction2
!insertmacro: end of SetEnvironmentVariablesPathCall
Pop: $R0
!insertmacro: end of SetEnvironmentVariablesPathFromEnvironmentVariable
!insertmacro: SetEnvironmentVariablesPathCall
Push: LOCALAPPDATA
Push: $LOCALAPPDATA
!insertmacro: CallArtificialFunction2
!define: "CallArtificialFunction2_TYPE"="inst"
Call ":.SetEnvironmentVariablesPath_inst"
!undef: "CallArtificialFunction2_TYPE"
!insertmacro: end of CallArtificialFunction2
!insertmacro: end of SetEnvironmentVariablesPathCall
!insertmacro: SetEnvironmentVariablesPathCall
Push: APPDATA
Push: $APPDATA
!insertmacro: CallArtificialFunction2
!define: "CallArtificialFunction2_TYPE"="inst"
Call ":.SetEnvironmentVariablesPath_inst"
!undef: "CallArtificialFunction2_TYPE"
!insertmacro: end of CallArtificialFunction2
!insertmacro: end of SetEnvironmentVariablesPathCall
!insertmacro: SetEnvironmentVariablesPathCall
Push: DOCUMENTS
Push: $DOCUMENTS
!insertmacro: CallArtificialFunction2
!define: "CallArtificialFunction2_TYPE"="inst"
Call ":.SetEnvironmentVariablesPath_inst"
!undef: "CallArtificialFunction2_TYPE"
!insertmacro: end of CallArtificialFunction2
!insertmacro: end of SetEnvironmentVariablesPathCall
!insertmacro: end of Variables.nsh_Init
!insertmacro: end of RunSegment
!insertmacro: RunSegment
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!insertmacro: Language.nsh_Init
ReadEnvStr: PortableApps.comLanguageCode->$0
!insertmacro: _If
!insertmacro: end of _If
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Language/Init"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: Language/Init (line 174.12.4.27): PortableApps.com Platform language variables are missing.



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
StrCpy $9 "pap-missing" () ()
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: SetEnvironmentVariableDefault
Push: $R9
ReadEnvStr: PortableApps.comLanguageCode->$R9
!insertmacro: _If
!insertmacro: end of _If
Pop: $R9
!insertmacro: SetEnvironmentVariable
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Language/Init"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: Language/Init (line 174.12.9.5.96.27): Setting environment variable PortableApps.comLanguageCode to en (internal representations: s, s)



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
Plugin Command: Call Kernel32::SetEnvironmentVariable(ts,ts)
!insertmacro: end of SetEnvironmentVariable
!insertmacro: _Else
!insertmacro: end of _Else
Pop: $R9
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: end of SetEnvironmentVariableDefault
!insertmacro: SetEnvironmentVariableDefault
Push: $R9
ReadEnvStr: PortableApps.comLocaleCode2->$R9
!insertmacro: _If
!insertmacro: end of _If
Pop: $R9
!insertmacro: SetEnvironmentVariable
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Language/Init"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: Language/Init (line 174.12.10.5.96.27): Setting environment variable PortableApps.comLocaleCode2 to en (internal representations: s, s)



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
Plugin Command: Call Kernel32::SetEnvironmentVariable(ts,ts)
!insertmacro: end of SetEnvironmentVariable
!insertmacro: _Else
!insertmacro: end of _Else
Pop: $R9
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: end of SetEnvironmentVariableDefault
!insertmacro: SetEnvironmentVariableDefault
Push: $R9
ReadEnvStr: PortableApps.comLocaleCode3->$R9
!insertmacro: _If
!insertmacro: end of _If
Pop: $R9
!insertmacro: SetEnvironmentVariable
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Language/Init"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: Language/Init (line 174.12.11.5.96.27): Setting environment variable PortableApps.comLocaleCode3 to eng (internal representations: s, s)



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
Plugin Command: Call Kernel32::SetEnvironmentVariable(ts,ts)
!insertmacro: end of SetEnvironmentVariable
!insertmacro: _Else
!insertmacro: end of _Else
Pop: $R9
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: end of SetEnvironmentVariableDefault
!insertmacro: SetEnvironmentVariableDefault
Push: $R9
ReadEnvStr: PortableApps.comLocaleglibc->$R9
!insertmacro: _If
!insertmacro: end of _If
Pop: $R9
!insertmacro: SetEnvironmentVariable
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Language/Init"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: Language/Init (line 174.12.12.5.96.27): Setting environment variable PortableApps.comLocaleglibc to en_US (internal representations: s, s)



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
Plugin Command: Call Kernel32::SetEnvironmentVariable(ts,ts)
!insertmacro: end of SetEnvironmentVariable
!insertmacro: _Else
!insertmacro: end of _Else
Pop: $R9
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: end of SetEnvironmentVariableDefault
!insertmacro: SetEnvironmentVariableDefault
Push: $R9
ReadEnvStr: PortableApps.comLocaleID->$R9
!insertmacro: _If
!insertmacro: end of _If
Pop: $R9
!insertmacro: SetEnvironmentVariable
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Language/Init"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: Language/Init (line 174.12.13.5.96.27): Setting environment variable PortableApps.comLocaleID to 1033 (internal representations: s, s)



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
Plugin Command: Call Kernel32::SetEnvironmentVariable(ts,ts)
!insertmacro: end of SetEnvironmentVariable
!insertmacro: _Else
!insertmacro: end of _Else
Pop: $R9
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: end of SetEnvironmentVariableDefault
!insertmacro: SetEnvironmentVariableDefault
Push: $R9
ReadEnvStr: PortableApps.comLocaleWinName->$R9
!insertmacro: _If
!insertmacro: end of _If
Pop: $R9
!insertmacro: SetEnvironmentVariable
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Language/Init"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: Language/Init (line 174.12.14.5.96.27): Setting environment variable PortableApps.comLocaleWinName to LANG_ENGLISH (internal representations: s, s)



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
Plugin Command: Call Kernel32::SetEnvironmentVariable(ts,ts)
!insertmacro: end of SetEnvironmentVariable
!insertmacro: _Else
!insertmacro: end of _Else
Pop: $R9
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: end of SetEnvironmentVariableDefault
ReadEnvStr: PortableApps.comLocaleName->$0
!insertmacro: _If
!insertmacro: end of _If
ReadEnvStr: PortableApps.comLocaleWinName->$0
StrCpy $0 "$0" () (5)
!insertmacro: SetEnvironmentVariable
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Language/Init"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: Language/Init (line 174.12.25.96.27): Setting environment variable PortableApps.comLocaleName to $0 (internal representations: s, r0)



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
Plugin Command: Call Kernel32::SetEnvironmentVariable(ts,tr0)
!insertmacro: end of SetEnvironmentVariable
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: _If
!insertmacro: end of _If
ClearErrors
!insertmacro: ReadLauncherConfig
ReadINIStr $0 [LanguageFile]:Type from $LauncherFile
!insertmacro: end of ReadLauncherConfig
!insertmacro: ReadLauncherConfig
ReadINIStr $1 [LanguageFile]:File from $LauncherFile
!insertmacro: end of ReadLauncherConfig
!insertmacro: ParseLocations
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
Var: "_ParseLocations_Before"
!define: "_ParseLocations_Before"=""
StrCpy $_ParseLocations_Before "$1" () ()
ExpandEnvStrings: $1->$1
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Language/Init"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: Language/Init (line 174.12.40.17.27): Environment variable expansion on $$1:

Before: `$_ParseLocations_Before`

After: `$1`



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
!insertmacro: end of ParseLocations
!insertmacro: _If
!insertmacro: end of _If
!insertmacro: _And
!insertmacro: end of _And
StrCpy $8 "" () ()
!insertmacro: _If
!insertmacro: end of _If
!insertmacro: ReadLauncherConfig
ReadINIStr $2 [LanguageFile]:Entry from $LauncherFile
!insertmacro: end of ReadLauncherConfig
!insertmacro: _If
!insertmacro: end of _If
!insertmacro: ReadLauncherConfig
ReadINIStr $4 [LanguageFile]:CaseSensitive from $LauncherFile
!insertmacro: end of ReadLauncherConfig
!insertmacro: _If
!insertmacro: end of _If
!insertmacro: _If
!insertmacro: end of _If
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Language/Init"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: Language/Init (line 174.12.51.27): Reading the language from $1, entry `$2`, with ConfigReadS.



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
!insertmacro: ConfigReadSCall
!insertmacro: end of ConfigReadSCall
!insertmacro: _Else
!insertmacro: end of _Else
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Language/Init"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: Language/Init (line 174.12.54.27): Reading the language from $1, entry `$2`, with ConfigRead.



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
!insertmacro: ConfigReadCall
!insertmacro: end of ConfigReadCall
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: _ElseIf
!insertmacro: end of _ElseIf
!insertmacro: ReadLauncherConfig
ReadINIStr $2 [LanguageFile]:Section from $LauncherFile
!insertmacro: end of ReadLauncherConfig
!insertmacro: ReadLauncherConfig
ReadINIStr $3 [LanguageFile]:Key from $LauncherFile
!insertmacro: end of ReadLauncherConfig
!insertmacro: _If
!insertmacro: end of _If
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Language/Init"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: Language/Init (line 174.12.63.27): Reading the language from $1, section `$2`, key `$3`, with ReadINIStr.



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
ReadINIStr $8 [$2]:$3 from $1
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: _If
!insertmacro: end of _If
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Language/Init"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: Language/Init (line 174.12.68.27): Unable to read language from file.



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
!insertmacro: _Else
!insertmacro: end of _Else
ClearErrors
!insertmacro: ReadLauncherConfig
ReadINIStr $0 [LanguageFile]:TrimRight from $LauncherFile
!insertmacro: end of ReadLauncherConfig
!insertmacro: _If
!insertmacro: end of _If
StrLen $1 "$0"
StrCpy $2 "$8" () (-$1)
!insertmacro: _If
!insertmacro: end of _If
StrCpy $8 "$8" (-$1) ()
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Language/Init"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: Language/Init (line 174.12.87.27): Setting PAL:LanguageCustom to $8 based on the [LanguageFile] section.



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
!insertmacro: SetEnvironmentVariable
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Language/Init"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: Language/Init (line 174.12.88.96.27): Setting environment variable PAL:LanguageCustom to $8 (internal representations: s, r8)



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
Plugin Command: Call Kernel32::SetEnvironmentVariable(ts,tr8)
!insertmacro: end of SetEnvironmentVariable
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: _EndIf
!insertmacro: end of _EndIf
ClearErrors
ReadEnvStr: PAL:LanguageCustom->$8
!insertmacro: _If
!insertmacro: end of _If
!insertmacro: ReadLauncherConfig
ReadINIStr $0 [Language]:Base from $LauncherFile
!insertmacro: end of ReadLauncherConfig
!insertmacro: _If
!insertmacro: end of _If
!insertmacro: ParseLocations
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
StrCpy $_ParseLocations_Before "$0" () ()
ExpandEnvStrings: $0->$0
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Language/Init"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: Language/Init (line 174.12.103.17.27): Environment variable expansion on $$0:

Before: `$_ParseLocations_Before`

After: `$0`



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
!insertmacro: end of ParseLocations
ClearErrors
!insertmacro: ReadLauncherConfig
ReadINIStr $1 [LanguageStrings]:$0 from $LauncherFile
!insertmacro: end of ReadLauncherConfig
!insertmacro: _If
!insertmacro: end of _If
ClearErrors
!insertmacro: ReadLauncherConfig
ReadINIStr $1 [Language]:Default from $LauncherFile
!insertmacro: end of ReadLauncherConfig
!insertmacro: _If
!insertmacro: end of _If
!insertmacro: ParseLocations
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
StrCpy $_ParseLocations_Before "$1" () ()
ExpandEnvStrings: $1->$1
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Language/Init"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: Language/Init (line 174.12.110.17.27): Environment variable expansion on $$1:

Before: `$_ParseLocations_Before`

After: `$1`



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
!insertmacro: end of ParseLocations
!insertmacro: _Else
!insertmacro: end of _Else
StrCpy $1 "$0" () ()
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: SetEnvironmentVariable
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Language/Init"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: Language/Init (line 174.12.115.96.27): Setting environment variable PAL:LanguageCustom to $1 (internal representations: s, r1)



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
Plugin Command: Call Kernel32::SetEnvironmentVariable(ts,tr1)
!insertmacro: end of SetEnvironmentVariable
!insertmacro: ReadLauncherConfig
ReadINIStr $2 [Language]:CheckIfExists from $LauncherFile
!insertmacro: end of ReadLauncherConfig
!insertmacro: _If
!insertmacro: end of _If
!insertmacro: ParseLocations
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
StrCpy $_ParseLocations_Before "$2" () ()
ExpandEnvStrings: $2->$2
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Language/Init"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: Language/Init (line 174.12.118.17.27): Environment variable expansion on $$2:

Before: `$_ParseLocations_Before`

After: `$2`



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
!insertmacro: end of ParseLocations
!insertmacro: _If
!insertmacro: end of _If
!insertmacro: ReadLauncherConfig
ReadINIStr $1 [Language]:DefaultIfNotExists from $LauncherFile
!insertmacro: end of ReadLauncherConfig
!insertmacro: ParseLocations
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
StrCpy $_ParseLocations_Before "$1" () ()
ExpandEnvStrings: $1->$1
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Language/Init"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: Language/Init (line 174.12.121.17.27): Environment variable expansion on $$1:

Before: `$_ParseLocations_Before`

After: `$1`



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
!insertmacro: end of ParseLocations
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Language/Init"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: Language/Init (line 174.12.122.27): Setting PAL:LanguageCustom to $1 based on the [Language] section.



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
!insertmacro: SetEnvironmentVariable
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Language/Init"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: Language/Init (line 174.12.123.96.27): Setting environment variable PAL:LanguageCustom to $1 (internal representations: s, r1)



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
Plugin Command: Call Kernel32::SetEnvironmentVariable(ts,tr1)
!insertmacro: end of SetEnvironmentVariable
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: end of Language.nsh_Init
!insertmacro: end of RunSegment
!insertmacro: RunSegment
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!insertmacro: Registry.nsh_Init
!insertmacro: ReadLauncherConfig
ReadINIStr $UsesRegistry [Activate]:Registry from $LauncherFile
!insertmacro: end of ReadLauncherConfig
!insertmacro: _If
!insertmacro: end of _If
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Registry/Init"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: Registry/Init (line 175.12.3.27): Registry sections enabled.



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: end of Registry.nsh_Init
!insertmacro: end of RunSegment
!insertmacro: RunSegment
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!insertmacro: Java.nsh_Init
!insertmacro: ReadLauncherConfig
ReadINIStr $JavaMode [Activate]:Java from $LauncherFile
!insertmacro: end of ReadLauncherConfig
!insertmacro: _If
!insertmacro: end of _If
!insertmacro: _Or
!insertmacro: end of _Or
StrCpy $JavaDirectory "$PortableAppsDirectory\CommonFiles\Java" () ()
!insertmacro: _If
!insertmacro: end of _If
ClearErrors
ReadRegStr $0 HKLM\Software\JavaSoft\Java Runtime Environment\CurrentVersion
ReadRegStr $JavaDirectory HKLM\Software\JavaSoft\Java Runtime Environment\$0\JavaHome
!insertmacro: _If
!insertmacro: end of _If
!insertmacro: _Or
!insertmacro: end of _Or
!insertmacro: _And
!insertmacro: end of _And
ClearErrors
ReadEnvStr: JAVA_HOME->$JavaDirectory
!insertmacro: _If
!insertmacro: end of _If
!insertmacro: _Or
!insertmacro: end of _Or
!insertmacro: _And
!insertmacro: end of _And
ClearErrors
SearchPath $JavaDirectory java.exe
!insertmacro: _If
!insertmacro: end of _If
!insertmacro: GetParentCall
!insertmacro: end of GetParentCall
!insertmacro: GetParentCall
!insertmacro: end of GetParentCall
!insertmacro: _Else
!insertmacro: end of _Else
StrCpy $JavaDirectory "$WINDIR\Java" () ()
!insertmacro: _If
!insertmacro: end of _If
!insertmacro: _And
!insertmacro: end of _And
StrCpy $JavaDirectory "$PortableAppsDirectory\CommonFiles\Java" () ()
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Java/Init"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: Java/Init (line 176.12.39.27): Unable to find Java installation.



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: _If
!insertmacro: end of _If
!insertmacro: _If
!insertmacro: end of _If
StrCpy $MissingFileOrPath "Java" () ()
MessageBox: 16: "$(LauncherFileNotFound)"
Quit
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: _IfThen
!insertmacro: end of _IfThen
!insertmacro: _IfThen
!insertmacro: end of _IfThen
!insertmacro: _If
!insertmacro: end of _If
StrCpy $MissingFileOrPath "$JavaDirectory\bin\$ProgramExecutable" () ()
MessageBox: 16: "$(LauncherFileNotFound)"
Quit
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Java/Init"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: Java/Init (line 176.12.66.27): Selected Java path: $JavaDirectory



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
!insertmacro: SetEnvironmentVariablesPathCall
Push: JAVA_HOME
Push: $JavaDirectory
!insertmacro: CallArtificialFunction2
!define: "CallArtificialFunction2_TYPE"="inst"
Call ":.SetEnvironmentVariablesPath_inst"
!undef: "CallArtificialFunction2_TYPE"
!insertmacro: end of CallArtificialFunction2
!insertmacro: end of SetEnvironmentVariablesPathCall
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: end of Java.nsh_Init
!insertmacro: end of RunSegment
!insertmacro: RunSegment
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!insertmacro: Mutex.nsh_Init
Plugin Command: Call kernel32::CreateMutex(i0,i0,t"PortableApps.comLauncher$AppID-$BaseName")?e
Pop: $0
!insertmacro: _If
!insertmacro: end of _If
!insertmacro: ReadLauncherConfig
ReadINIStr $0 [Launch]:SinglePortableAppInstance from $LauncherFile
!insertmacro: end of ReadLauncherConfig
!insertmacro: _If
!insertmacro: end of _If
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Mutex/Init"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: Mutex/Init (line 177.12.10.27): Launcher already running and [Launch]:SinglePortableAppInstance=true: aborting.



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
Quit
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: DebugMsg
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!define: "_DebugMsg_OK"=""
!define: "_DebugMsg_Seg"="Mutex/Init"
FileOpen: $EXEDIR\Data\debug.log as a -> $_DebugMsg_File
FileSeek: fp=$_DebugMsg_File, ofs=0, mode=END, output=
FileWrite: Mutex/Init (line 177.12.14.27): Launcher already running: secondary launch.



->$_DebugMsg_File
FileClose: $_DebugMsg_File
!undef: "_DebugMsg_Seg"
!undef: "_DebugMsg_OK"
!insertmacro: end of DebugMsg
StrCpy $SecondaryLaunch "true" () ()
StrCpy $WaitForProgram "false" () ()
StrCpy $DisableSplashScreen "true" () ()
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: end of Mutex.nsh_Init
!insertmacro: end of RunSegment
!insertmacro: RunSegment
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!insertmacro: RunLocally.nsh_Init
!insertmacro: ReadUserOverrideConfig
!insertmacro: ConfigReadCall
!insertmacro: end of ConfigReadCall
!insertmacro: end of ReadUserOverrideConfig
!insertmacro: end of RunLocally.nsh_Init
!insertmacro: end of RunSegment
!insertmacro: RunSegment
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!insertmacro: Temp.nsh_Init
!insertmacro: ReadLauncherConfig
ReadINIStr $UsesContainedTempDirectory [Launch]:CleanTemp from $LauncherFile
!insertmacro: end of ReadLauncherConfig
!insertmacro: end of Temp.nsh_Init
!insertmacro: end of RunSegment
!insertmacro: RunSegment
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!insertmacro: InstanceManagement.nsh_Init
!insertmacro: _If
!insertmacro: end of _If
!insertmacro: _And
!insertmacro: end of _And
StrCpy $MissingFileOrPath "App\$ProgramExecutable" () ()
MessageBox: 16: "$(LauncherFileNotFound)"
Quit
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: ReadLauncherConfig
ReadINIStr $0 [Launch]:SingleAppInstance from $LauncherFile
!insertmacro: end of ReadLauncherConfig
!insertmacro: _If
!insertmacro: end of _If
!insertmacro: _And
!insertmacro: end of _And
!insertmacro: GetFileNameCall
!insertmacro: end of GetFileNameCall
!insertmacro: _InstanceManagement_QuitIfRunning
!insertmacro: _If
!insertmacro: end of _If
!insertmacro: _And
!insertmacro: end of _And
MessageBox: 16: "$(LauncherAlreadyRunning)"
Quit
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: end of _InstanceManagement_QuitIfRunning
!insertmacro: _EndIf
!insertmacro: end of _EndIf
ClearErrors
!insertmacro: ReadLauncherConfig
ReadINIStr $0 [Launch]:CloseEXE from $LauncherFile
!insertmacro: end of ReadLauncherConfig
!insertmacro: _If
!insertmacro: end of _If
!insertmacro: _InstanceManagement_QuitIfRunning
!insertmacro: _If
!insertmacro: end of _If
!insertmacro: _And
!insertmacro: end of _And
MessageBox: 16: "$(LauncherAlreadyRunning)"
Quit
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: end of _InstanceManagement_QuitIfRunning
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: _If
!insertmacro: end of _If
!insertmacro: ReadLauncherConfig
ReadINIStr $WaitForProgram [Launch]:WaitForProgram from $LauncherFile
!insertmacro: end of ReadLauncherConfig
!insertmacro: _EndIf
!insertmacro: end of _EndIf
!insertmacro: end of InstanceManagement.nsh_Init
!insertmacro: end of RunSegment
!insertmacro: RunSegment
!insertmacro: !getdebug
!undef: "DEBUG"
!define: "DEBUG"=""
!insertmacro: end of !getdebug
!insertmacro: SplashScreen.nsh_Init
!insertmacro: _If
!insertmacro: end of _If
!insertmacro: ReadUserOverrideConfig
!insertmacro: ConfigReadCall
!insertmacro: end of ConfigReadCall
!insertmacro: end of ReadUserOverrideConfig
!insertmacro: ReadLauncherConfig
ReadINIStr $0 [Launch]:SplashTime from $LauncherFile
!insertmacro: end of ReadLauncherConfig
!insertmacro: _IfNotThen
!insertmacro: end of _IfNotThen
!insertmacro: CheckForPlatformSplashDisable
StrCmp "$DisableSplashScreen" "true" equal=_CFPSDEnd, nonequal=
Push: $0
Push: $1
Push: $R0
StrCpy $0 "$DisableSplashScreen" () ()
ReadEnvStr: PortableApps.comDisableSplash->$1
StrCmp "$1" "true" equal=, nonequal=_CFPSDStackEnd
!insertmacro: GetParentCall
!insertmacro: end of GetParentCall
IfFileExists: "$1\PortableApps.com\PortableAppsPlatform.exe" ?  : _CFPSDStackEnd
Invalid command: MoreInfo::GetProductName
Error in macro CheckForPlatformSplashDisable on macroline 16
Error in macro SplashScreen.nsh_Init on macroline 5
Error in macro RunSegment on macroline 12
Error in script "L:\PortableApps\PortableApps.comLauncher\Other\Source\PortableApps.comLauncher.nsi" on line 181 -- aborting creation process

Pasted: Jul 2, 2010, 2:42:35 am
Views: 59