[Main]
Title=QtWeb
Description=Adds QtWeb Internet Browser
Selected=True
Author=Kare
Level=6
Version=7.3
Date=04.07.2025
Size=pCheckbox1-True|906:7881179:15691656
AppDir=%AppsDir%\QtWeb\

UrlPath_1=http://www.qtweb.net/downloads/QtWeb.zip
UrlPath_2=
UrlPath_3=

[Interface]
Panel=1
pCheckBox1=False,Run from ram (boot.wim),0,3,12,5,150,18
pFrame1=Shortcuts,0,0,0,10,40,200,105
pCheckBox2=True,Desktop,0,22,30,62,120,20
pCheckBox3=True,Startmenu,0,21,30,87,140,20
pTextBox1=.,TextBox,0,2,48,113,150,50
pcheckbox4=False,Download each time,0,0,12,150,120,18

ptextbox2=http://www.google.com/,Start page:,0,0,10,200,180,21
pTextLabel1=Language:,10,0,Default,250,62,70,20
pscrollbox1=English,1,0,0,320,60,100,20,Chinese,Czech,English,German,French,Hungarian,Italian,Russian,Spanish,Swedish
//
tLangList=zh_cn|cz|en_US|de|fr|hu|it|ru_RU|es|sv

[Interface.07]
Description=Integriert den Internet Browser QtWeb in WindowsPE
Panel=1
pCheckBox1=False,Starte vom Ram (boot.wim),0,3,12,5,150,18
pFrame1=Verknüpfungen,0,0,0,10,40,200,105
pCheckBox2=True,Desktop-Eintrag,0,22,30,62,120,20
pCheckBox3=True,Startmenü-Eintrag,0,21,30,87,140,20
pTextBox1=.,TextBox,0,2,48,113,150,50
pcheckbox4=False,Jedes mal neu laden,0,0,12,150,120,18

ptextbox2=http://www.google.de/,Startseite:,1:0,0,10,180,180,21
ptextlabel1=Sprache:,10,0,Default,250,62,60,20
pscrollbox1=Deutsch,1,0,0,320,60,100,20,Chinesisch,Deutsch,Englisch,Französisch,Italienisch,Russisch,Spanisch,Schwedisch,Tschechisch,Ungarisch

tlanglist=zh_cn|de|en_US|fr|it|ru_RU|es|sv|cz|hu

[Process]

Echo,201,Txt|QTWeb
RunFromRAM,%pCheckBox1%

set,%ProgramTitle%,QtWeb
set,%ProgramEXE%,QtWeb.exe
set,%ProgramFolder%,QtWeb
set,%prgdir%,%Target_prog%\%ProgramFolder%

Set,%ScrDir%,%AppsDir%\%ProgramFolder%
If,%pCheckBox4%,=,True,then
  DirRemove,%ScrDir%,3
  FileDelete,%AppsDir%\QtWeb.exe,1
End
If,Not,ExistFile,%ScrDir%\%ProgramEXE%,Then,Run,%ScriptFile%,download

Echo,202,Txt
If,%pCheckBox2%,=,True,then,Add_Shortcut,Desktop,".","%PE_Programs%\%ProgramFolder%\%ProgramEXE%",%ProgramTitle%
If,%pCheckBox3%,=,True,then,Add_Shortcut,StartMenu,".","%PE_Programs%\%ProgramFolder%\%ProgramEXE%",%ProgramTitle%
//If,%pCheckBox4%,=,True,then,Add_Shortcut,Quicklaunch,".","%PE_Programs%\%ProgramFolder%\%ProgramEXE%",%ProgramTitle%

DirMake,%prgdir%
FileCopy,%ScrDir%\%ProgramEXE%,%prgdir%\

DirMake,%prgdir%\QtWebSettings\QtWeb.NET

Interface,GetIndex,,pScrollBox1,%Idx%
String,%lang%,SPLIT,%tLangList%,|,%Idx%

IniWrite,%prgdir%\QtWebSettings\QtWeb.NET\QtWeb Internet Browser.ini,%General,Language,%lang%
IniWrite,%prgdir%\QtWebSettings\QtWeb.NET\QtWeb Internet Browser.ini,MainWindow,home,%pTextBox2%
IniWrite,%prgdir%\QtWebSettings\QtWeb.NET\QtWeb Internet Browser.ini,downloadmanager,askForFileName,true
IniWrite,%prgdir%\QtWebSettings\QtWeb.NET\QtWeb Internet Browser.ini,downloadmanager,downloadDirectory,"%RAMDrive%\\"
IniWrite,%prgdir%\QtWebSettings\QtWeb.NET\QtWeb Internet Browser.ini,ApprovedSSL,ApproveAll,true

IF,%NTVersion%,=,5,Then,Require_file,cryptsvc.dll


[download]

set,%UrlPath_1%,http://www.kare-net.de/Download/QtWeb.zip
set,%FilePath%,%AppsDir%\QtWeb.zip
Set,%ServerMD5%,b524cfc2b290fcb404b2cff894863229

If,not,ExistFile,%FilePath%,then

    Echo,204,Txt
    If,not,ExistWebFile,%UrlPath_1%,Then,Message,NExist_Download,Msg|LSP
    Echo,205,Txt
    WebGet,%Urlpath_1%,%FilePath%
    If,%Exitcode%,=,1,Then,Message,Err_Download,Msg|LSP
    // MD5-Prüfsummenvergleich | MD5 checksum comparison
    Retrieve,%FileMD5%,MD5,%FilePath%
    If,Not,%FileMD5%,=,%ServerMD5%,Then
	Message,Err_MD5,Msg|
	FileDelete,%FilePath%
	Exit		
    End
End	
Echo,207,Txt
dirmake,%AppsDir%\%ProgramFolder%
Pack,Decompress,%FilePath%,%AppsDir%\%ProgramFolder%\,%ProgramEXE%
//ShellExecute,Hide,%Tools%\innounp.exe, -x -b -d#$q%AppsDir%\%ProgramFolder%#$q #$q%FilePath%#$q

[Script-Pic]
0=1684,2064,ZLB64
1=eNqd0WdUk2cUB/D3JQkJS8hCimSQBIhsAoiQYooYkKjMQBBaLEtFkSEoiEEUxJEjoClUxVXDCi6GCQRQkARNxYFhCSgOBEWKFKxIQCQNno4v/dD2/5zzfLn3ec79navqU70ADFhePl4ACAIAqD6AagGgewYyPdh+gW7ELTE225JitxB3O9jaE6m7UuISthB9WN5Elj/Tm7h7BW25NTF5V2R8XOoeojtxpbO26gngCcAgUCgUAlNfMBhME66LgKujr6OjpYvUR6GQ+kgk2tBkKRpjjEUijUyNjHE4AoGAXkqikPAUEzwBv/gJqH4K14QvQSCW4DFIDP4/R3ULQCIAGkCDgCRAAwlCkKCqDSCokTDwS4A/AmpAoOopEVraOuoGsQGgAUIgGur51QB1NVNdB6BIGMrUwUMTHRAJJyVjaAdOXESQV9e0YgMVkxTHqJ3ZWtqGS42+MjYzt6Aut3RyXuGy0tXNcw3Ty3utDyuIHRzCCd0YFh0Tu3nL1rhtKam7dqel78nIOZh76PCRozz+D4VFP548dbpYUFJaVl4hrLxUe10krquXNDRKZW2378h/vtve2dXd0/u4r3/g5dCr4ZHXb0bfjk29/+3D9McZ5ezcogsEIOCf+UcXUu3SUK8FCl90gRppiw1IKMzUQRPlEQCPTEaTaAcQmNUnLta0apEd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