installer: reuse the previous driver installer if it's found
authorLars Op den Kamp <lars@opdenkamp.eu>
Thu, 16 Feb 2012 11:12:42 +0000 (12:12 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Thu, 16 Feb 2012 11:12:42 +0000 (12:12 +0100)
support/create-installer.cmd

index 1d76a37a9f748275ff5698767a6b8b8f8ffca7b0..d3f04ff4c6f25ed1ef1419d5aa2b60a0f0e5e99a 100644 (file)
@@ -23,7 +23,11 @@ IF "%VS100COMNTOOLS%"=="" (
 del /s /f /q ..\build
 mkdir ..\build
 
-call create-driver-installer.cmd
+IF EXIST "..\support\p8-usbcec-driver-installer.exe" (
+  copy "..\support\p8-usbcec-driver-installer.exe" "..\build\."
+) ELSE (
+  call create-driver-installer.cmd
+)
 
 mkdir ..\build\x64