.: SOURCES/wpkg-install.bat, SOURCES/wpkg-install-service.bat, SOU...

wolvverine wolvverine at pld-linux.org
Wed Oct 5 20:25:16 CEST 2005


Author: wolvverine                   Date: Wed Oct  5 18:25:16 2005 GMT
Module: .                             Tag: HEAD
---- Log message:
- standarized

---- Files affected:
./SOURCES:
   wpkg-install.bat (1.1 -> 1.2) , wpkg-install-service.bat (1.1 -> 1.2) , wpkg-install-service.js (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: ./SOURCES/wpkg-install.bat
diff -u ./SOURCES/wpkg-install.bat:1.1 ./SOURCES/wpkg-install.bat:1.2
--- ./SOURCES/wpkg-install.bat:1.1	Sat Oct  1 18:01:24 2005
+++ ./SOURCES/wpkg-install.bat	Wed Oct  5 20:25:11 2005
@@ -2,7 +2,7 @@
 rem 1 metoda dla wpkg - windows packager 
 rem zainstalować nalezy z konta administratora za 1 razem 
 rem uwaga parametr "/sc Przy_uruchomieniu " zależy od wersji jezykowej systemu windows 
-schtasks /create /tn wpkg /tr "\\server\wpkg\wpkg-start.bat" /sc Przy_uruchomieniu /ru domena\user /rp password 
+schtasks /create /tn wpkg /tr "\\server\wpkg\wpkg-start.bat" /sc Przy_uruchomieniu /ru domena\adminuser /rp password 
 rem 2 metoda dla wpkg - podmontowanie jako dysk sieciowy udziału wpkg 
 plik C:\NETINST\wpkg-start.bat 
 net use W: \\servername\wpkg /user:domain\user password 

================================================================
Index: ./SOURCES/wpkg-install-service.bat
diff -u ./SOURCES/wpkg-install-service.bat:1.1 ./SOURCES/wpkg-install-service.bat:1.2
--- ./SOURCES/wpkg-install-service.bat:1.1	Sat Oct  1 18:01:24 2005
+++ ./SOURCES/wpkg-install-service.bat	Wed Oct  5 20:25:11 2005
@@ -1,7 +1,14 @@
-copy \\servername\wpkg\srvany.exe %SystemRoot%\System32
-copy \\servername\wpkg\instsrv.exe %SystemRoot%\System32
-instsrv "Windows Packager" "%SystemRoot%\System32\srvany.exe"
-\\servername\wpkg\scriptpl.exe /Q /R:N
-cscript.exe \\servername\wpkg\install-service.js
-net start "Windows Packager"
+REM this batch file install WPKG as service in windows 2000/XP
+REM use as administrator or user with administrators privileges
+rem first get with net files Srvany.exe Instsrv.exe scriptpl.exe
+echo on
+copy \\servername\wpkg\files\Srvany.exe %SystemRoot%\System32\
+copy \\servername\wpkg\files\Instsrv.exe %SystemRoot%\System32\
+%SystemRoot%\System32\Instsrv.exe "WPKG" "%SystemRoot%\System32\Srvany.exe"
+REM do not must use in XP this????
+REM install WHSC - Windows Host Script
+\\servername\wpkg\files\scriptpl.exe /Q /R:N
+REM 
+cscript.exe \\servername\wpkg\files\install-service.js
+net start "WPKG"
 

================================================================
Index: ./SOURCES/wpkg-install-service.js
diff -u ./SOURCES/wpkg-install-service.js:1.1 ./SOURCES/wpkg-install-service.js:1.2
--- ./SOURCES/wpkg-install-service.js:1.1	Sat Oct  1 18:01:24 2005
+++ ./SOURCES/wpkg-install-service.js	Wed Oct  5 20:25:11 2005
@@ -1,6 +1,6 @@
 var WshShell = WScript.CreateObject("WScript.Shell");
-var srvKey = "HKLM\\SYSTEM\\CurrentControlSet\\Services\\Windows Packager\\Parameters\\";
+var srvKey = "HKLM\\SYSTEM\\CurrentControlSet\\Services\\WPKG\\Parameters\\";
 var appKey = srvKey + "Application";
-var srvPath = "C:\\NETINST\\wpkg-start.bat"
+var srvPath = "\\\\servername\\wpkg\\wpkg-start.bat"
 WshShell.RegWrite(appKey, srvPath, "REG_SZ");
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/./SOURCES/wpkg-install.bat?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/./SOURCES/wpkg-install-service.bat?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/./SOURCES/wpkg-install-service.js?r1=1.1&r2=1.2&f=u




More information about the pld-cvs-commit mailing list