Processor Posted December 13, 2012 Share Posted December 13, 2012 Hi, My purpose is to automate of a product build with installshield. If I use timers it works but there is not really any control on the window the scritpt is working on. that's why I wanted ti use the function winwaitactive to be sure that we are on the right window. I tested it with notepad and it was ok. I wrote this: winactivate ("untitled","") winwaitactive ("[CLASS:notepad]", "toto") msgbox (0,"test", "test window") and the message box appear only if toto is written in notepad. Now in the installshield process it does not work and I don't know why: this is the code: winactivate ( "Server installation", "") winwaitactive ("[CLASS:edit; INSTANCE:1]","") send ("toto") to be sure to check the right window I used AutoIt Windows Info and this is what I got: >>>> Window <<<< Title: Server Installation bla bla bla >>>> Control <<<< Class: Edit Instance: 1 bla bla So I guess I'm on the right window, any idea why my installshield is not right detected by AutoIt 3? thx bye advance for yoru help. Processor. Link to comment Share on other sites More sharing options...
water Posted December 13, 2012 Share Posted December 13, 2012 Can't you use command line switches to install the product? My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Processor Posted December 13, 2012 Author Share Posted December 13, 2012 Oups, I'll check this first and see then if everyhing is ok Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted December 13, 2012 Moderators Share Posted December 13, 2012 Being an InstallShield product, even if it is a setup.exe it likely has an MSI packed inside. You should be able to extract the MSI, and this opens up a bevy of command line options. "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...
Processor Posted December 15, 2012 Author Share Posted December 15, 2012 Hi, So I used the command line with unattend response file. I used Autoit to customize the response files as it should unique for each of my pc. thx for you suggestions. bye Link to comment Share on other sites More sharing options...
water Posted December 15, 2012 Share Posted December 15, 2012 Glad to be of service My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Raviraj Posted July 27, 2017 Share Posted July 27, 2017 Run Script or IDE (Visual Studio ) in Administrator mode will work. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted July 27, 2017 Moderators Share Posted July 27, 2017 @Raviraj do you realize this is a 5 year old post, that had already been resolved? Please do not resurrect old threads. "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...
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