home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / winbuilder.7z / Projects / VistaPE-Core / Addons / cpl.script < prev    next >
INI File  |  2008-10-12  |  2KB  |  38 lines

  1. [Main]
  2. Title=Support for running *.cpl files
  3. Author=Max_Real Qnx, NightMan,Markus Debus
  4. Level=3
  5. Version=12
  6. Description=
  7. Locked=false
  8. Date=12.10.2007
  9. Selected=True
  10. Download_Level=1
  11.  
  12. [Process]
  13. ReadEnv
  14. #IniRead,%VistaInfo%,"VistaInfo","SourceType","%SourceType%"
  15. If,"%SourceType%",NotEqual,"VistaCD",Exit,"Requires Windows Vista installfiles or DVD..."
  16. Echo,Processing Control Panel Item For VPE...
  17. Require_File,"control.exe"
  18. Require_File,"Query.dll"
  19. Require_File,"query.exe"
  20. Require_File,"quser.exe"
  21. RegHiveLoad,WB-Software,%RegSoftware%
  22. RegWrite,HKLM,0x1,"WB-Software\Classes\.cpl","","cplfile"
  23. RegWrite,HKLM,0x1,"WB-Software\Classes\.cpl","Generic","system"
  24. RegWrite,HKLM,0x1,"WB-Software\Classes\.cpl\PersistentHandler","","{098f2470-bae0-11cd-b579-08002b30bfeb}"
  25. RegWrite,HKLM,0x1,"WB-Software\Classes\cplfile","","Control Panel Item"
  26. RegWrite,HKLM,0x1,"WB-Software\Classes\cplfile","FriendlyTypeName","@shell32.dll,-10155"
  27. RegWrite,HKLM,0x1,"WB-Software\Classes\cplfile\shell\cplopen","","Open with Control Panel"
  28. RegWrite,HKLM,0x1,"WB-Software\Classes\cplfile\shell\cplopen","MUIVerb","@shell32.dll,-10208"
  29. RegWrite,HKLM,0x2,"WB-Software\Classes\cplfile\shell\cplopen\command","","%SystemRoot%\System32\control.exe #$p1"
  30. RegWrite,HKLM,0x2,"WB-Software\Classes\cplfile\shell\runas\command","","%SystemRoot%\System32\rundll32.exe shell32.dll,Control_RunDLLAsUser #$p1"
  31. RegWrite,HKLM,0x1,"WB-Software\Classes\CLSID\{098f2470-bae0-11cd-b579-08002b30bfeb}","","Null persistent handler"
  32. RegWrite,HKLM,0x1,"WB-Software\Classes\CLSID\{098f2470-bae0-11cd-b579-08002b30bfeb}\PersistentAddinsRegistered\{89BCB740-6119-101A-BCB7-00DD010655AF}","","{c3278e90-bea7-11cd-b579-08002b30bfeb}"
  33. RegWrite,HKLM,0x1,"WB-Software\Classes\CLSID\{c3278e90-bea7-11cd-b579-08002b30bfeb}","","Null filter"
  34. RegWrite,HKLM,0x2,"WB-Software\Classes\CLSID\{c3278e90-bea7-11cd-b579-08002b30bfeb}\InprocServer32","","%systemroot%\system32\query.dll"
  35. RegWrite,HKLM,0x1,"WB-Software\Classes\CLSID\{c3278e90-bea7-11cd-b579-08002b30bfeb}\InprocServer32","ThreadingModel","Both"
  36. RegHiveUnLoad,WB-Software
  37.  
  38.