Author: remi
Date: 2009-02-12 16:29:31 +0100 (Thu, 12 Feb 2009)
New Revision: 3630
Modified:
software_suite_v2/tuxware/tuxhttpserver/trunk/src/installer.nsi
Log:
* added the rules to install/uninstall the server restarter in the NSIS script
Modified: software_suite_v2/tuxware/tuxhttpserver/trunk/src/installer.nsi
===================================================================
--- software_suite_v2/tuxware/tuxhttpserver/trunk/src/installer.nsi
2009-02-12 15:27:24 UTC (rev 3629)
+++ software_suite_v2/tuxware/tuxhttpserver/trunk/src/installer.nsi
2009-02-12 15:29:31 UTC (rev 3630)
@@ -55,6 +55,7 @@
SetOutPath "$TUXDROID_PATH\bin"
File tuxhttpserver_start.exe
File tuxhttpserver_stop.exe
+ File tuxhttpserver_restart.exe
CreateDirectory "$TUXDROID_PATH\resources\misc"
SetOutPath "$TUXDROID_PATH\resources\misc"
@@ -66,6 +67,7 @@
CreateDirectory "$SMPROGRAMS\Tuxdroid\Tuxware\HTTPServer"
CreateShortCut "$SMPROGRAMS\Tuxdroid\Tuxware\HTTPServer\Start.lnk"
"$TUXDROID_PATH\bin\tuxhttpserver_start.exe" ""
"$TUXDROID_PATH\resources\misc\tuxsys.ico" 0
CreateShortCut "$SMPROGRAMS\Tuxdroid\Tuxware\HTTPServer\Stop.lnk"
"$TUXDROID_PATH\bin\tuxhttpserver_stop.exe" ""
"$TUXDROID_PATH\resources\misc\tuxsys.ico" 0
+ CreateShortCut "$SMPROGRAMS\Tuxdroid\Tuxware\HTTPServer\Restart.lnk"
"$TUXDROID_PATH\bin\tuxhttpserver_restart.exe" ""
"$TUXDROID_PATH\resources\misc\tuxsys.ico" 0
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Run"
"TuxHTTPServer" "$TUXDROID_PATH\bin\tuxhttpserver_start.exe"
; Write the uninstall file
@@ -87,6 +89,7 @@
; Remove files and uninstaller
Delete "$TUXDROID_PATH\bin\tuxhttpserver_start.exe"
Delete "$TUXDROID_PATH\bin\tuxhttpserver_stop.exe"
+ Delete "$TUXDROID_PATH\bin\tuxhttpserver_restart.exe"
Delete "$TUXDROID_PATH\resources\misc\tuxsys.ico"
Delete "$TUXDROID_PATH\softwares\tuxhttpserver\AUTHORS"
Delete "$TUXDROID_PATH\softwares\tuxhttpserver\COPYING"
@@ -99,6 +102,7 @@
; Remove shortcuts
Delete "$SMPROGRAMS\Tuxdroid\Tuxware\HTTPServer\Stop.lnk"
Delete "$SMPROGRAMS\Tuxdroid\Tuxware\HTTPServer\Start.lnk"
+ Delete "$SMPROGRAMS\Tuxdroid\Tuxware\HTTPServer\Restart.lnk"
RMDir /r "$SMPROGRAMS\Tuxdroid\Tuxware\HTTPServer"
; Quit the uninstaller
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn