Merged the 2.3.0 branch back into the main line
[fw/sdcc] / support / scripts / sdcc.nsi
1 ; Generated NSIS script file (generated by makensitemplate.phtml 0.20)
2 ; by 63.48.69.245 on Sep 19 01 @ 15:09
3
4 ; NOTE: this .NSI script is designed for NSIS v1.3+
5
6 Name "Small Device C Compiler"
7 OutFile "c:\temp\sdcc-2.3.0-installer.exe"
8
9 ; Some default compiler settings (uncomment and change at will):
10 ; SetCompress auto ; (can be off or force)
11 ; SetDatablockOptimize on ; (can be off)
12 ; CRCCheck on ; (can be off)
13 AutoCloseWindow true ; (can be true for the window go away automatically at end)
14 ; ShowInstDetails hide ; (can be show to have them shown, or nevershow to disable)
15 ; SetDateSave off ; (can be on to have files restored to their orginal date)
16
17 LicenseText "SDCC is licensed under the GNU Public License"
18 LicenseData "LICENSE.txt"
19
20 InstallDir "c:\sdcc"
21 InstallDirRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Small Device C Compiler Group\Small Device C Compiler" ""
22 DirShow show
23 DirText "Choose the directory to install SDCC into.  Currently only c:\sdcc is supported."
24
25 Section "" ; (default section)
26 SetOutPath "$INSTDIR"
27 ; add files / whatever that need to be installed here.
28 File /r bin
29 File /r share
30 File /r doc
31 File README.txt
32 File INSTALL.txt
33 File LICENSE.txt
34 WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Small Device C Compiler Group\Small Device C Compiler" "" "$INSTDIR"
35 CreateDirectory "$SMPROGRAMS\Small Device C Compiler"
36 CreateShortCut "$SMPROGRAMS\Small Device C Compiler\README.lnk" $INSTDIR\README.txt
37 CreateShortCut "$SMPROGRAMS\Small Device C Compiler\INSTALL.lnk" $INSTDIR\INSTALL.txt
38 CreateShortCut "$SMPROGRAMS\Small Device C Compiler\LICENSE.lnk" $INSTDIR\LICENSE.txt
39 CreateShortCut "$SMPROGRAMS\Small Device C Compiler\Users Guide.lnk" $INSTDIR\share\doc\sdcc\sdccman.html\index.html
40 ExecShell open $INSTDIR\README.txt
41 SectionEnd ; end of default section
42
43 ; eof