Jump to content

crislet01

Members
  • Posts

    14
  • Joined

  • Last visited

Everything posted by crislet01

  1. Hubertus72 many thanks sir it is now working,, U r De MAN.... Many thanks also to all who responded wonderful team of chaps... Best regards
  2. No luck I'm afraid at the moment, here is what I have done... #include <Constants.au3> $PID = Run("C:\temp\scripts\Patchset10gR2\swinstall\Patchset10gR2.cmd", @SystemDir, $STDIN_CHILD + $STDOUT_CHILD) While 1 $line = StdoutRead($PID) If @error Then ExitLoop If StringInStr($line, "Do you want to proceed? [y|n]") Then StdinWrite($PID, "y" & @CRLF) StdinWrite($PID) ExitLoop EndIf Wend but I do not get an input of "Y" Please shutdown Oracle instances running out of this ORACLE_HOME on the local system. (Oracle Home = 'e:\oracle\product\10.2.0\AGILdb') Is the local system ready for patching? Do you want to proceed? [y|n] it then just sits there ...... Also where does one put the Constants.au3 file??? Regards
  3. Many thanks to all of you who are helping out with this. I shall be back in my lab Monday where I shall try all of the examples given. Stay tuned...and thanks again... What a great team....
  4. many thanks sir for taking this up, I'm sure you have many other things todo also.... Anyway always happy to give work to others !!!! In the mean time I shall also give it the good old college try old chap regards
  5. many thanks sir....
  6. Many thanks for taking the time to reply. I am automating an Oracle install that has tree separate scripts to complete such a task. The final script is the only one that requires you to answer Y or N to "are you ready to clone the database" but it is asked through the cmd window not a gui. I have been able to work with the pop up gui during install to answer 'OK' or "next" but I am struggling with this part. Regards
  7. Pretty new to AutoIT and would like to ask this question. can AutoIt monitor a cmd window and reply 'Y' when a certain question is asked? I have a script that requires a user input either Y or N to carry on with the script, just want AutoIT to see this question and answer with a Y. I cannot change the script this is running Many thanks
  8. Chaps, Managed to figure it out with a lot of googling........... WinWaitActive("InstallShield Wizard") If Not WinActive("InstallShield Wizard","") Then WinActivate("InstallShield Wizard","No, I will restart my computer later.") WinWaitActive("InstallShield Wizard","No, I will restart my computer later.") ControlClick("InstallShield Wizard","No, I will restart my computer later.","[CLASSNN:Button2]") Regards
  9. Here is the info requested. many thanks again for your time. >>>> Window <<<< Title: InstallShield Wizard Class: #32770 Position: 511, 10 Size: 504, 381 Style: 0x94C000C4 ExStyle: 0x00010101 >>>> Control <<<< Class: Button Instance: 2 ClassnameNN: Button2 ID: 503 Text: No, I will restart my computer later. Position: 176, 171 Size: 297, 20 ControlClick Coords: 69, 8 Style: 0x50000009 ExStyle: 0x00000004 >>>> Mouse <<<< Position: 759, 213 Cursor ID: 2 Color: 0x424542 >>>> StatusBar <<<< >>>> Visible Text <<<< Yes, I want to restart my computer now. No, I will restart my computer later. < &Back Finish Cancel InstallShield Wizard has finished performing maintenance operations on AGFA IMPAX 5.2 SP3. Remove any disks from their drives, and then click Finish to complete setup.
  10. Thanks Jos but I tried :- WinWait("InstallShield Wizard") WinWaitActive("InstallShield Wizard") ControlClick("InstallShield Wizard","",503) But it still will not select the "no reboot". The reboot is still selected. Regards
  11. Another simple question from a simple person. I have a menu gui with "reboot now" and "no reboot". I would like to select "No reboot" then select the "Finish" button. I can get the "Finish to work but not to select the button I desire. Could you please assist. WinWait("InstallShield Wizard") WinWaitActive("InstallShield Wizard") ControlCommand("InstallShield Wizard", "", "503", "check", "") ;ControlClick("InstallShield Wizard","","503") Niether Controlclick nor ControllCommand work for control ID503 (Button2) Many thanks in advance
  12. Again thanks for the info. I shall give that a try. Was able to get most of the way and I'm sure armed with this info I shall be able to complete the uninstall. Thanks again.
  13. Many thanks sir it did work, now all I need to do is figure out how to cope with the pop up windows and the requred "next" and "ok" etc.
  14. Chaps, My first ever try to create a script to silently uninstall a program using AutoIT so I shall need lots of help. Firstly how can I run this uninstall syntax that I usually use Start -- Run RunDll32 C:\PROGRA~1\COMMON~1\INSTAL~1\engine\6\INTEL3~1\Ctor.dll,LaunchSetup "C:\Program Files\InstallShield Installation Information\{787B967E-DB4F-4313-BBD7-3E2BE0AB49A5}\setup.exe" -l0x9 AddRemoveProgram I guess the few pop up menus information can be collected by using Au3info. Any help would be appreciated. Regards
×
×
  • Create New...