[main] Title=vmCrypto Description=(PE1 only) Installs Crypto functionality needed by VMWare.Script Selected=False Level=5 Version=6 Author=Peter Schlang Credits= Date=2008-NOV-03 Download_Level=2 Contact=http://www.boot-land.net/forums/index.php?showforum=65 CertifiedBy=ServerCertified_L Certification=20790cb08b77c62baf5eac514e92adaf History004=Lancelot - made modelram fix [variables] %new%= %defapp%= %comapp%= [process] If,Not,ExistFile,%source_win%\TXTSETUP.SIF,Exit,"vmCrypro.script is only designed for PE 1 builds" //havent checked for PE1x64 yet //Arch,x86 Echo,"Creating some directories.." //IniRead,%ProjectInfo%,TargetPaths,Application_Data,%defapp% IniRead,%ProjectInfo%,TargetStrings,sDocuments_and_Settings,%DaSPath% IniRead,%ProjectInfo%,TargetStrings,sDefault_User,%UserPath% IniRead,%ProjectInfo%,TargetStrings,sApplication_Data,%ApplicationData% Set,%defapp%,%DaSPath%\%UserPath%\%ApplicationData% //%TargetDir% - replaced with %ModelRam% If,Not,ExistDir,%ModelRam%\%defapp%,DirMake,%ModelRam%\%defapp% Set,%new%,%defapp%\Microsoft If,Not,ExistDir,%ModelRam%\%new%,DirMake,%ModelRam%\%new% Set,%new%,%defapp%\Microsoft\SystemCertificates If,Not,ExistDir,%ModelRam%\%new%,DirMake,%ModelRam%\%new% Set,%new%,%defapp%\Microsoft\SystemCertificates\My If,Not,ExistDir,%ModelRam%\%new%,DirMake,%ModelRam%\%new% Set,%new%,%defapp%\Microsoft\SystemCertificates\My\CTLs If,Not,ExistDir,%ModelRam%\%new%,DirMake,%ModelRam%\%new% Set,%new%,%defapp%\Microsoft\SystemCertificates\My\CRLs If,Not,ExistDir,%ModelRam%\%new%,DirMake,%ModelRam%\%new% Set,%new%,%defapp%\Microsoft\SystemCertificates\My\Certificates If,Not,ExistDir,%ModelRam%\%new%,DirMake,%ModelRam%\%new% //IniRead,%ProjectInfo%,TargetPaths,All_Users,%allusr% IniRead,%ProjectInfo%,TargetStrings,sAll_Users,%AllUserPath% set,%allusr%,%DaSPath%\%AllUserPath% If,Not,ExistDir,%ModelRam%\%allusr%,DirMake,%ModelRam%\%allusr% //IniRead,%ProjectInfo%,TargetPaths,Common_Application_Data,%comapp% //Documents and Settings\All Users\Application Data set,%comapp%,%DaSPath%\%AllUserPath%\%ApplicationData% If,Not,ExistDir,%ModelRam%\%comapp%,DirMake,%ModelRam%\%comapp% Set,%new%,%comapp%\Microsoft If,Not,ExistDir,%ModelRam%\%new%,DirMake,%ModelRam%\%new% Set,%new%,%comapp%\Microsoft\Crypto If,Not,ExistDir,%ModelRam%\%new%,DirMake,%ModelRam%\%new% Set,%new%,%comapp%\Microsoft\Crypto\RSA If,Not,ExistDir,%ModelRam%\%new%,DirMake,%ModelRam%\%new% Set,%new%,%comapp%\Microsoft\Crypto\RSA\S-1-5-18 If,Not,ExistDir,%ModelRam%\%new%,DirMake,%ModelRam%\%new% Set,%new%,%comapp%\Microsoft\Crypto\RSA\MachineKeys If,Not,ExistDir,%ModelRam%\%new%,DirMake,%ModelRam%\%new% Echo,"Copying files.." If,Not,ExistFile,%target_sys%\certcli.dll,CopyOrExpand,%source_win%\certcli.dll,%target_sys% //If,Not,ExistFile,%target_sys%\certmgr.dll,CopyOrExpand,%source_win%\certmgr.dll,%target_sys% //If,Not,ExistFile,%target_sys%\certmgr.msc,CopyOrExpand,%source_win%\certmgr.msc,%target_sys% If,Not,ExistFile,%target_sys%\corpol.dll,CopyOrExpand,%source_win%\corpol.dll,%target_sys% If,Not,ExistFile,%target_sys%\crypt32.dll,CopyOrExpand,%source_win%\crypt32.dll,%target_sys% If,Not,ExistFile,%target_sys%\cryptdlg.dll,CopyOrExpand,%source_win%\cryptdlg.dll,%target_sys% If,Not,ExistFile,%target_sys%\cryptext.dll,CopyOrExpand,%source_win%\cryptext.dll,%target_sys% If,Not,ExistFile,%target_sys%\cryptnet.dll,CopyOrExpand,%source_win%\cryptnet.dll,%target_sys% If,Not,ExistFile,%target_sys%\cryptsvc.dll,CopyOrExpand,%source_win%\cryptsvc.dll,%target_sys% If,Not,ExistFile,%target_sys%\cryptui.dll,CopyOrExpand,%source_win%\cryptui.dll,%target_sys% If,Not,ExistFile,%target_sys%\csseqchk.dll,CopyOrExpand,%source_win%\csseqchk.dll,%target_sys% If,Not,ExistFile,%target_sys%\digest.dll,CopyOrExpand,%source_win%\digest.dll,%target_sys% If,Not,ExistFile,%target_sys%\dssenh.dll,CopyOrExpand,%source_win%\dssenh.dll,%target_sys% If,Not,ExistFile,%target_sys%\efsadu.dll,CopyOrExpand,%source_win%\efsadu.dll,%target_sys% If,Not,ExistFile,%target_sys%\gpkcsp.dll,CopyOrExpand,%source_win%\gpkcsp.dll,%target_sys% If,Not,ExistFile,%target_sys%\initpki.dll,CopyOrExpand,%source_win%\initpki.dll,%target_sys% If,Not,ExistFile,%target_sys%\ipsecsvc.dll,CopyOrExpand,%source_win%\ipsecsvc.dll,%target_sys% If,Not,ExistFile,%target_sys%\mscat32.dll,CopyOrExpand,%source_win%\mscat32.dll,%target_sys% If,Not,ExistFile,%target_sys%\msisip.dll,CopyOrExpand,%source_win%\msisip.dll,%target_sys% If,Not,ExistFile,%target_sys%\mssign32.dll,CopyOrExpand,%source_win%\mssign32.dll,%target_sys% If,Not,ExistFile,%target_sys%\mssip32.dll,CopyOrExpand,%source_win%\mssip32.dll,%target_sys% If,Not,ExistFile,%target_sys%\rsaenh.dll,CopyOrExpand,%source_win%\rsaenh.dll,%target_sys% If,Not,ExistFile,%target_sys%\schannel.dll,CopyOrExpand,%source_win%\schannel.dll,%target_sys% If,Not,ExistFile,%target_sys%\sensapi.dll,CopyOrExpand,%source_win%\sensapi.dll,%target_sys% If,Not,ExistFile,%target_sys%\slbcsp.dll,CopyOrExpand,%source_win%\slbcsp.dll,%target_sys% If,Not,ExistFile,%target_sys%\softpub.dll,CopyOrExpand,%source_win%\softpub.dll,%target_sys% If,Not,ExistFile,%target_sys%\wintrust.dll,CopyOrExpand,%source_win%\wintrust.dll,%target_sys% If,Not,ExistFile,%target_sys%\xenroll.dll,CopyOrExpand,%source_win%\xenroll.dll,%target_sys% // Echo,"Writing new values on registry hive.." Echo,"Loading registry hive: [%target_sys%\setupreg.hiv]" RegHiveLoad,WB-Setup,%target_sys%\setupreg.hiv RegWrite,HKLM,0x7,WB-Setup\ControlSet001\Services\CryptSvc,DependOnService,RpcSs RegWrite,HKLM,0x1,WB-Setup\ControlSet001\Services\CryptSvc,Description,"Provides three management services: Catalog Database Service, which confirms the signatures of Windows files; Protected Root Service, which adds and removes Trusted Root Certification Authority certificates from this computer; and Key Service, which helps enroll this computer for certificates. If this service is stopped, these management services will not function properly. If this service is disabled, any services that explicitly depend on it will fail to start." RegWrite,HKLM,0x1,WB-Setup\ControlSet001\Services\CryptSvc,DisplayName,"Cryptographic Services" RegWrite,HKLM,0x4,WB-Setup\ControlSet001\Services\CryptSvc,ErrorControl,1 RegWrite,HKLM,0x2,WB-Setup\ControlSet001\Services\CryptSvc,ImagePath,"System32\svchost.exe -k netsvcs" RegWrite,HKLM,0x1,WB-Setup\ControlSet001\Services\CryptSvc,ObjectName,LocalSystem RegWrite,HKLM,0x4,WB-Setup\ControlSet001\Services\CryptSvc,Start,2 RegWrite,HKLM,0x4,WB-Setup\ControlSet001\Services\CryptSvc,Type,32 RegWrite,HKLM,0x2,WB-Setup\ControlSet001\Services\CryptSvc\Parameters,ServiceDll,cryptsvc.dll RegWrite,HKLM,0x1,WB-Setup\ControlSet001\Services\CryptSvc\Parameters,ServiceMain,CryptServiceMain RegWrite,HKLM,0x3,WB-Setup\ControlSet001\Services\CryptSvc\Security,Security,00,00,0e,00,01 RegWrite,HKLM,0x1,WB-Setup\ControlSet001\Services\CryptSvc\Enum,0,Root\LEGACY_CRYPTSVC\0000 RegWrite,HKLM,0x4,WB-Setup\ControlSet001\Services\CryptSvc\Enum,Count,1 RegWrite,HKLM,0x1,WB-Setup\ControlSet001\Services\CryptSvc\Enum,NextInstance,0x1 RegHiveUnLoad,WB-Setup [AuthorEncoded] crypto.jpg=3Kb,4Kb Logo=crypto.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