GoogleDude Posted November 2, 2006 Share Posted November 2, 2006 I am trying to make a Completely silent install of an MSI installer and have whipped up a script that works but is not silent as much as it is automated. My question is Is there any way I can use ControlClick and Send functions to a window that is/was made hidden via the WinSetState("Installing App","",@SW_HIDDEN) function? I tried it but all it does it hides the window but does not look like it continues on with the install so I end up having to go into Task manager and start killing proccess. Many thanks in advance, GoogleDude Link to comment Share on other sites More sharing options...
MHz Posted November 2, 2006 Share Posted November 2, 2006 I am trying to make a Completely silent install of an MSI installer and have whipped up a script that works but is not silent as much as it is automated. My question is Is there any way I can use ControlClick and Send functions to a window that is/was made hidden via the WinSetState("Installing App","",@SW_HIDDEN) function?I tried it but all it does it hides the window but does not look like it continues on with the install so I end up having to go into Task manager and start killing proccess.Many thanks in advance,GoogleDudeThe /qn switch will do a silent install with a msiexec otherwise you use AutoIt to automate it. Send will not work with a hidden window so you would need to try to use ControlSend. WinSetState will affect the target window but would need to be used the the next window also so you would get a flickering of windows during the install. An alternative is to WinMove the 1st window off screen and automate it there. MouseClick will not be available if you automate off screen.I would use the msiexec switches if appropiate for the install, else would suggest WinMove for automation if silent operation is required. Link to comment Share on other sites More sharing options...
GoogleDude Posted November 2, 2006 Author Share Posted November 2, 2006 Thanks for the reply I think the WinMove might do the trick as soon as I can find a pixel number that is off the screen and then bring it back to center screen at the end. GoogleDude Link to comment Share on other sites More sharing options...
GoogleDude Posted November 2, 2006 Author Share Posted November 2, 2006 the MSI I am trying to install asks for info such as a Description name and email and password. How could I hide everything but the Description field? other than just doing ControlClick and WinMove? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now