summaryrefslogtreecommitdiff
path: root/examples/msi_packaging/SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'examples/msi_packaging/SConstruct')
-rw-r--r--examples/msi_packaging/SConstruct19
1 files changed, 19 insertions, 0 deletions
diff --git a/examples/msi_packaging/SConstruct b/examples/msi_packaging/SConstruct
new file mode 100644
index 00000000..cabe70eb
--- /dev/null
+++ b/examples/msi_packaging/SConstruct
@@ -0,0 +1,19 @@
+#
+# Build a minimal msi installer with two features.
+#
+
+f1 = Install( '/bin/', File('main.exe') )
+f2 = Install( '/lib/', File('helloworld.dll') )
+f3 = Install( '/doc/', File('README') )
+
+Tag( f2, x_msi_feature = 'Resuable Components' )
+Tag( f3, 'doc' )
+
+Package( projectname = 'helloworld',
+ version = '1.0',
+ packageversion = '1',
+ license = 'gpl',
+ type = 'msi',
+ vendor = 'Nanosoft',
+ summary = 'A HelloWorld implementation',
+ source = [ f1, f2, f3 ], )