TMcvay Posted April 28, 2015 Share Posted April 28, 2015 Hello,I am new to Autoit and thus far love the tool.. I am attempting to create a software silent install package.. After the software installs the window changes to a Windows Form with an install and don't install button to also install an Excel Plugin. I have been looking for resolution on the Forums and have found some ideas but nothing has worked to allow me to select the install buttons.. Here is what I have tried..WinWait('[TITLE:Microsoft Office Customization Installer; CLASS:WindowsForms10.Window.8.app.0.378734a]', 'Argus.ArgusOBA.ExcelAddin2007')WinActivate('[TITLE:Microsoft Office Customization Installer; CLASS:WindowsForms10.Window.8.app.0.378734a]', 'Argus.ArgusOBA.ExcelAddin2007')MouseClick('left', 423,247, 1, 1)ControlClick('[Title:Microsoft Office Customization Installer; CLASS:WindowsForms10.Window.8.app.0.378734a]', '[CLASS:WindowsForms10.BUTTON.app.0.378734a; Instance:2]')I have even triedSend('{left}{Enter}') after the window activation..Here is the Window Summary>>>> Window <<<<Title: Microsoft Office Customization InstallerClass: WindowsForms10.Window.8.app.0.378734aPosition: 876, 268Size: 576, 273Style: 0x16C00000ExStyle: 0x00050101Handle: 0x000000000055089E>>>> Control <<<<Class: WindowsForms10.BUTTON.app.0.378734aInstance: 2ClassnameNN: WindowsForms10.BUTTON.app.0.378734a2Name: Advanced (Class): [CLASS:WindowsForms10.BUTTON.app.0.378734a; INSTANCE:2]ID: 3147234Text: &InstallPosition: 376, 208Size: 91, 28ControlClick Coords: 44, 14Style: 0x5601000BExStyle: 0x00000000Handle: 0x00000000003005E2>>>> Mouse <<<<Position: 423, 247Cursor ID: 0Color: 0xDDDDDD>>>> StatusBar <<<<>>>> ToolsBar <<<<>>>> Visible Text <<<<Publisher cannot be verifiedAre you sure you want to install this customization?file://financeapp1/dcf/OBA/Argus.ArgusOBA.ExcelAddin2007.vstoName:From:Publisher:Unknown PublisherArgus.ArgusOBA.ExcelAddin2007While Office customizations from the Internet can be useful, they can potentially harm your computer. If you do not trust the source, do not install this software. More Information...&Don't Install&InstallAny help with this would be greatly appreciated!! Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted April 28, 2015 Moderators Share Posted April 28, 2015 Just out of curiosity, why aren't you just calling VSTOInstaller.exe with the silent switches, rather than trying to manipulate the GUI? "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
TMcvay Posted April 28, 2015 Author Share Posted April 28, 2015 (edited) This package will be used in a KACE Deployment for our pc images.. If I cant find a way to terminate this window the deployment will hang thinking that the software install is not completed and the systems will not finish.. So regardless of how the plugin is installed I still need a way to get past this GUI.. As this plugin install comes after the software package I need was created and completed. I am not calling the vsto.. It is being call by an installation however I may be able to turn this off and then use VSTOInstaller.exe to do the install that this GUI is prompting.. I will give it a shot. Edited April 28, 2015 by TMcvay 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