Advertisement
n7siha

ThaneMOD v1.0A script WIP

Jan 11th, 2014
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; Script generated by the HM NIS Edit Script Wizard.
  2.  
  3. ;============================================================================
  4. ; Variable Reference
  5. ; $0 - multipurpose temp variable
  6. ; $1 - install status: 1=success, 0=fail
  7. ; $2 - installer version
  8.  
  9. ;============================================================================
  10. ; HM NIS Edit Wizard helper defines
  11. !define PRODUCT_NAME "ThaneMOD"
  12. !define PRODUCT_VERSION "1.0A"
  13. !define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
  14. !define PRODUCT_UNINST_ROOT_KEY "HKLM"
  15.  
  16. ;=============================================================================
  17. ;Include
  18.  
  19. ; MUI 1.67 compatible
  20. !include "MUI.nsh"
  21.  
  22. ;InstallOptions for Custom Page
  23. !include "InstallOptions.nsh"
  24.  
  25. ; allow If/Then/Else functionality
  26. !include "LogicLib.nsh"
  27.  
  28. ;===============================================================================
  29. ; MUI Configuration
  30.  
  31. !define MUI_ABORTWARNING
  32. !define MUI_HEADERIMAGE
  33. !define MUI_WELCOMEPAGE_TITLE_3LINES
  34. !define MUI_ICON "..\graphics_docs\icon_v1.ico"
  35. !define MUI_UNICON "..\graphics_docs\icon_v1.ico"
  36. !define MUI_HEADERIMAGE_BITMAP "..\graphics_docs\header_v1.bmp"
  37. !define MUI_HEADERIMAGE_UNBITMAP "..\graphics_docs\header_v1.bmp"
  38. !define MUI_WELCOMEFINISHPAGE_BITMAP "..\graphics_docs\welcomefinish_v1.bmp"
  39. !define MUI_UNWELCOMEFINISHPAGE_BITMAP "..\graphics_docs\welcomefinish_v1.bmp"
  40. !define MUI_WELCOMEPAGE_TITLE "Welcome to the ThaneMOD v1.0A Install Wizard!"
  41. !define MUI_WELCOMEPAGE_TEXT "This wizard will guide you through the installation of ThaneMOD.\r\n\r\nBefore proceeding, please open the Installation Guide that came with your download. ThaneMOD is not difficult to install, but process has multiple steps and the procedure will vary by version and user.\r\n\r\nPay special attention to the information on the following pages. It contains important details you should know PRIOR to installing the mod.\r\n\r\nPlease click Next to continue."
  42. !define MUI_DIRECTORYPAGE_TEXT_TOP "Please verify the installer has correctly detected your Mass Effect 3 installation folder. If the location below is incorrect, please change it manually. Click Install when ready."
  43. !define MUI_LICENSEPAGE_TEXT_TOP  "Please scroll down to read the entire agreement."
  44. !define MUI_LICENSEPAGE_CHECKBOX_TEXT "WAIT! Have you read the information above? If not, Thane disapproves. Boo."
  45. !define MUI_COMPONENTSPAGE_TEXT_TOP "ThaneMOD v1.0A contains the items listed below. See the Install Guide and website for more detailed information. Click Next when finished."
  46. !define MUI_COMPONENTSPAGE_TEXT_COMPLIST "Select components to install. Gray items are required. See the adjacent Descriptions for more details."
  47. !define MUI_FINISHPAGE_TITLE "Installation Successful!"
  48. !define MUI_FINISHPAGE_TEXT "You have now completed STEP 3 in the ThaneMOD v1.0A Installation Process.\r\n\r\nRefer to the Installation Guide for your next step. Click Finish to close this window."
  49. !define MUI_FINISHPAGE_SHOWREADME_TEXT "Important -- you aren't done yet! View Readme PDF."
  50.  
  51. ;============================================================================================
  52. ;Pages
  53.  
  54. !insertmacro MUI_PAGE_WELCOME
  55. ;Page custom TexturesPage
  56. !define MUI_LICENSEPAGE_CHECKBOX
  57. !insertmacro MUI_PAGE_LICENSE "..\graphics_docs\license_agreement_v1.rtf"
  58. !insertmacro MUI_PAGE_COMPONENTS
  59. !insertmacro MUI_PAGE_DIRECTORY
  60. !insertmacro MUI_PAGE_INSTFILES
  61. Page custom CreditsPage
  62. !define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\BIOGame\START_HERE _ThaneMOD_Install_Guide.pdf"
  63. !insertmacro MUI_UNPAGE_WELCOME
  64. !insertmacro MUI_UNPAGE_CONFIRM
  65. !insertmacro MUI_PAGE_FINISH
  66. !insertmacro MUI_UNPAGE_INSTFILES
  67.  
  68. ;==============================================================================
  69. ;Languages
  70.  
  71. !insertmacro MUI_LANGUAGE "English"
  72.  
  73. ;==============================================================================
  74. ;Descriptions
  75.  
  76. ; Language Strings
  77. ;LangString TEXTURESPAGE_TITLE ${LANG_ENGLISH} "Important Notice Below"
  78. ;LangString TEXTURESPAGE_SUBTITLE ${LANG_ENGLISH} "Please read and respond accordingly before continuing with installation of ThaneMOD."
  79. LangString CREDITSPAGE_TITLE ${LANG_ENGLISH} "Credits"
  80. LangString CREDITSPAGE_SUBTITLE ${LANG_ENGLISH} "ThaneMOD v1.0 is brought to you by the people below."
  81.  
  82. ;==============================================================================
  83. ;Page Functions
  84.  
  85. ;Textures Page Settings
  86. ;Function TexturesPage
  87.   ;ReserveFile "..\Installer Testing\textures.ini"
  88.   ;!insertmacro MUI_INSTALLOPTIONS_EXTRACT_AS "..\Installer Testing\textures.ini" "textures"
  89.   ;!insertmacro MUI_HEADER_TEXT $(TEXTURESPAGE_TITLE) $(TEXTURESPAGE_SUBTITLE)
  90.   ;!insertmacro MUI_INSTALLOPTIONS_WRITE "textures" "Field 1" "Text" "..\graphics_docs\stop.bmp"
  91.   ;!insertmacro MUI_INSTALLOPTIONS_DISPLAY "textures"
  92. ;FunctionEnd
  93.  
  94. ;Credits Page Settings
  95. Function CreditsPage
  96.   ReserveFile "..\Installer Testing\credits.ini"
  97.   !insertmacro MUI_INSTALLOPTIONS_EXTRACT_AS "..\Installer Testing\credits.ini" "credits"
  98.   !insertmacro MUI_HEADER_TEXT $(CREDITSPAGE_TITLE) $(CREDITSPAGE_SUBTITLE)
  99.   !insertmacro MUI_INSTALLOPTIONS_DISPLAY "credits"
  100. FunctionEnd
  101.  
  102. ;======================================================================================
  103. ;Installation Parameters
  104.  
  105. Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
  106. OutFile "ThaneMOD_v1A.exe"
  107. InstallDir "$PROGRAMFILES"
  108. InstallDirRegKey HKLM "Software\BioWare\Mass Effect 3" "Install Dir"
  109. ShowInstDetails show
  110. ShowUnInstDetails show
  111.  
  112. Section "Core Module for EC" SEC01
  113.   SectionIn RO
  114.   SetOutPath "$INSTDIR\BIOGame\CookedPCConsole"
  115.   SetOverwrite on
  116.  
  117.   IfFileExists "$INSTDIR\BIOGame\CookedPCConsole\Conditionals.cnd" +2 0
  118.         Rename "$INSTDIR\BIOGame\CookedPCConsole\Conditionals.cnd" "$INSTDIR\BIOGame\CookedPCConsole\Conditionals.cnd.bu2"
  119.   File "Conditionals.cnd"
  120.  
  121.   IfFileExists "$INSTDIR\BIOGame\CookedPCConsole\BioD_ProMar_750Finale.pcc" +2 0
  122.         Rename "$INSTDIR\BIOGame\CookedPCConsole\BioD_ProMar_750Finale.pcc" "$INSTDIR\BIOGame\CookedPCConsole\BioD_ProMar_750Finale.pcc.bu2"
  123.   File "BioD_ProMar_750Finale.pcc"
  124.  
  125.   IfFileExists "$INSTDIR\BIOGame\CookedPCConsole\BioD_Nor_204Kro002_Debrief3_LOC_INT.pcc" +2 0
  126.         Rename "$INSTDIR\BIOGame\CookedPCConsole\BioD_Nor_204Kro002_Debrief3_LOC_INT.pcc" "$INSTDIR\BIOGame\CookedPCConsole\BioD_Nor_204Kro002_Debrief3_LOC_INT.pcc.bu2"
  127.   File "BioD_Nor_204Kro002_Debrief3_LOC_INT.pcc"
  128.  
  129.   IfFileExists "$INSTDIR\BIOGame\CookedPCConsole\BioD_Nor_001Global.pcc" +2 0
  130.         Rename "$INSTDIR\BIOGame\CookedPCConsole\BioD_Nor_001Global.pcc" "$INSTDIR\BIOGame\CookedPCConsole\BioD_Nor_001Global.pcc.bu2"
  131.   File "BioD_Nor_001Global.pcc"
  132.  
  133.   IfFileExists "$INSTDIR\BIOGame\CookedPCConsole\BioD_Kro001_100LandingArea.pcc" +2 0
  134.         Rename "$INSTDIR\BIOGame\CookedPCConsole\BioD_Kro001_100LandingArea.pcc" "$INSTDIR\BIOGame\CookedPCConsole\BioD_Kro001_100LandingArea.pcc.bu2"
  135.   File "BioD_Kro001_100LandingArea.pcc"
  136.  
  137.   IfFileExists "$INSTDIR\BIOGame\CookedPCConsole\BioD_CitHub_HospitalP3.pcc" +2 0
  138.         Rename "$INSTDIR\BIOGame\CookedPCConsole\BioD_CitHub_HospitalP3.pcc" "$INSTDIR\BIOGame\CookedPCConsole\BioD_CitHub_HospitalP3.pcc.bu2"
  139.   File "BioD_CitHub_HospitalP3.pcc"
  140.  
  141.   IfFileExists "$INSTDIR\BIOGame\CookedPCConsole\BioD_Cat003_380DesksConvos_LOC_INT.pcc" +2 0
  142.         Rename "$INSTDIR\BIOGame\CookedPCConsole\BioD_Cat003_380DesksConvos_LOC_INT.pcc" "$INSTDIR\BIOGame\CookedPCConsole\BioD_Cat003_380DesksConvos_LOC_INT.pcc.bu2"
  143.   File "BioD_Cat003_380DesksConvos_LOC_INT.pcc"
  144.  
  145.   IfFileExists "$INSTDIR\BIOGame\CookedPCConsole\BioD_Cat003_380DesksConvos.pcc" +2 0
  146.         Rename "$INSTDIR\BIOGame\CookedPCConsole\BioD_Cat003_380DesksConvos.pcc" "$INSTDIR\BIOGame\CookedPCConsole\BioD_Cat003_380DesksConvos.pcc.bu2"
  147.   File "BioD_Cat003_380DesksConvos.pcc"
  148.  
  149.   IfFileExists "$INSTDIR\BIOGame\CookedPCConsole\BioD_Cat003_180DocksCop_LOC_INT.pcc" +2 0
  150.         Rename "$INSTDIR\BIOGame\CookedPCConsole\BioD_Cat003_180DocksCop_LOC_INT.pcc" "$INSTDIR\BIOGame\CookedPCConsole\BioD_Cat003_180DocksCop_LOC_INT.pcc.bu2"
  151.   File "BioD_Cat003_180DocksCop_LOC_INT.pcc"
  152.  
  153.   IfFileExists "$INSTDIR\BIOGame\CookedPCConsole\BioD_Cat003_000LevelTrans_LOC_INT.pcc" +2 0
  154.         Rename "$INSTDIR\BIOGame\CookedPCConsole\BioD_Cat003_000LevelTrans_LOC_INT.pcc" "$INSTDIR\BIOGame\CookedPCConsole\BioD_Cat003_000LevelTrans_LOC_INT.pcc.bu2"
  155.   File "BioD_Cat003_000LevelTrans_LOC_INT.pcc"
  156.  
  157.   SetOutPath "$INSTDIR\BIOGame\Movies"
  158.  
  159.   IfFileExists "$INSTDIR\BIOGame\Movies\ProMar_Smls_Load.bik" +2 0
  160.         Rename "$INSTDIR\BIOGame\Movies\ProMar_Smls_Load.bik" "$INSTDIR\BIOGame\Movies\ProMar_Smls_Load.bik.bu2"
  161.   File "ProMar_Smls_Load.bik"
  162.  
  163.   IfFileExists "$INSTDIR\BIOGame\Movies\load_f01.bik" +2 0
  164.         Rename "$INSTDIR\BIOGame\Movies\load_f01.bik" "$INSTDIR\BIOGame\Movies\load_f01.bik.bu2"
  165.   File "load_f01.bik"
  166.  
  167.   IfFileExists "$INSTDIR\BIOGame\Movies\AdvCombat3_PC.bik" +2 0
  168.         Rename "$INSTDIR\BIOGame\Movies\AdvCombat3_PC.bik" "$INSTDIR\BIOGame\Movies\AdvCombat3_PC.bik.bu2"
  169.   File "AdvCombat3_PC.bik"
  170.  
  171.   IfFileExists "$INSTDIR\BIOGame\Movies\AdvCombat2_PC.bik" +2 0
  172.         Rename "$INSTDIR\BIOGame\Movies\AdvCombat2_PC.bik" "$INSTDIR\BIOGame\Movies\AdvCombat2_PC.bik.bu2"
  173.   File "AdvCombat2_PC.bik"
  174.  
  175.   IfFileExists "$INSTDIR\BIOGame\Movies\AdvCombat1_PC.bik" +2 0
  176.         Rename "$INSTDIR\BIOGame\Movies\AdvCombat1_PC.bik" "$INSTDIR\BIOGame\Movies\AdvCombat1_PC.bik.bu2"
  177.   File "AdvCombat1_PC.bik"
  178.  
  179. SectionEnd
  180.  
  181. Section "50+ Saves" SEC02
  182.   SetOutPath "$INSTDIR\BIOGame\CookedPCConsole"
  183.   IfFileExists "$INSTDIR\BIOGame\CookedPCConsole\SFXGame.pcc" +2 0
  184.         Rename "$INSTDIR\BIOGame\CookedPCConsole\SFXGame.pcc" "$INSTDIR\BIOGame\CookedPCConsole\SFXGame.pcc.bu2"
  185.   File "SFXGame.pcc"
  186. SectionEnd
  187.  
  188. Section "Readme" SEC03
  189.   SectionIn RO
  190.   SetOutPath "$INSTDIR\BIOGame"
  191.   File "..\ThaneMOD_v1.0_Base\START_HERE _ThaneMOD_Install_Guide.pdf"
  192. SectionEnd
  193.  
  194. ;======================================================================================
  195. ; Writing to the registry
  196.  
  197. Section -Post
  198.   WriteUninstaller "$INSTDIR\BIOGame\UNINSTALL_ThaneMOD_v1A.exe"
  199.   WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"
  200.   WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\BIOGame\UNINSTALL_ThaneMOD_v1A.exe"
  201.   WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
  202. SectionEnd
  203.  
  204. ;======================================================================================
  205. ; Section descriptions, rollover text
  206.  
  207. !insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
  208.   !insertmacro MUI_DESCRIPTION_TEXT ${SEC01} "Requires the ME3 Extended Cut DLC. Simplest version of ThaneMOD. Thane is not present for the coup and returns in the epilogue, similar to other ME2 squadmates."
  209.   !insertmacro MUI_DESCRIPTION_TEXT ${SEC02} "Optional. Allows the player to have over 50 saves in a playthrough."
  210.   !insertmacro MUI_DESCRIPTION_TEXT ${SEC03} "Required. ThaneMOD Installation Guide...you should already have this open!"
  211. !insertmacro MUI_FUNCTION_DESCRIPTION_END
  212.  
  213. ;======================================================================================
  214. ; Install/Unisntall Functions
  215.  
  216. Function un.onUninstSuccess
  217.   HideWindow
  218.   MessageBox MB_ICONINFORMATION|MB_OK "$(^Name) was successfully removed from your computer."
  219. FunctionEnd
  220.  
  221. ;Function un.onInit
  222.  ; MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Are you sure you want to completely remove $(^Name) and all of its components?" IDYES +2
  223.  ; Abort
  224. ;FunctionEnd
  225.  
  226. ;======================================================================================
  227. ; Uninstallation
  228.  
  229. Section Uninstall
  230.  
  231.   IfFileExists "$INSTDIR\BIOGame\UNINSTALL_ThaneMOD_v1A.exe" 0 +2
  232.   Delete "$INSTDIR\BIOGame\UNINSTALL_ThaneMOD_v1A.exe"
  233.  
  234.   IfFileExists "$INSTDIR\BIOGame\START_HERE _ThaneMOD_Install_Guide.pdf" 0 +2
  235.   Delete "$INSTDIR\BIOGame\START_HERE _ThaneMOD_Install_Guide.pdf"
  236.  
  237.   IfFileExists "$INSTDIR\BIOGame\CookedPCConsole\SFXGame.pcc.bu2" 0 +2
  238.   Delete "$INSTDIR\BIOGame\CookedPCConsole\SFXGame.pcc"
  239.   Rename "$INSTDIR\BIOGame\CookedPCConsole\SFXGame.pcc.bu2" "$INSTDIR\BIOGame\CookedPCConsole\SFXGame.pcc"
  240.  
  241.   IfFileExists "$INSTDIR\BIOGame\Movies\AdvCombat1_PC.bik.bu2" 0 +2
  242.   Delete "$INSTDIR\BIOGame\Movies\AdvCombat1_PC.bik"
  243.   Rename "$INSTDIR\BIOGame\Movies\AdvCombat1_PC.bik.bu2" "$INSTDIR\BIOGame\Movies\AdvCombat1_PC.bik"
  244.  
  245.   IfFileExists "$INSTDIR\BIOGame\Movies\AdvCombat2_PC.bik.bu2" 0 +2
  246.   Delete "$INSTDIR\BIOGame\Movies\AdvCombat2_PC.bik"
  247.   Rename "$INSTDIR\BIOGame\Movies\AdvCombat2_PC.bik.bu2" "$INSTDIR\BIOGame\Movies\AdvCombat2_PC.bik"
  248.  
  249.   IfFileExists "$INSTDIR\BIOGame\Movies\AdvCombat3_PC.bik.bu2" 0 +2
  250.   Delete "$INSTDIR\BIOGame\Movies\AdvCombat3_PC.bik"
  251.   Rename "$INSTDIR\BIOGame\Movies\AdvCombat3_PC.bik.bu2" "$INSTDIR\BIOGame\Movies\AdvCombat3_PC.bik"
  252.  
  253.   IfFileExists "$INSTDIR\BIOGame\Movies\load_f01.bik.bu2" 0 +2
  254.   Delete "$INSTDIR\BIOGame\Movies\load_f01.bik"
  255.   Rename "$INSTDIR\BIOGame\Movies\load_f01.bik.bu2" "$INSTDIR\BIOGame\Movies\load_f01.bik"
  256.  
  257.   IfFileExists "$INSTDIR\BIOGame\Movies\ProMar_Smls_Load.bik.bu2" 0 +2
  258.   Delete "$INSTDIR\BIOGame\Movies\ProMar_Smls_Load.bik"
  259.   Rename "$INSTDIR\BIOGame\Movies\ProMar_Smls_Load.bik.bu2" "$INSTDIR\BIOGame\Movies\ProMar_Smls_Load.bik"
  260.  
  261.   IfFileExists "$INSTDIR\BIOGame\CookedPCConsole\BioD_Cat003_000LevelTrans_LOC_INT.pcc.bu2" 0 +2
  262.   Delete "$INSTDIR\BIOGame\CookedPCConsole\BioD_Cat003_000LevelTrans_LOC_INT.pcc"
  263.   Rename "$INSTDIR\BIOGame\CookedPCConsole\BioD_Cat003_000LevelTrans_LOC_INT.pcc.bu2" "$INSTDIR\BIOGame\CookedPCConsole\BioD_Cat003_000LevelTrans_LOC_INT.pcc"
  264.  
  265.   IfFileExists "$INSTDIR\BIOGame\CookedPCConsole\BioD_Cat003_180DocksCop_LOC_INT.pcc.bu2" 0 +2
  266.   Delete "$INSTDIR\BIOGame\CookedPCConsole\BioD_Cat003_180DocksCop_LOC_INT.pcc"
  267.   Rename "$INSTDIR\BIOGame\CookedPCConsole\BioD_Cat003_180DocksCop_LOC_INT.pcc.bu2" "$INSTDIR\BIOGame\CookedPCConsole\BioD_Cat003_180DocksCop_LOC_INT.pcc"
  268.  
  269.   IfFileExists "$INSTDIR\BIOGame\CookedPCConsole\BioD_Cat003_380DesksConvos.pcc.bu2" 0 +2
  270.   Delete "$INSTDIR\BIOGame\CookedPCConsole\BioD_Cat003_380DesksConvos.pcc"
  271.   Rename "$INSTDIR\BIOGame\CookedPCConsole\BioD_Cat003_380DesksConvos.pcc.bu2" "$INSTDIR\BIOGame\CookedPCConsole\BioD_Cat003_380DesksConvos.pcc"
  272.  
  273.   IfFileExists "$INSTDIR\BIOGame\CookedPCConsole\BioD_Cat003_380DesksConvos_LOC_INT.pcc.bu2" 0 +2
  274.   Delete "$INSTDIR\BIOGame\CookedPCConsole\BioD_Cat003_380DesksConvos_LOC_INT.pcc"
  275.   Rename "$INSTDIR\BIOGame\CookedPCConsole\BioD_Cat003_380DesksConvos_LOC_INT.pcc.bu2" "$INSTDIR\BIOGame\CookedPCConsole\BioD_Cat003_380DesksConvos_LOC_INT.pcc"
  276.  
  277.   IfFileExists "$INSTDIR\BIOGame\CookedPCConsole\BioD_CitHub_HospitalP3.pcc.bu2" 0 +2
  278.   Delete "$INSTDIR\BIOGame\CookedPCConsole\BioD_CitHub_HospitalP3.pcc"
  279.   Rename "$INSTDIR\BIOGame\CookedPCConsole\BioD_CitHub_HospitalP3.pcc.bu2" "$INSTDIR\BIOGame\CookedPCConsole\BioD_CitHub_HospitalP3.pcc"
  280.  
  281.   IfFileExists "$INSTDIR\BIOGame\CookedPCConsole\BioD_Kro001_100LandingArea.pcc.bu2" 0 +2
  282.   Delete "$INSTDIR\BIOGame\CookedPCConsole\BioD_Kro001_100LandingArea.pcc"
  283.   Rename "$INSTDIR\BIOGame\CookedPCConsole\BioD_Kro001_100LandingArea.pcc.bu2" "$INSTDIR\BIOGame\CookedPCConsole\BioD_Kro001_100LandingArea.pcc"
  284.  
  285.   IfFileExists "$INSTDIR\BIOGame\CookedPCConsole\BioD_Nor_001Global.pcc.bu2" 0 +2
  286.   Delete "$INSTDIR\BIOGame\CookedPCConsole\BioD_Nor_001Global.pcc"
  287.   Rename "$INSTDIR\BIOGame\CookedPCConsole\BioD_Nor_001Global.pcc.bu2" "$INSTDIR\BIOGame\CookedPCConsole\BioD_Nor_001Global.pcc"
  288.  
  289.   IfFileExists "$INSTDIR\BIOGame\CookedPCConsole\BioD_Nor_204Kro002_Debrief3_LOC_INT.pcc.bu2" 0 +2
  290.   Delete "$INSTDIR\BIOGame\CookedPCConsole\BioD_Nor_204Kro002_Debrief3_LOC_INT.pcc"
  291.   Rename "$INSTDIR\BIOGame\CookedPCConsole\BioD_Nor_204Kro002_Debrief3_LOC_INT.pcc.bu2" "$INSTDIR\BIOGame\CookedPCConsole\BioD_Nor_204Kro002_Debrief3_LOC_INT.pcc"
  292.  
  293.   IfFileExists "$INSTDIR\BIOGame\CookedPCConsole\BioD_ProMar_750Finale.pcc.bu2" 0 +2
  294.   Delete "$INSTDIR\BIOGame\CookedPCConsole\BioD_ProMar_750Finale.pcc"
  295.   Rename "$INSTDIR\BIOGame\CookedPCConsole\BioD_ProMar_750Finale.pcc.bu2" "$INSTDIR\BIOGame\CookedPCConsole\BioD_ProMar_750Finale.pcc"
  296.  
  297.   IfFileExists "$INSTDIR\BIOGame\CookedPCConsole\Conditionals.cnd.bu2" 0 +2
  298.   Delete "$INSTDIR\BIOGame\CookedPCConsole\Conditionals.cnd"
  299.   Rename "$INSTDIR\BIOGame\CookedPCConsole\Conditionals.cnd.bu2" "$INSTDIR\BIOGame\CookedPCConsole\Conditionals.cnd"
  300.  
  301.   DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
  302.   SetAutoClose true
  303. SectionEnd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement