Processor Posted December 13, 2012 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.
water Posted December 13, 2012 Posted December 13, 2012 Can't you use command line switches to install the product? My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
Processor Posted December 13, 2012 Author Posted December 13, 2012 Oups, I'll check this first and see then if everyhing is ok
Moderators JLogan3o13 Posted December 13, 2012 Moderators 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!
Processor Posted December 15, 2012 Author 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
water Posted December 15, 2012 Posted December 15, 2012 Glad to be of service My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
Raviraj Posted July 27, 2017 Posted July 27, 2017 Run Script or IDE (Visual Studio ) in Administrator mode will work.
Moderators JLogan3o13 Posted July 27, 2017 Moderators 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!
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