useful after release.py
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5325 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
0c11506eb5
commit
33667e8951
1 changed files with 15 additions and 0 deletions
15
Scripts/RegRestore.nsi
Normal file
15
Scripts/RegRestore.nsi
Normal file
|
@ -0,0 +1,15 @@
|
|||
Name "Restore NSIS Registry"
|
||||
OutFile RegRestore.exe
|
||||
|
||||
SilentInstall silent
|
||||
|
||||
XPStyle on
|
||||
|
||||
Section
|
||||
WriteRegStr HKLM SOFTWARE\NSIS "" $PROGRAMFILES\NSIS
|
||||
WriteRegStr HKCR NSIS.Header\DefaultIcon "" $PROGRAMFILES\NSIS\makensisw.exe,1
|
||||
WriteRegStr HKCR NSIS.Script\DefaultIcon "" $PROGRAMFILES\NSIS\makensisw.exe,1
|
||||
WriteRegStr HKCR NSIS.Script\shell\compile\command "" '"$PROGRAMFILES\NSIS\makensisw.exe" "%1"'
|
||||
WriteRegStr HKCR NSIS.Script\shell\compile-compressor\command "" '"$PROGRAMFILES\NSIS\makensisw.exe" /ChooseCompressor "%1"'
|
||||
MessageBox MB_OK Restored!
|
||||
SectionEnd
|
Loading…
Add table
Add a link
Reference in a new issue