[main] Title=Empty Hive Description=This script will create an empty registry hive and fill with user defined data Author=Peter Schlang Level=20 contact=http://BootLand.pt.vu Selected=False Credits=To Microsoft Corporation, wich originally created the registry hives used in windows NT and PE systems. Version=6 Locked=True Date=2007-Jan-19 17:25:19 Upload=2007-Sep-18 15:00:11 Download_Level=0 [copy-Boot] Echo,"Copying boot loader ..." ExtractAllFilesIfNotExist,"%EmptyHive%","Boot","#1" [Comment] // #1=target hive name // #2=.reg file // #3=workhive // #4=target hive directory [create-Blank] Echo,"Creating a new #1 hive.." If,#1,Equal,sam,Run,%EmptyHive%,create-Blank-sub,#1,#2,#3,%target_sys%\config If,#1,Equal,security,Run,%EmptyHive%,create-Blank-sub,#1,#2,#3,%target_sys%\config If,#1,Equal,default,Run,%EmptyHive%,create-Blank-sub,#1,#2,#3,%target_sys%\config If,#1,Equal,software,Run,%EmptyHive%,create-Blank-sub,#1,#2,#3,%target_sys%\config If,#1,Equal,system,Run,%EmptyHive%,create-Blank-sub,#1,#2,#3,%target_sys%\config If,#1,Equal,setupreg.hiv,Run,%EmptyHive%,create-Blank-sub,#1,#2,#3,%target_sys% [create-Blank-sub] ExtractFile,"%EmptyHive%","PSC","template.hiv",#4 If,ExistFile,"#4\#1",FileDelete,"#4\#1" FileRename,"#4\template.hiv","#4\#1" If,NotExistFile,#4\#1,Exit,"File [#4\#1] was not found!" [process-runhive] ExtractFile,%ScriptFile%,Hives,#2,%ProjectTemp% if,NotExistFile,%ProjectTemp%\#2,exit,"#2 was not found!" Run,%EmptyHive%,create-Blank,#1,#2,#3,#4 RegHiveLoad,"#3","#4\#1" ShellExecute,"hide","regedit.exe","/s #$q%ProjectTemp%\#2#$q" RegHiveUnLoad,"#3" FileDelete,"%ProjectTemp%\#2" [EncodedFolders] PSC [Interface] pTextLabel1="This script cannot been run inside a project, even it is checked for run.",1,1,12,52,453,36,9,Bold [EncodedFile-PSC-template.hiv] lines=0 0=eJzt2LEOwVAUBuDT0g4GRAi2itVkMRp4AA9gkCZti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