[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mono-patches
Subject:    [Mono-patches] r47867 - trunk/tao/other/win32installer
From:       "David Hudson <jendave () yahoo ! com>" <dhudson () mono-cvs ! ximian ! com>
Date:       2005-07-31 6:56:09
Message-ID: 20050731065609.771B29472C () mono-cvs ! ximian ! com
[Download RAW message or body]

Author: dhudson
Date: 2005-07-31 02:56:09 -0400 (Sun, 31 Jul 2005)
New Revision: 47867

Modified:
   trunk/tao/other/win32installer/Tao.nsi
Log:
gac install fix

Modified: trunk/tao/other/win32installer/Tao.nsi
===================================================================
--- trunk/tao/other/win32installer/Tao.nsi	2005-07-30 23:58:57 UTC (rev 47866)
+++ trunk/tao/other/win32installer/Tao.nsi	2005-07-31 06:56:09 UTC (rev 47867)
@@ -233,7 +233,7 @@
   Exch
   Exch $R1
  
-  nsExec::Exec '"$WINDIR\Microsoft.NET\Framework\v1.1.432\GacUtil.exe" /i "$R0" /f'
+  call GACInstall
   WriteRegStr HKLM "SOFTWARE\Microsoft\.NETFramework\AssemblyFolders\$R1" "" "$R0"
   WriteRegStr HKCU "SOFTWARE\Microsoft\.NETFramework\AssemblyFolders\$R1" "" "$R0"
   WriteRegStr HKLM "SOFTWARE\Microsoft\VisualStudio\7.1\AssemblyFolders\$R1" "" \
"$R0" @@ -398,3 +398,14 @@
   done:
 
 FunctionEnd
+
+Function GACInstall
+  FindFirst $file_handle $filename $INSTDIR\dist\bin\*.dll
+  loop:
+	StrCmp $filename "" done
+	nsExec::Exec '"$WINDIR\Microsoft.NET\Framework\v1.1.4322\gacutil.exe" /i \
"$INSTDIR\dist\bin\$filename" /f' +	FindNext $file_handle $filename
+  	Goto loop
+  done:
+
+FunctionEnd

_______________________________________________
Mono-patches maillist  -  Mono-patches@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-patches


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic