[Yanel-commits] rev 44156 - public/yanel/trunk/src

guillaume at wyona.com guillaume at wyona.com
Wed Aug 12 19:26:27 CEST 2009


Author: guillaume
Date: 2009-08-12 19:26:26 +0200 (Wed, 12 Aug 2009)
New Revision: 44156

Modified:
   public/yanel/trunk/src/release.bat
Log:
Do a silent NSIS install instead of requiring manual babysitting through installation.
Note: /S also seems to work for the uninstaller! :)

Also added some traces and TODOs.

Issue: 7240

Modified: public/yanel/trunk/src/release.bat
===================================================================
--- public/yanel/trunk/src/release.bat	2009-08-12 13:55:44 UTC (rev 44155)
+++ public/yanel/trunk/src/release.bat	2009-08-12 17:26:26 UTC (rev 44156)
@@ -37,6 +37,7 @@
 cd \
 
 call yanel build %_YANEL_LBP% bin-snapshot
+::TODO: check %ERRORLEVEL% to assert that the snapshots were successfully built!
 
 :Windows_needed
 
@@ -62,8 +63,10 @@
 ::::
 :: run the installer:
 
-echo INFO: Starting Yanel Windows installer (a new window will open)
-build\bin-snapshots\wyona-yanel-%_YANEL_ID%-bin-win\install-Wyona-Yanel-%_YANEL_ID%.exe
+echo INFO: Starting Yanel Windows installer (it will continue running in the background after this script ends)
+build\bin-snapshots\wyona-yanel-%_YANEL_ID%-bin-win\install-Wyona-Yanel-%_YANEL_ID%.exe /S
+::TODO: do something to assert that Yanel was successfully installed:
+:: /S makes the installer run in the background!!! :/
 goto end
 
 



More information about the Yanel-commits mailing list