Forget to commit user-right-changes.
This commit is contained in:
1 parent
c739859874
commit
a513180b23
2 files changed
+10
-3
No files matched your search
+4
-1
@@ -1,2 +1,5 @@
|
|||||||
Please use NSIS Unicode for creating installer.
|
Please use NSIS Unicode for creating installer.
|
||||||
http://www.scratchpaper.com/
|
http://www.scratchpaper.com/
|
||||||
|
|
||||||
|
Also needed AccessControl-Plugin:
|
||||||
|
nsis.sourceforge.net/mediawiki/images/4/4a/AccessControl.zip
|
||||||
@@ -107,8 +107,8 @@ Section $(TITLE_MAIN) SecMain
|
|||||||
File /oname=$OUTDIR\Profiles\guest3.xml "..\Output\Profiles\guest3.xml"
|
File /oname=$OUTDIR\Profiles\guest3.xml "..\Output\Profiles\guest3.xml"
|
||||||
File /r "..\Output\Sounds"
|
File /r "..\Output\Sounds"
|
||||||
File /r /x "*.mp4" "..\Output\Themes"
|
File /r /x "*.mp4" "..\Output\Themes"
|
||||||
;File /r "..\Output\x64"
|
File /r "..\Output\x64"
|
||||||
;File /r "..\Output\x86"
|
File /r "..\Output\x86"
|
||||||
File "..\Output\*.dll"
|
File "..\Output\*.dll"
|
||||||
File "..\Output\*.config"
|
File "..\Output\*.config"
|
||||||
File "..\Output\*.exe"
|
File "..\Output\*.exe"
|
||||||
@@ -116,6 +116,10 @@ Section $(TITLE_MAIN) SecMain
|
|||||||
File "..\Output\*.txt"
|
File "..\Output\*.txt"
|
||||||
File "..\Output\CreditsRessourcesDB.sqlite"
|
File "..\Output\CreditsRessourcesDB.sqlite"
|
||||||
|
|
||||||
|
;Set User-rights to needed files
|
||||||
|
AccessControl::GrantOnFile "$INSTDIR" "(S-1-5-32-545)" "FullAccess"
|
||||||
|
AccessControl::GrantOnFile "$INSTDIR\*" "(S-1-5-32-545)" "FullAccess"
|
||||||
|
|
||||||
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\DirectX" "Version"
|
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\DirectX" "Version"
|
||||||
StrCpy $1 $0 4 3
|
StrCpy $1 $0 4 3
|
||||||
${If} $1 < 9
|
${If} $1 < 9
|
||||||
|
|||||||
Reference in new issue
Block a user