[Main]
Title=TotalCommander 7.04a
Author=NightMan
Level=3
Version=12
Description=
Locked=false
Contact=vistape@vistape.net
Date=12.10.2008
Selected=False
Download_Level=1

[Variables]
%ProgramFolder%=totalcmd
%ProgramEXE%=totalcmd.exe
%ProgramTitle%=Total Commander

[Process]
If,NotExistFile,"%pFileBox1%\%ProgramEXE%",run,%ScriptFile%,Download
Echo,Processing %ProgramTitle%...
RunFromRam,True
CopyProgram,%pFileBox1%
Add_Shortcut,StartMenu
Add_Shortcut,Desktop
#
If,%pCheckBox3%,Equal,True,If,%pCheckBox4%,Equal,True,AddToPEShell,%ProgramTitle%,,True
If,%pCheckBox3%,Equal,True,If,%pCheckBox4%,Equal,False,AddToPEShell,%ProgramTitle%
If,%pCheckBox5%,Equal,True,Add_Shortcut,StartMenu,QuickLaunch
#

[Download]
Echo,"Downloading TotalCommander"
If,NotExistDir,%pFileBox1%,DirMake,%pFileBox1%
WebGet,"http://download.betanews.com/download/945901171/tcmd704a.exe","%pFileBox1%\tcmdr.exe"
ShellExecute,Hide,#$q%Tools%\7z.exe#$q,"x -y #$q%pFileBox1%\tcmdr.exe#$q -o#$q%pFileBox1%#$q"
FileDelete,"%pFileBox1%\FILE_ID.DIZ"
FileDelete,"%pFileBox1%\INSTALL.EXE"
FileDelete,"%pFileBox1%\LIESMICH.TXT"
FileDelete,"%pFileBox1%\README.TXT"
FileDelete,"%pFileBox1%\tcmdr.exe"
ShellExecute,Hide,#$q%Tools%\7z.exe#$q,"x -y #$q%pFileBox1%\INSTALL.CAB#$q -o#$q%pFileBox1%#$q"
FileDelete,"%pFileBox1%\INSTALL.CAB"
DirDelete,"%pFileBox1%\d"
DirDelete,"%pFileBox1%\e"

[Interface]
pCheckBox3="Add to shell list",1,3,10,60,200,18,True
pCheckBox4="Set as default shell",1,3,10,80,200,18,False
pFileBox1=%BaseDir%\Projects\VistaPE-Core\TC,1,13,79,125,207,28,dir
pTextLabel1="Source folder",1,1,10,129,72,18,8,Normal
pTextLabel2="Total Commenter will be downloaded and installed automatically, if executable will not be found in source path.",1,1,10,172,436,40,8,Normal
pCheckBox5="Add QuickLaunch icon",1,3,10,101,200,18,True

[EncodedFile-AuthorEncoded-Total_commander_icon.jpg]
lines=0
0=eJyVUHs80/sb/3733Q3TjDkhlS1hHWFzzNKFZaYpRNFB5JLLlLGMLNdYQheLyKWLW2nuktMipUInRlFqxyVCVMTRrym67Kxfr/P69e/v/Xq9n+f9eV7P8359nkculb8E6uxi2EEAwGKtA9AAACAAdRACQIX6TjIIA3QV2UFBikLjFVnRDGjA/tfDPg7/bz4C/ADdlqG3ix/JCwyL1GOwg9k8v4N6rDC/YDYnGKCYmdGszMhWZjQ9CsWKYmllbglAgDALBsAVk5ZUCwBW9MPNVEHoJ/0v5K0ADq2omEIgAYDhQAgHygcBAQADv+N7hCkAISBIEZFwOIRAIVEoBZFoJRUlNFoZjUQpqyorq2AwqhiU0jLsMgxWoTEgBEFwCI6Gw9HqGGWM+v8NeRtwHQBgEAj+9FukEhyFRkBqAACHw2EICKPxow7CIDgCicIBaCV1DYIyXpNINqJQtfTN6XYurn7X23tf/bJch+nmH8g9FMk7eja3rOFu35PvCyqu9ZM7QvFWmIAgEoZAYFTAf80BhTuOoE5GahDpfngX7pn6NRQLqv/+o1nZxb1jmua73AIOJaeUXht/KR8AMBCoOCSEA6yBm41Vz/Zs/oveU+V/PHAhIaV1VI1HWEu0T7nBq5iMUDIS9URlcMXzggvDRQgSn3NT0GDnuKdBdF7St2N3l1mUzkqN5PuXLXG7d4YpH3zaFmF/MoskeCOE2/q/RQjCJJtnjpS+08ndKDzUOtcU2lfR71FY6H5xkjjLxt88XVQZjMMX/XlkncTkSC2OHW9+wigjUKor8ccndizvcY96JMkNMO/rMnq0X/zbhsqrAsdzBxrVyK06xJe+lpi21bQVUtvD659PHfBlVOww4JSsGr9fwXJ3q/71YLsV5881a/jE4VJVbgHPrKauqSn4EklzYbne49B7z1Yu81yF8rYYnTk/t9vYj6bNENhmJf3S0lz8smdJhd7t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