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

  1. [Main]
  2. Title=Windows Vista Recovery Environment
  3. Author=martinr, NightMan, Markus Debus
  4. Level=3
  5. Version=14
  6. Description=Windows Recovery Environment provides two main functionalities: automatic diagnosis and repair of boot problems using a tool called Startup Repair, and a centralized platform for advanced recovery tools. Requires Vista DVD as source, not the WAIK, and Common DLLs script.
  7. Locked=false
  8. Contact=http://blogs.msdn.com/winre/
  9. Selected=False
  10. Download_Level=1
  11. Mandatory=False
  12. Credits=Nightman, Nuno Brito, Peter Schlang and all the rest from www.boot-land.net
  13.  
  14. [Variables]
  15. %ProgramTitle%=%TextBox_Name%
  16. %ProgramEXE%=RecEnv.exe
  17. %ProgramFolder%=WinRE
  18.  
  19. [Process]
  20. Echo,Processing %ProgramTitle%...
  21. ReadENV
  22. #IniRead,%VistaInfo%,"VistaInfo","SourceType","%SourceType%"
  23. If,"%SourceType%",NotEqual,"VistaCD",Exit,"Requires Windows Vista installfiles/Server2008 or DVD..."
  24. IniRead,"%basedir%\Projects\%ProjectName%\Addons\dll.script","Main","Selected","%CommonFiles%"
  25. If,"%CommonFiles%",NotEqual,"True",begin
  26. Message,"The Common DLL Files script must be selected to use WinRE script"
  27. Exit,"The Common DLL Files script must be selected to use WinRE script"
  28. end
  29. RunfromRAM,True
  30. DirMake,"%Target_Prog%\%ProgramFolder%"
  31. DirMake,"%Target_Prog%\%ProgramFolder%\%DistLang%"
  32. If,ExistFile,"%BootSRC%\sources\recovery\%DistLang%\PssWiz.exe.mui",FileCopy,"%BootSRC%\sources\recovery\%DistLang%\PssWiz.exe.mui","%Target_Prog%\%ProgramFolder%\%DistLang%\PssWiz.exe.mui"
  33. If,ExistFile,"%BootSRC%\sources\recovery\%DistLang%\RecEnv.exe.mui",FileCopy,"%BootSRC%\sources\recovery\%DistLang%\RecEnv.exe.mui","%Target_Prog%\%ProgramFolder%\%DistLang%\RecEnv.exe.mui"
  34. If,ExistFile,"%BootSRC%\sources\recovery\%DistLang%\StartRep.exe.mui",FileCopy,"%BootSRC%\sources\recovery\%DistLang%\StartRep.exe.mui","%Target_Prog%\%ProgramFolder%\%DistLang%\StartRep.exe.mui"
  35. If,ExistFile,"%BootSRC%\sources\recovery\en-US\PssWiz.exe.mui",FileCopy,"%BootSRC%\sources\recovery\en-US\PssWiz.exe.mui","%Target_Prog%\%ProgramFolder%\%DistLang%\PssWiz.exe.mui"
  36. If,ExistFile,"%BootSRC%\sources\recovery\en-US\RecEnv.exe.mui",FileCopy,"%BootSRC%\sources\recovery\en-US\RecEnv.exe.mui","%Target_Prog%\%ProgramFolder%\%DistLang%\RecEnv.exe.mui"
  37. If,ExistFile,"%BootSRC%\sources\recovery\en-US\StartRep.exe.mui",FileCopy,"%BootSRC%\sources\recovery\en-US\StartRep.exe.mui","%Target_Prog%\%ProgramFolder%\%DistLang%\StartRep.exe.mui"
  38. If,ExistFile,"%BootSRC%\sources\recovery\PssWiz.exe",FileCopy,"%BootSRC%\sources\recovery\PssWiz.exe","%Target_Prog%\%ProgramFolder%\PssWiz.exe"
  39. If,ExistFile,"%BootSRC%\sources\recovery\RecEnv.exe",FileCopy,"%BootSRC%\sources\recovery\RecEnv.exe","%Target_Prog%\%ProgramFolder%\RecEnv.exe"
  40. If,ExistFile,"%BootSRC%\sources\recovery\StartRep.exe",FileCopy,"%BootSRC%\sources\recovery\StartRep.exe","%Target_Prog%\%ProgramFolder%\StartRep.exe"
  41. If,ExistFile,"%BootSRC%\Windows\System32\%DistLang%\bmrui.exe.mui",FileCopy,"%BootSRC%\Windows\System32\%DistLang%\bmrui.exe.mui","%Target_Prog%\%ProgramFolder%\%DistLang%\bmrui.exe.mui"
  42. If,ExistFile,"%BootSRC%\Windows\System32\%DistLang%\rstrui.exe.mui",FileCopy,"%BootSRC%\Windows\System32\%DistLang%\rstrui.exe.mui","%Target_Prog%\%ProgramFolder%\%DistLang%\rstrui.exe.mui"
  43. If,ExistFile,"%BootSRC%\windows\System32\bmrui.exe",FileCopy,"%BootSRC%\windows\System32\bmrui.exe","%TargetDir%\windows\System32\bmrui.exe"
  44. If,ExistFile,"%BootSRC%\windows\System32\rstrui.exe",FileCopy,"%BootSRC%\windows\System32\bmrui.exe","%TargetDir%\windows\System32\rstrui.exe"
  45. If,ExistFile,"%BootSRC%\Windows\System32\en-US\bmrui.exe.mui",FileCopy,"%BootSRC%\Windows\System32\en-US\bmrui.exe.mui","%Target_Prog%\%ProgramFolder%\%DistLang%\bmrui.exe.mui"
  46. If,ExistFile,"%BootSRC%\Windows\System32\en-US\rstrui.exe.mui",FileCopy,"%BootSRC%\Windows\System32\en-US\rstrui.exe.mui","%Target_Prog%\%ProgramFolder%\%DistLang%\rstrui.exe.mui"
  47. Require_File,rstrui.exe
  48. Require_File,mdsched.exe
  49. Require_File,dbgeng.dll
  50. Require_File,dbghelp.dll
  51. #added for completepc restore to work
  52. Require_File,recdisc.exe
  53. Require_File,recover.exe
  54. Require_File,sdspres.dll
  55. Require_File,wbadmin.exe
  56. Require_File,wbengine.exe
  57. Require_File,wdscapture.exe
  58. Require_File,wdscapture.inf
  59. Require_File,wdscsl.dll
  60. Require_File,wdsimage.dll
  61. Require_File,wdstptc.dll
  62. Echo,Creating %ProgramTitle% Shortcuts...
  63. If,%CheckBox_SM%,Equal,True,Add_Shortcut,StartMenu,"%TextBox_Menu%","%PE_Programs%\%ProgramFolder%\RecEnv.exe","%TextBox_Name%"
  64. If,%CheckBox_DE%,Equal,True,Add_Shortcut,Desktop,,"%PE_Programs%\%ProgramFolder%\RecEnv.exe","%TextBox_Name%"
  65.  
  66. [Interface]
  67. TextLabel_Shortcut="Create shortcuts named",1,1,27,17,117,18,8,Normal
  68. CheckBox_SM="Start Menu, in folder",1,3,66,53,129,18,True
  69. CheckBox_DE=DeskTop,1,3,66,79,96,18,False
  70. TextBox_Name=" ",1,0,147,16,147,21,"Vista Recovery Environment"
  71. TextBox_Menu=,1,0,187,51,138,21,Recovery
  72. pTextLabel2=in:,1,1,297,15,230,19,8,Normal
  73.  
  74. [EncodedFile-AuthorEncoded-RecoveryEnvironment.gif]
  75. lines=1
  76. 0=eJwVlmk4lIsbxt/3ndXMmNUaatCEOJqDmLQNWYZUU5a0z1DinNTYIqnGZI1qitByNKSIk0aOFkljzW7sk3PUiOw0aCYq/PvfH57r+XB/eu7rd1+Pq5sLYxPXB/ABvgFAZmbmwMAA8u4r2+GvZWVlSqXSTHinpaXl76ZWh5Gvi4uLrBcNoZOqVRm55JRMo8Azk5OTd6bmOzo6FIrZM0/L7LpHomRDXV1dRZNP7ArLRpULOgU1xOh447w3tIKqnp6e+vp63TNRHmPKgICAB/OLU1NTQRMqwX+fuRPK3t7eExNK538nz0VF7e8akslkV6dVcQLB4XFlSUmJ1o2/NEUVVwbHeSlX3V1dsucWgydVMzMz+rkVbqPK+oWfNqVNv5Q0rfIeU7LHlK9fvz7X86G2trahoSFtZObGjGpkZKSqqsqyvv/AuLK6ulowpYqbViW0Dbx9+7a/vz/v4cPBwcELU6rx8fGiwsL0GdW6ii7jksZzU6qexSWn0reG9wrq598x7uYNDw9//Pgx7XVl2Kfpf3t7N7u4VlRUeDX27339LqJBpvixdFvxDZ+Unv/vSOPQ5zt9Q2ZH/A5WNbslX3ePiH758qVznWy/t7f5g+L7b6vVY1NtX3dUd3Z75RYS7lc8KHvxj/L7rr8e/qX4FroUeaKxc0AmszhwJElcemB4Nqi5t+vLVzef/UE13d2jE2faZOZR/LOTqpuzi53tbd+WluX//VtVWdXW1PR2am5Hm7x8aPJ80dNHM8rMcUVvZ4f9rj3jMzPLP3/OTU/5tQ4Mf/pktc+blVM4pJhj797VVF8vmPx69fN0Q2urdXGdw9at3Hpp5es3nVLpk/lF3uB0xMhsjmLh5/Lysdo2WXd34qSytbV1ZWUl6PPs0+LiHQ5Mfw7n58+l9vb25eXltra2paWlnz9/riwvf//+Y2lpefmXdW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