jerometam
May 17 2006, 03:56 AM
I've tried to use WIHU with AutoIt3 to patch WGA, by which I've written a script in au3 to copy a file to the C:\Windows\System32 directory.
but I'm not getting it run...
Here is what I've tried:
1.
Place wihu.exe and autoit3.exe in the same directory, and run:
command.0=%WIHU%\autoit3.exe wga.au3
workdir.0=%WIHU%\Applications\wga\
selected.0=1
It didn't run in my machine...so I wonder if it's the problem with workdir, then I tried:
2.
Place autoit3.exe in the wga directory, and run:
command.0=%WIHU%\Applications\wga\autoit3.exe wga.au3
workdir.0=%WIHU%\Applications\wga\
selected.0=1
It didn't run again...I've no idea of what's going on...Then I tried to complie the au3...
3.
and run...
command.0=%WIHU%\Applications\wga.exe
workdir.0=%WIHU%\Applications\wga\
selected.0=1
It didn't run...too...
However, if I run the script/exe directly, it works properly, so I just wonder if there is some problem in my computer that prevent wihu.exe in loading the exe...
Therefore, I've tried to use wihu.exe to call notepad.exe in my C:\Windows\ directory...
as expected, it fails to load the notepad...
and now...I still have no clues of what's happening...
Anybody can help?
Camarade_Tux
May 17 2006, 09:05 AM
Could you please post your entire install.ini ?
jerometam
May 17 2006, 09:46 AM
Perhaps it's a program with my computer...I've tried with a virtual machine...and it works quite well!!
Thanks so much anyway!

[Settings]
Skipsettings=1
[Test]
description=Test
command=*
selected=1
description.0=Windows Genuine Advantage Validation
command.0=%WIHU%\Applications\WGA\wga.exe
selected.0=1
workdir.0=%WIHU%\Applications\WGA\
mow
May 17 2006, 10:09 AM
Hello,
I also use a combination of WIHU with Autoit3
this is what I do to patch the MS windows activation:
First I put a copy of Autoit3.exe at %system32% so I can run the AU3 scripts from anywhere.
-----------------------------------------------
This is the portion of my WIHU ini file: (%CURDIR% is not must)
It has nothing special – just to call the script. You can verify if it working by putting a MsgBox command in your autoit script
description.5= Activate Windows
workdir.5 = %CURDIR%\XpUpdate\WindowsActivation
command.5= autoit3 setup.au3
selected.5 = 0
-----------------------------------------------
This is my Autoit script. Within the same directory there is also the file 'WinXPSP2Activator.exe'
AutoItSetOption ("WinTitleMatchMode", 2)
Run ( "WinXPSP2Activator.exe",@ScriptDir)
Sleep (3000)
; this will wait for the patch GUI window and send ENTER
WinWaitActive (":?:","",7)
Send ("{ENTER}")
; this will wait for the 'Windows Activation Completed' window and send ENTER
sleep (6000)
WinWaitActive ("Windows","",14)
Send ("{ENTER}")
sleep (2000)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.