Jump to content

Recommended Posts

Posted

Hi, Greetings to all forum members

I'm trying to create an unattended installation of Expert Pdf 6 using ControlClick AutoIt command, but with no luck.

Please someone can tell me how to edit the script so it works properly

Run("expertpdf_v6_avanquest_trial_uk.exe")
WinWaitActive("eXPert PDF 6 - Welcome")
Sleep(5000)
ControlClick("eXPert PDF 6 - Welcome", "", "[CLASS:Button; INSTANCE:1]")
Sleep(1000)
ControlClick("eXPert PDF 6 - License Agreement", "", "[CLASS:Button; INSTANCE:5]")
Sleep(1000)
ControlClick("eXPert PDF 6 - License Agreement", "", "[CLASS:Button; INSTANCE:2]")
Sleep(1000)
ControlClick("eXPert PDF 6 - Setup Type", "", "[CLASS:Button; INSTANCE:4]")
Sleep(1000)
ControlClick("eXPert PDF 6 - Finish Wizard", "", "[CLASS:Button; INSTANCE:6]")
Sleep(1000)
ControlClick("eXPert PDF 6 - Finish Wizard", "", "[CLASS:Button; INSTANCE:5]")
Sleep(1000)
ControlClick("eXPert PDF 6 - Finish Wizard", "", "[CLASS:Button; INSTANCE:4]")

ExpertPdf 6 trial http://www.mediafire.com/?rfxaqabl3wualjq

Posted

If it is for own usage you could use standard contolclicks with coords.

Check this out:

Play arround with it. Give coords where to check and if u modify it a bid maybe it could help you.

I feel nothing.It feels great.

Posted

@caleb41610 i don't have problem to lunch the installer

@JohnOne yes I have tried /quiet switch but it doesn't work

@ileandros I tried with controlclick mouse chords but I did not succeed

Thanks for the help, but please other suggestions

Posted

Hi JohnOne

The problem is when I lunch the script, start the program installation but ControlClick command are not executed. As result I can see on the screen a simply installation window that ask me to continue program setup, but i'd like that AutoIt runs ControlClick command.

I partially solved my problem because I found \s switch to perform a silent installation.

Anyway I'm really interested in the AutoIt script, it can be usefull in other circumstance

  • Moderators
Posted

Version 6 install versus Version 8 release?

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Posted

I solved the problem

Run("expertpdf_v6_avanquest_trial_uk.exe")
WinWaitActive("eXPert PDF 6 - Welcome")
ControlClick("eXPert PDF 6 - Welcome", "", "[CLASS:Button; INSTANCE:1]")
sleep(1000)
ControlClick("eXPert PDF 6 - License Agreement", "", "[CLASS:Button; INSTANCE:5]")
sleep(1000)
ControlClick("eXPert PDF 6 - License Agreement", "", "[CLASS:Button; INSTANCE:2]")
sleep(1000)
ControlClick("eXPert PDF 6 - Setup Type", "", "[CLASS:Button; INSTANCE:4]")
sleep(15000)
ControlClick("eXPert PDF 6 - Finish Wizard", "", "[CLASS:Button; INSTANCE:6]")
sleep(1000)
ControlClick("eXPert PDF 6 - Finish Wizard", "", "[CLASS:Button; INSTANCE:5]")
sleep(1000)
ControlClick("eXPert PDF 6 - Finish Wizard", "", "[CLASS:Button; INSTANCE:4]")

Thanks to all, and a splecial thank to jdelany: your suggestion was very usefull

Posted

I solved the problem

Run("expertpdf_v6_avanquest_trial_uk.exe")
WinWaitActive("eXPert PDF 6 - Welcome")
ControlClick("eXPert PDF 6 - Welcome", "", "[CLASS:Button; INSTANCE:1]")
WinWaitActive("eXPert PDF 6 - License Agreement")
ControlClick("eXPert PDF 6 - License Agreement", "", "[CLASS:Button; INSTANCE:5]")
sleep(1000)
ControlClick("eXPert PDF 6 - License Agreement", "", "[CLASS:Button; INSTANCE:2]")
WinWaitActive("eXPert PDF 6 - Setup Type")
ControlClick("eXPert PDF 6 - Setup Type", "", "[CLASS:Button; INSTANCE:4]")
WinWaitActive("eXPert PDF 6 - Finish Wizard")
ControlClick("eXPert PDF 6 - Finish Wizard", "", "[CLASS:Button; INSTANCE:6]")
sleep(1000)
ControlClick("eXPert PDF 6 - Finish Wizard", "", "[CLASS:Button; INSTANCE:5]")
sleep(1000)
ControlClick("eXPert PDF 6 - Finish Wizard", "", "[CLASS:Button; INSTANCE:4]")

Thanks to all, and a splecial thank to jdelany: your suggestion was very usefull

Maybe, but you still missing the point, look at the altered code for clues.

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...