bin2h was removed
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3980 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
04a5b7dd94
commit
13dd7b8039
1 changed files with 7 additions and 7 deletions
|
@ -73,7 +73,7 @@ Section "" ; empty string makes it hidden, so would starting with -
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\BigNSISTest" "UninstallString" '"$INSTDIR\bt-uninst.exe"'
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\BigNSISTest" "UninstallString" '"$INSTDIR\bt-uninst.exe"'
|
||||||
|
|
||||||
SetOutPath $INSTDIR
|
SetOutPath $INSTDIR
|
||||||
File /a "..\Source\exehead\bin2h.exe"
|
File /a "..\Source\exehead\fileform.h"
|
||||||
CreateDirectory "$INSTDIR\shiz\crap" ; 2 recursively create a directory for fun.
|
CreateDirectory "$INSTDIR\shiz\crap" ; 2 recursively create a directory for fun.
|
||||||
WriteUninstaller "bt-uninst.exe"
|
WriteUninstaller "bt-uninst.exe"
|
||||||
|
|
||||||
|
@ -153,9 +153,9 @@ Section "Test Branching"
|
||||||
|
|
||||||
SetOutPath $INSTDIR
|
SetOutPath $INSTDIR
|
||||||
|
|
||||||
IfFileExists "$INSTDIR\bin2h.c" 0 BranchTest69
|
IfFileExists "$INSTDIR\Ui.c" 0 BranchTest69
|
||||||
|
|
||||||
MessageBox MB_YESNO|MB_ICONQUESTION "Would you like to overwrite $INSTDIR\bin2h.c?" IDNO NoOverwrite ; skipped if file doesn't exist
|
MessageBox MB_YESNO|MB_ICONQUESTION "Would you like to overwrite $INSTDIR\Ui.c?" IDNO NoOverwrite ; skipped if file doesn't exist
|
||||||
|
|
||||||
BranchTest69:
|
BranchTest69:
|
||||||
|
|
||||||
|
@ -163,7 +163,7 @@ Section "Test Branching"
|
||||||
|
|
||||||
NoOverwrite:
|
NoOverwrite:
|
||||||
|
|
||||||
File "..\Source\exehead\bin2h.c" ; skipped if answered no
|
File "..\Source\exehead\Ui.c" ; skipped if answered no
|
||||||
SetOverwrite try ; NOT AN INSTRUCTION, NOT COUNTED IN SKIPPINGS
|
SetOverwrite try ; NOT AN INSTRUCTION, NOT COUNTED IN SKIPPINGS
|
||||||
|
|
||||||
MessageBox MB_YESNO|MB_ICONQUESTION "Would you like to skip the rest of this section?" IDYES EndTestBranch
|
MessageBox MB_YESNO|MB_ICONQUESTION "Would you like to skip the rest of this section?" IDYES EndTestBranch
|
||||||
|
@ -238,7 +238,7 @@ Function "CSCTest"
|
||||||
SetOutPath $INSTDIR ; for working directory
|
SetOutPath $INSTDIR ; for working directory
|
||||||
CreateShortCut "$SMPROGRAMS\Big NSIS Test\Uninstall BIG NSIS Test.lnk" "$INSTDIR\bt-uninst.exe" ; use defaults for parameters, icon, etc.
|
CreateShortCut "$SMPROGRAMS\Big NSIS Test\Uninstall BIG NSIS Test.lnk" "$INSTDIR\bt-uninst.exe" ; use defaults for parameters, icon, etc.
|
||||||
; this one will use notepad's icon, start it minimized, and give it a hotkey (of Ctrl+Shift+Q)
|
; this one will use notepad's icon, start it minimized, and give it a hotkey (of Ctrl+Shift+Q)
|
||||||
CreateShortCut "$SMPROGRAMS\Big NSIS Test\bin2h.exe.lnk" "$INSTDIR\bin2h.exe" "" "$WINDIR\notepad.exe" 0 SW_SHOWMINIMIZED CONTROL|SHIFT|Q
|
CreateShortCut "$SMPROGRAMS\Big NSIS Test\fileform.h.lnk" "$INSTDIR\fileform.h" "" "$WINDIR\notepad.exe" 0 SW_SHOWMINIMIZED CONTROL|SHIFT|Q
|
||||||
CreateShortCut "$SMPROGRAMS\Big NSIS Test\TheDir.lnk" "$INSTDIR\" "" "" 0 SW_SHOWMAXIMIZED CONTROL|SHIFT|Z
|
CreateShortCut "$SMPROGRAMS\Big NSIS Test\TheDir.lnk" "$INSTDIR\" "" "" 0 SW_SHOWMAXIMIZED CONTROL|SHIFT|Z
|
||||||
|
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
@ -283,8 +283,8 @@ Section "Uninstall"
|
||||||
|
|
||||||
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\BigNSISTest"
|
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\BigNSISTest"
|
||||||
DeleteRegKey HKLM "SOFTWARE\NSISCrap\BigNSISTest"
|
DeleteRegKey HKLM "SOFTWARE\NSISCrap\BigNSISTest"
|
||||||
Delete "$INSTDIR\bin2h.exe"
|
Delete "$INSTDIR\fileform.h"
|
||||||
Delete "$INSTDIR\bin2h.c"
|
Delete "$INSTDIR\Ui.c"
|
||||||
Delete "$INSTDIR\bt-uninst.exe"
|
Delete "$INSTDIR\bt-uninst.exe"
|
||||||
Delete "$INSTDIR\test.ini"
|
Delete "$INSTDIR\test.ini"
|
||||||
Delete "$SMPROGRAMS\Big NSIS Test\*.*"
|
Delete "$SMPROGRAMS\Big NSIS Test\*.*"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue