Commit c79504ce authored by brabox's avatar brabox

Final launcher/installer

parent da6e40c6
......@@ -58,7 +58,7 @@ QString Release::applyRelease()
bool disabledproblematicFile = disableFile(todisable);
if(disabledproblematicFile == false )
errorMsg = QString("Could not disable file ") +todisable;
errorMsg = QString("Could not disable file ") + todisable + "\n\nTry running this launcher with administration rights.";
}
foreach (SwitchFile toswitch, switchFiles)
......
This diff is collapsed.
......@@ -6,7 +6,7 @@ Name "RotWK 2.02 version 7.0.0"
OutFile "202_v7_full.exe"
InstallDirRegKey HKLM "Software\Electronic Arts\Electronic Arts\The Lord of the Rings, The Rise of the Witch-king" InstallPath
SetCompressor /SOLID lzma
;SetCompressor /SOLID lzma
; Customization of the license page (so it says readme rather than license)
!define MUI_PAGE_HEADER_TEXT "Read Me"
......@@ -100,16 +100,6 @@ Section
SectionEnd
;;
; Music component
;;
Section "Additional music" secmusic
SetOutPath $INSTDIR
delete "$INSTDIR\!vanilla202music.big"
File /r "Music\*"
SectionEnd
;;
; Normal screen component
......@@ -129,6 +119,18 @@ Section /o "4:3 monitor" secstd
SectionEnd
;;
; Music component
;;
Section "Additional music" secmusic
SetOutPath $INSTDIR
delete "$INSTDIR\!vanilla202music.big"
File /r "Music\*"
SectionEnd
Function .onInit
StrCpy $1 ${secws} ;The default
FunctionEnd
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment