Jump to content

Driver signing as child


Recommended Posts

Hi All

I am trying to write a simple script that will run driver software and when the Windows "Software Installation" warning sign appears in the task bar make it active and press ALT C "!C".

For the life of me I can not get it to become active.

My script however exits as if it has run successfully.

Please see attached code and punch me in the right direction.

I am running this on XP (WePos)

Kind Regards



Link to comment
Share on other sites


So here is your code:

#region ;**** Directives created by AutoIt3Wrapper_GUI ****
#endregion ;**** Directives created by AutoIt3Wrapper_GUI ****

#include <GUIConstants.au3>

Run("c:\WINDOWS\system32\msiexec.exe /i  c:\support\install.msi  /norestart INSTALL_VX=1 PORT_VX=7")
WinWait("Software Installation", "Continue Anyway")

WinActivate("Software Installation", "Continue Anyway")

If WinActive("Software Installation", "Continue Anyway") Then


Check out msiexec.exe command line options here:



/qn – quiet with no user interface. Same as /quiet, all errors are suppressed.
example :Msiexec /i ProductName.msi /qn


So you can try to change your code to this and see if it works:

Run("c:\WINDOWS\system32\msiexec.exe /i  c:\support\install.msi /qn /norestart INSTALL_VX=1 PORT_VX=7")
Edited by Neutro
Link to comment
Share on other sites

Hi Neutro

Thanks for the reply.

The driver is not registed with windows hence the "software" warning and with that the /qn does not work.

Prior to posting my first message I had investigated this. XP ignores the /qn on unregisted drivers.

I know that the group policies can change driver signing to ignore but that would require our client to do a domain change to 17000 POS's and they are not willing to do that.

It is such a simple task I want to do. :)



Link to comment
Share on other sites


I have tried everything but can not get this screen up correctly.

I ran WinSetState("Software Installation", "", @SW_MAXIMIZE) but it made it full screen which is not the normal size and did not send the "!c".

Hopefully someone out there will have a clue for me.

Kind Regards


Link to comment
Share on other sites

Ok then, what you could try to do is use the "AutoIt Window Info" tool which you can find in the start menu inside AutoIT folder.

When the warning messages pops-up, do a left-clic on the "finder tool" icon, then drag the target to the "continue anyway" button.

After that, on the "Control" tab of the tool, you should see something under "ID" and "Text" lines.

Then you simply need to use the fuction ControlClick("Window name", "Text", ID) and it should work :)

Link to comment
Share on other sites

  • 2 weeks later...

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...