Fix Win32 installer for UAC integration on Vista/7 and for the new download paths.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3557 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
Changes towards version 0.7:
|
||||
- Update download paths for the new SourceForge File Release system - Michael
|
||||
- Fix UAC issues with installer for cleaner Vista/Win7 installs - Michael
|
||||
- Fixed compilation with Netplay disabled (bug #1091), from Sze Howe Koh
|
||||
- Fixed ship picking order after a simultaneous destruction, e.g.
|
||||
Shofixti picks last after Glory device (bugs #1087, #1088) - Alex
|
||||
|
||||
@@ -26,6 +26,9 @@ Var UQMUSERDATA
|
||||
!define MUI_HEADERIMAGE_BITMAP "ultron.bmp"
|
||||
!define MUI_HEADERIMAGE_RIGHT
|
||||
|
||||
; UAC support
|
||||
RequestExecutionLevel admin
|
||||
|
||||
; Welcome page
|
||||
!insertmacro MUI_PAGE_WELCOME
|
||||
; License page
|
||||
@@ -234,7 +237,7 @@ AttemptDownload:
|
||||
GetTempFileName $DOWNLOADTARGET
|
||||
Delete $DOWNLOADTARGET
|
||||
CreateDirectory $DOWNLOADTARGET
|
||||
NSISdl::download "http://$2.dl.sourceforge.net/sourceforge/sc2/$1" "$DOWNLOADTARGET\$1"
|
||||
NSISdl::download "http://$2.dl.sourceforge.net/sourceforge/sc2/UQM/0.6.0/$1" "$DOWNLOADTARGET\$1"
|
||||
Pop $2
|
||||
StrCmp $2 "success" DownloadSuccessful
|
||||
StrCmp $2 "cancel" DownloadCanceled
|
||||
|
||||
Reference in New Issue
Block a user