[Main]
Title=Starfield Screen Saver
Description=The script will install Starfield Screen Saver
Selected=False
Level=3
Version=011
Date=24/12/2007
Locked=False
Author=online
Download_Level=2

[Variables]
%ProgramTitle%=Starfield ScreenSaver

[Process]
Echo,Processing %ProgramTitle%...
RunFromRam,True
IniRead,%VistaInfo%,"VistaInfo","Language","%DistLang%"
IniRead,%VistaInfo%,"VistaInfo","SourceType","%SourceType%"
If,%SourceType%,Equal,VistaCD,FileCopy,"%InstallSRC%\Windows\System32\desk.cpl","%TargetDir%\Windows\System32"
If,%SourceType%,Equal,VistaCD,FileCopy,"%InstallSRC%\Windows\System32\%DistLang%\desk.cpl.mui","%TargetDir%\Windows\System32\%DistLang%"
ExtractFile,"%ScriptFile%","File1","Starfield.scr","%target_sys%"
ExtractFile,"%ScriptFile%","File2","control.ini","%target_win%"
hive_load,HKU
reg_add,0x1,"%reg%\Classes\.scr","","scrfile"
reg_add,0x1,"%reg%\Classes\CLSID\{86C86720-42A0-1069-A2E8-08002B30309D}","",".exe drop target"
reg_add,0x1,"%reg%\Classes\CLSID\{86C86720-42A0-1069-A2E8-08002B30309D}\InProcServer32","","%SystemRoot%\System32\shell32.dll"
reg_add,0x1,"%reg%\Classes\CLSID\{86C86720-42A0-1069-A2E8-08002B30309D}\InProcServer32","ThreadingModel","Apartment"
reg_add,0x1,"%reg%\Classes\scrfile","","Screen Saver"
reg_add,0x1,"%reg%\Classes\scrfile\shell\config","","C&onfigure"
reg_add,0x1,"%reg%\Classes\scrfile\shell\config","MUIVerb","@shell32.dll,-10209"
reg_add,0x1,"%reg%\Classes\scrfile\shell\config\command","","""%1"""
reg_add,0x1,"%reg%\Classes\scrfile\shell\install","","&Install"
reg_add,0x1,"%reg%\Classes\scrfile\shell\install","MUIVerb","@shell32.dll,-10210"
reg_add,0x1,"%reg%\Classes\scrfile\shell\install\command","","rundll32.exe desk.cpl,InstallScreenSaver %l"
reg_add,0x1,"%reg%\Classes\scrfile\shell\open","","T&est"
reg_add,0x1,"%reg%\Classes\scrfile\shell\open\command","","""%1"" /S"
reg_add,0x1,"%reg%\Classes\scrfile\shellex\DropHandler","","{86C86720-42A0-1069-A2E8-08002B30309D}"
reg_add,0x4,"%reg%\Microsoft\Windows\CurrentVersion\Control Panel\Cpls\desk.cpl","RunLevel","0"
reg_add,0x1,"%reg%\Microsoft\Windows\CurrentVersion\Control Panel\don't load","desk.cpl",""
hive_unload,HKU
Add_Shortcut,StartMenu,System,#$pSystemRoot#$p\System32\Starfield.scr,%ProgramTitle%

[File1]
Starfield.scr=7Kb,9Kb

[EncodedFile-File1-Starfield.scr]
lines=2
[encoded data, 9949 characters]

[File2]
control.ini=118bytes,158bytes

[EncodedFile-File2-control.ini]
lines=0
0=W1NjcmVlbiBTYXZlci5TdGFyc10NCkRlbnNpdHk9MTA1DQpXYXJwU3BlZWQ9Ng0KeJzjTs7PKynKz9HLzMtkGAUjDhgQkJ8UNWsqIwMAly0Gx4ftdmEBAAAAAgAAACIAAAAwAAAAAAAAAAEAAAAAAAAAAAAAAA

