[Main] Title=TotalCommander Author=NightMan Level=5 Version=009 Description= Locked=false Contact=vistape@gmail.com Date=16.05.2007 Selected=True Download_Level=1 [Variables] %VistaPECompatible%=Yes %OutDir%=totalcmd %Executable%=totalcmd.exe %Category%= %ProgramName%=Total Commander #next not requested %StartParameters%= %Description%= %Icon%= #normal or min or max %OpenWindow%= #autorun %AutoRunProgram%= %AutoRunParameters%= %pCheckBox1%=true [Process] Echo,Processing %ProgramName%... If,NotExistFile,"%pFileBox1%\%Executable%",run,%ScriptFile%,Download %CopyProgram% %ShortcutStartMenu% %ShortcutDesktop% If,%pCheckBox3%,Equal,true,IniWriteTextLine,"%TargetDir%\Windows\System32\PEShell.ini","Shells","%ProgramName%=#$qx:\Program#$sFiles\%OutDir%\%Executable%#$q" If,%pCheckBox4%,Equal,true,IniWrite,"%TargetDir%\Windows\System32\PEShell.ini","Shell Loader","Default","%ProgramName%" [Download] Echo,"Downloading TotalCommander" If,NotExistDir,%pFileBox1%,DirMake,%pFileBox1% WebGet,"http://cdn.simtel.net/pub/simtelnet/win95/filemngr/tcmdr656.exe","%pFileBox1%\tcmdr656.exe" ShellExecute,Hide,#$q%Tools%\unzip.exe#$q,"-o #$q%pFileBox1%\tcmdr656.exe#$q -d #$q%pFileBox1%#$q" FileDelete,"%pFileBox1%\FILE_ID.DIZ" FileDelete,"%pFileBox1%\INSTALL.EXE" FileDelete,"%pFileBox1%\LIESMICH.TXT" FileDelete,"%pFileBox1%\README.TXT" FileDelete,"%pFileBox1%\tcmdr656.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] pCheckBox2="Delete work folder",1,3,10,15,200,18,True pCheckBox3="Add to PE Shell",1,3,10,60,200,18,True pCheckBox4="Set as default shell in PE Shell",1,3,10,80,200,18,False pFileBox1=%ScriptDir%\TC,1,13,79,98,207,27,dir pTextLabel1="Source folder",1,1,10,103,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,132,436,40,8,Normal