I'm trying to set up a program in C++ that runs the installer for a few programs (Office, AV, etc.) as I have to set up several computers with these. It makes my life easier if I can just plug my USB pen in and run my C++ code instead of having to babysit the computer, but I've hit a snag; is there a way in C++ to have it output a string to a textbox inside the installer? e.g. License Key for Office. And then interface with the installer program to see if it worked?
I have to install these on a large volume of computers, and each have different license keys, even with office's fine tuned install, I still have to wait around for the option to enter the license key and for one program to finish installing so I can begin the next.
Because of the amount of installs I have to do, it would be better if I plugged in my memory stick and ran my program, and enter the product keys at the start and select which programs I want installed, then leave it to install.
Thanks for the AutoIT link, I'll have a look.
I was thinking SendInput() might work in C++ but I'll need to figure it out first.