notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
- From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
- To: notify-dpml AT lists.ibiblio.org
- Subject: r914 - trunk/main/etc/nsi
- Date: Thu, 12 Jan 2006 19:07:52 +0100
Author: mcconnell
Date: 2006-01-12 19:07:51 +0100 (Thu, 12 Jan 2006)
New Revision: 914
Modified:
trunk/main/etc/nsi/PathManipulation.nsh
Log:
updating installer
Modified: trunk/main/etc/nsi/PathManipulation.nsh
===================================================================
--- trunk/main/etc/nsi/PathManipulation.nsh 2006-01-12 17:58:50 UTC (rev
913)
+++ trunk/main/etc/nsi/PathManipulation.nsh 2006-01-12 18:07:51 UTC (rev
914)
@@ -25,7 +25,7 @@
Push $2
Push $3
- MessageBox MB_OK|MB_ICONINFORMATION "Starting path processing."
+ #MessageBox MB_OK|MB_ICONINFORMATION "Starting path processing."
# don't add if the path doesn't exist
#IfFileExists "$0\*.*" "" FileDoesNotExist
@@ -39,38 +39,38 @@
Push "$0;"
Call StrStr
Pop $2
- DetailPrint "Checkpoint 1."
- MessageBox MB_OK|MB_ICONINFORMATION "context: $1"
- MessageBox MB_OK|MB_ICONINFORMATION "search: $0"
- MessageBox MB_OK|MB_ICONINFORMATION "result: $2"
+ #DetailPrint "Checkpoint 1."
+ #MessageBox MB_OK|MB_ICONINFORMATION "context: $1"
+ #MessageBox MB_OK|MB_ICONINFORMATION "search: $0"
+ #MessageBox MB_OK|MB_ICONINFORMATION "result: $2"
StrCmp $2 "" "" AddToPath_done
Push "$1;"
Push "$0\;"
Call StrStr
Pop $2
- DetailPrint "Checkpoint 2."
- MessageBox MB_OK|MB_ICONINFORMATION "context: $1"
- MessageBox MB_OK|MB_ICONINFORMATION "search: $0"
- MessageBox MB_OK|MB_ICONINFORMATION "result: $2"
+ #DetailPrint "Checkpoint 2."
+ #MessageBox MB_OK|MB_ICONINFORMATION "context: $1"
+ #MessageBox MB_OK|MB_ICONINFORMATION "search: $0"
+ #MessageBox MB_OK|MB_ICONINFORMATION "result: $2"
StrCmp $2 "" "" AddToPath_done
- GetFullPathName /SHORT $3 $0
+ #GetFullPathName /SHORT $3 $0
+ #Push "$1;"
+ #Push "$3;"
+ #Call StrStr
+ #Pop $2
+ #DetailPrint "Checkpoint 3."
+ #MessageBox MB_OK|MB_ICONINFORMATION "context: $1"
+ #MessageBox MB_OK|MB_ICONINFORMATION "search: $3"
+ #MessageBox MB_OK|MB_ICONINFORMATION "result: $2"
+ #StrCmp $2 "" "" AddToPath_done
Push "$1;"
- Push "$3;"
- Call StrStr
- Pop $2
- DetailPrint "Checkpoint 3."
- MessageBox MB_OK|MB_ICONINFORMATION "context: $1"
- MessageBox MB_OK|MB_ICONINFORMATION "search: $3"
- MessageBox MB_OK|MB_ICONINFORMATION "result: $2"
- StrCmp $2 "" "" AddToPath_done
- Push "$1;"
Push "$3\;"
Call StrStr
Pop $2
- DetailPrint "Checkpoint 4."
- MessageBox MB_OK|MB_ICONINFORMATION "context: $1"
- MessageBox MB_OK|MB_ICONINFORMATION "search: $3"
- MessageBox MB_OK|MB_ICONINFORMATION "result: $2"
+ #DetailPrint "Checkpoint 4."
+ #MessageBox MB_OK|MB_ICONINFORMATION "context: $1"
+ #MessageBox MB_OK|MB_ICONINFORMATION "search: $3"
+ #MessageBox MB_OK|MB_ICONINFORMATION "result: $2"
StrCmp $2 "" "" AddToPath_done
Call IsNT
@@ -90,7 +90,7 @@
Goto AddToPath_done
AddToPath_NT:
- MessageBox MB_OK|MB_ICONINFORMATION "Reading NT Path"
+ #MessageBox MB_OK|MB_ICONINFORMATION "Reading NT Path"
ReadRegStr $1 ${WriteEnvStr_RegKey} "PATH"
StrCpy $2 $1 1 -1 # copy last char
StrCmp $2 ";" 0 +2 # if last char == ;
@@ -102,7 +102,7 @@
SendMessage ${HWND_BROADCAST} ${WM_WININICHANGE} 0 "STR:Environment"
/TIMEOUT=5000
AddToPath_done:
- MessageBox MB_OK|MB_ICONINFORMATION "Add to path - DONE"
+ #MessageBox MB_OK|MB_ICONINFORMATION "Add to path - DONE"
Pop $3
Pop $2
Pop $1
- r914 - trunk/main/etc/nsi, mcconnell at BerliOS, 01/12/2006
Archive powered by MHonArc 2.6.24.