fixed bug #1835866 - CR LF combinations

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5390 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2007-12-01 11:43:02 +00:00
parent b0894fcd55
commit 482138d7c0
3 changed files with 678 additions and 678 deletions

View file

@ -1,15 +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
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