Glenn9999, on Apr 23 2008, 01:29 PM, said:
The file you would get from that link is a self-extracting archive which works on Windows 2K or above. However, 7-Zip will extract it on any platform it works on (yes the file works on Windows 9X). Inside the file you should find QCHAIN.EXE and EULA.TXT. Copy the QCHAIN.EXE file to the same folder as BATPATCHER.EXE and then it should work.
And yes I know it'd be a lot easier to just distribute the file with the app, but from all appearances it looks like it would be against EULA and would run into the same problems as those are who are distributing the service packs/patches outside of Microsoft's servers (like Autopatcher did).
I is exactly I have tried but I still have the same issue. Perhaps it is due to the fact I start it from my unattended DVD at the first connection of administrator account.
EDIT : I have tested to started directly from the command line and not from my script and all is ok.
I used a VB script to start it (RunOnceEx) from registry.
here my script:
Dim oShell, oFSO, oSysEnv, oStrm2
Set oShell = Wscript.CreateObject("Wscript.Shell")
set oFSO = CreateObject("Scripting.FileSystemObject")
set oSysEnv = oShell.Environment("PROCESS")
'Script to find cd-rom letter
Dim DiskDrive, DriveLetter, DriveType
Set FileSystemObject = CreateObject("Scripting.FileSystemObject") 'Create a filesystem object
Set Drives = FileSystemObject.Drives 'Create a drives collection
Filename = "setupxp.htm"
For Each DiskDrive in Drives
DriveLetter = DiskDrive.DriveLetter
DriveType = DiskDrive.DriveType
IF DiskDrive.isready and DriveType = "4" Then
set Folder=FileSystemObject.GetFolder(DriveLetter & ":\")
For Each File In Folder.Files
If LCase(File.Name) = FileName Then
CDLetter = DriveLetter
Set Drives = nothing
Set FileSystemObject = nothing
' end script to find cd letter
'Windows XP Hotfixes
Wscript.echo "Installing Windows XP SP2 Hotfixes..."
oShell.Run CDLetter & ":\w2kapps\batpatcher\batpatcher.exe " & CDLetter & ":\w2kapps\hotfixes /norestart",0,true
Do you have an idea why I have the error with my script and not if i try "G:\w2kapps\batpatcher\batpatcher.exe G:\w2kapps\hotfixes /norestart" from the run command
This post has been edited by farren: 23 April 2008 - 09:05 AM