summaryrefslogtreecommitdiffstats
path: root/ldap/synctools/passwordsync/build.bat
diff options
context:
space:
mode:
Diffstat (limited to 'ldap/synctools/passwordsync/build.bat')
-rw-r--r--ldap/synctools/passwordsync/build.bat27
1 files changed, 27 insertions, 0 deletions
diff --git a/ldap/synctools/passwordsync/build.bat b/ldap/synctools/passwordsync/build.bat
new file mode 100644
index 00000000..323e6288
--- /dev/null
+++ b/ldap/synctools/passwordsync/build.bat
@@ -0,0 +1,27 @@
+@echo off
+cd passsync
+nmake passsync.mak
+copy Debug\passsync.exe ..\Wix
+cd ..\passhook
+nmake passhook.mak
+copy Debug\passhook.dll ..\Wix
+
+if EXIST ..\Wix (goto :WIX)
+
+goto :EOF
+:WIX
+
+cd ..\Wix
+if NOT EXIST candle.exe (
+ echo ERROR: Wix not properly installed. See readme.
+ pause
+ exit 1 )
+
+if NOT EXIST light.exe (
+ echo ERROR: Wix not properly installed. See readme.
+ pause
+ exit 1 )
+
+candle PassSync.wxs
+light PassSync.wixobj
+