Jump to content

WIHU not running...


Recommended Posts

Posted

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?


Posted

Perhaps it's a program with my computer...I've tried with a virtual machine...and it works quite well!!

Thanks so much anyway! :D

[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\

Posted

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)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...