From 5a0629bc437bd69b5847f1c44d77330c9ee38806 Mon Sep 17 00:00:00 2001
From: Chris Mortimer <cm214@cam.ac.uk>
Date: Mon, 23 Mar 2020 18:12:58 +0000
Subject: [PATCH] Initial ucam package for Bulk Rename utility

---
 packages/bulkrename.xml | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100755 packages/bulkrename.xml

diff --git a/packages/bulkrename.xml b/packages/bulkrename.xml
new file mode 100755
index 00000000..37f7e0e5
--- /dev/null
+++ b/packages/bulkrename.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<packages:packages xmlns:packages="http://www.wpkg.org/packages">
+
+  <package id="bulkrename" name="Bulk Rename Utility" revision="%version%" priority="50" reboot="false">
+  <variable name="version" value="3.3.1.0" />
+
+  <check type="uninstall" condition="exists" path="Bulk Rename Utility %version% (64-bit)" />
+
+  <install cmd='cmd /c %WPKGSOFTWARE%\bulk_rename\BRU_setup_%version%.exe /VERYSILENT /SUPPRESSMSGBOXES /LOG /norestart ' />
+
+  <upgrade include="remove" />
+  <upgrade include="install" />
+
+  <remove cmd='cmd /c "%PROGRAMFILES%\bulk rename utility\unins000.exe" /VERYSILENT /SUPPRESSMSGBOXES /LOG' />
+  <remove cmd='cmd /c RMDIR /Q /S "%PROGRAMFILES%\bulk rename utility\"'>
+    <exit code="any" />
+  </remove>
+
+  </package>
+
+</packages:packages>
-- 
GitLab