Add very basic windows install script.

meow-7.2.2
Andrew A. de Laix 2010-11-11 11:05:46 -08:00
parent 6e15957d90
commit 4e22d63352
3 changed files with 12 additions and 0 deletions

View File

@ -251,6 +251,10 @@ class WindowsManifest(ViewerManifest):
if self.prefix(src=os.path.join(os.pardir, 'sharedlibs', self.args['configuration']),
dst=""):
if self.prefix(src="../../viewer_components/updater", dst=""):
self.path("update_install.bat")
self.end_prefix()
self.enable_crt_manifest_check()
# Get kdu dll, continue if missing.

View File

@ -89,6 +89,13 @@ if(DARWIN)
update_installer_targets
"update_install"
)
elseif(WINDOWS)
copy_if_different(
"${CMAKE_CURRENT_SOURCE_DIR}/scripts/windows"
"${CMAKE_CURRENT_BINARY_DIR}"
update_installer_targets
"update_install.bat"
)
endif()
add_custom_target(copy_update_install ALL DEPENDS ${update_installer_targets})
add_dependencies(llupdaterservice copy_update_install)

View File

@ -0,0 +1 @@
start /WAIT %1