aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-11-23 16:55:17 +0000
committerlloyd <[email protected]>2009-11-23 16:55:17 +0000
commit18f859f63763eb3ab9b52da2e5d6b256f7075945 (patch)
tree7c4465622ac2e83fa6dff29fdc678e721bd6dafa /src
parent09a811f05119434dc77677d467b966438e99f218 (diff)
Add User and Developer install targets to Win32 installer
Diffstat (limited to 'src')
-rw-r--r--src/build-data/innosetup.in31
1 files changed, 22 insertions, 9 deletions
diff --git a/src/build-data/innosetup.in b/src/build-data/innosetup.in
index 2f4968cda..fbcf95fb0 100644
--- a/src/build-data/innosetup.in
+++ b/src/build-data/innosetup.in
@@ -17,13 +17,26 @@ SolidCompression=yes
OutputDir=.
OutputBaseFilename=botan-%{version}
+[Types]
+Name: "user"; Description: "User"
+Name: "devel"; Description: "Developer"
+
+[Components]
+name: "dll"; Description: "Runtime DLLs"; Types: user devel; Flags: fixed
+name: "implib"; Description: "Import Library"; Types: devel
+name: "includes"; Description: "Include Files"; Types: devel
+name: "docs"; Descrption: "Developer Documentation"; Types: devel
+
[Files]
-Source: "..\botan.dll"; DestDir: "{app}"
-Source: "..\botan.dll.manifest"; DestDir: "{app}"
-Source: "..\botan.exp"; DestDir: "{app}"
-Source: "..\botan.lib"; DestDir: "{app}"
-Source: "include\botan\*"; DestDir: "{app}\include\botan"
-
-Source "..\readme.txt"; DestDir: "{app}\doc"
-Source "..\doc\license.txt"; DestDir: "{app}\doc"
-Source "..\doc\log.txt"; DestDir: "{app}\doc"
+# License file is always included
+Source: "..\botan.dll"; DestDir: "{app}"; Components: dll
+Source: "..\botan.dll.manifest"; DestDir: "{app}"; Components: dll
+Source "..\doc\license.txt"; DestDir: "{app}"; Components: dll
+
+Source: "..\botan.exp"; DestDir: "{app}"; Components: implib
+Source: "..\botan.lib"; DestDir: "{app}"; Components: implib
+
+Source: "include\botan\*"; DestDir: "{app}\include\botan"; Components: includes
+
+Source "..\readme.txt"; DestDir: "{app}\doc"; Components: docs
+Source "..\doc\log.txt"; DestDir: "{app}\doc"; Components: docs