summaryrefslogtreecommitdiffstats
path: root/Tools/msi/msilib.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/msi/msilib.py')
-rw-r--r--Tools/msi/msilib.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tools/msi/msilib.py b/Tools/msi/msilib.py
index 8497400..e5d73c7 100644
--- a/Tools/msi/msilib.py
+++ b/Tools/msi/msilib.py
@@ -566,6 +566,11 @@ class Directory:
[(self.component+"c", self.component, "*.pyc", self.logical, 2),
(self.component+"o", self.component, "*.pyo", self.logical, 2)])
+ def removefile(self, key, pattern):
+ "Add a RemoveFile entry"
+ add_data(self.db, "RemoveFile", [(self.component+key, self.component, pattern, self.logical, 2)])
+
+
class Feature:
def __init__(self, db, id, title, desc, display, level = 1,
parent=None, directory = None, attributes=0):