aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/innosetup.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/build-data/innosetup.in')
-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