summaryrefslogtreecommitdiffstats
path: root/examples/msi_packaging
diff options
context:
space:
mode:
Diffstat (limited to 'examples/msi_packaging')
-rw-r--r--examples/msi_packaging/README1
-rw-r--r--examples/msi_packaging/SConstruct19
-rw-r--r--examples/msi_packaging/helloworld.dll1
-rw-r--r--examples/msi_packaging/main.exe1
4 files changed, 22 insertions, 0 deletions
diff --git a/examples/msi_packaging/README b/examples/msi_packaging/README
new file mode 100644
index 0000000..2e54e70
--- /dev/null
+++ b/examples/msi_packaging/README
@@ -0,0 +1 @@
+This is the README file.
diff --git a/examples/msi_packaging/SConstruct b/examples/msi_packaging/SConstruct
new file mode 100644
index 0000000..cabe70e
--- /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 ], )
diff --git a/examples/msi_packaging/helloworld.dll b/examples/msi_packaging/helloworld.dll
new file mode 100644
index 0000000..1404bcf
--- /dev/null
+++ b/examples/msi_packaging/helloworld.dll
@@ -0,0 +1 @@
+a fake .dll
diff --git a/examples/msi_packaging/main.exe b/examples/msi_packaging/main.exe
new file mode 100644
index 0000000..36c366c
--- /dev/null
+++ b/examples/msi_packaging/main.exe
@@ -0,0 +1 @@
+a fake .exe