Menu

[r148]: / trunk / packaging / exe / cpplapack.nsi  Maximize  Restore  History

Download this file

75 lines (60 with data), 2.6 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
!define version "2010.03.27-2"
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;; base setting ;;;;;;;;
!include MUI2.nsh
Name "CPPLapack"
OutFile "cpplapack-${version}-setup.exe"
InstallDir "c:\cpplapack"
;;;;;;;; welcome ;;;;;;;;
;!define MUI_WELCOMEFINISHPAGE_BITMAP "C:\Program Files\NSIS\Contrib\Graphics\Wizard\win.bmp"
!define MUI_WELCOMEFINISHPAGE_BITMAP "${NSISDIR}\Contrib\Graphics\Wizard\win.bmp"
!define MUI_WELCOMEPAGE_TITLE "Welcome to CPPLapack installer."
!define MUI_WELCOMEPAGE_TEXT "Press $\"next$\" to procced."
!insertmacro MUI_PAGE_WELCOME
;;!insertmacro MUI_PAGE_LICENSE ".\LICENSE.txt"
;;!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_DIRECTORY
;;!insertmacro MUI_PAGE_STARTMENU
!insertmacro MUI_PAGE_INSTFILES
;;;;;;;; finish ;;;;;;;;
!define MUI_FINISHPAGE_TITLE "CPPLapack was installed successfully."
!define MUI_FINISHPAGE_TEXT "Press $\"Finish$\"."
!define MUI_FINISHPAGE_LINK "Click here to see the online documentation."
!define MUI_FINISHPAGE_LINK_LOCATION "http://cpplapack.sourceforge.net/"
!define MUI_FINISHPAGE_SHOWREADME "$INSTDIR/README.txt"
!insertmacro MUI_PAGE_FINISH
;;;;;;;; language ;;;;;;;;
!insertmacro MUI_LANGUAGE "English"
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Section "Install"
SetOutPath $INSTDIR
File .\README.txt
SetOutPath $INSTDIR\lib
File /r .\win32\*
SetOutPath $INSTDIR\lib64
File /r .\win64\*
SetOutPath $INSTDIR\vc_sample
!system "mkdir vc_sample"
!system "xcopy ..\..\test\vc_sample .\vc_sample /s /e /q /r /y"
File /r .\vc_sample\*
!system "rmdir /s /q .\vc_sample"
SetOutPath $INSTDIR\include
File .\stdint.h
SetOutPath $INSTDIR
!system "mkdir include"
!system "xcopy ..\..\include .\include /s /e /q /r /y"
File /r .\include
!system "rmdir /s /q include"
;; WriteUninstaller $INSTDIR\uninstall.exe
SectionEnd
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Section "Uninstall"
; Delete $INSTDIR\uninstall.exe
; RMDir /r $INSTDIR
;SectionEnd
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.