I'm looking for some help writing a simple GUI to drive command line scripts.
Here's a bit of preamble:
I work in a PC repair shop. I am in the process of converting all of our OEM install discs to slipstreamed, unattended installs.
I would like to make a simple program to run at first boot that will automate Windows Activation in Windows Vista/7.
Note: This program is NOT intended to bypass, crack or otherwise circumvent Genuine Windows activation!
We will be using our own OEM product keys for the unattended install, then we MUST change them to the customers' genuine product key. We're not a sleazy "warez" shop that distributes pirated software.
Now, I don't need help with any of the unattend setup, just writing the program. I have no programming experience, and I figured it would make more sense to ask for help with the code because this is such a simple program.
I will compile this is Visual C++ or VB 2010 Express, or whichever software you recommend.
I've been told the easiest way to do this kind of activation is to call a batch program.
To change the key
To activate Windows
I'd like some help or tips writing this program. It will have 3 buttons:
One to change the key, which will create an input field with text like "Enter new key", and insert that input into the batch with the "slmgr.vbs -ipk"
One to run Keyfinder, to verify the newly installed Key (just assume Keyfinder is named 'Keyfinder.exe')
One to run the “slmgr.vbs -ato” to activate GENUINE Windows with the new key.
I might need help using variables in the batch as well; I haven't even done batch programming in a long time!
Your help is greatly appreciated and if you live anywhere in MI I'll buy you a drink sometime!