nsis-new-reg-strings-20040227
authorJeffrey Altman <jaltman@mit.edu>
Fri, 27 Feb 2004 07:40:20 +0000 (07:40 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 27 Feb 2004 07:40:20 +0000 (07:40 +0000)
Make the NSIS installer create the registry strings for NetbiosName = "AFS"
and MountRoot = "/afs"

src/WINNT/install/NSIS/OpenAFS.nsi

index e2b3f7d..41d4a25 100644 (file)
@@ -653,7 +653,9 @@ skipremove:
   WriteRegDWORD HKLM "SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters" "SecurityLevel" $R0
   ReadINIStr $R0 $1 "Field 5" "State"  
   WriteRegDWORD HKLM "SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters" "FreelanceClient" $R0
-  WriteRegDWORD HKLM "SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters" "UseDNS" 0
+  WriteRegDWORD HKLM "SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters" "UseDNS" 1
+  WriteRegStr HKLM "SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters" "NetbiosName" "AFS"
+  WriteRegStr HKLM "SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters" "MountRoot" "/afs"
   SetRebootFlag true
   
   WriteUninstaller "$INSTDIR\Uninstall.exe"