I'm making good progress with WAPT and creating and modifying existing packages.
For educational purposes, I need to install an application that requires, on its first startup (and only then), the user to enter a name, organization, and serial number.
I've tried various things without success so far:
- regShot before and after inserting the serial number, then exporting to a .reg file
- silently executing the .reg file after installation (via the `def install()` function in the WAPT package): the software doesn't activate... there might be other file modifications/creations after the license is inserted.
Another test: via AutoIt
- installing the application via WAPT
- in WAPT's `def install()` function, running an AutoIt script to start the application and simulate keyboard input...
The program installs successfully, but the problem is that the AutoIt script is executed under the System account... and the program, if started under the System account, doesn't seem to recognize the script.
In my AutoIt script, I forced the program to launch as a local administrator.
It appears correctly in the processes, but my AutoIt script (launched as the system account) doesn't run...
Basically, I end up with one program running as a local administrator and a script running in a queue as the system account.
Launching both as the system account doesn't help...
I haven't found any option in the Python script to request that the script be launched as an administrator...
Perhaps there's a simpler method...?
PS: By installing the software normally and then manually running my AutoIt script (as an administrator), activation is successful...
Thanks for any suggestions.
