Jump to content
Sign in to follow this  
Pseudonymous

New to autoIT first project need help!

Recommended Posts

Pseudonymous

the goal is to auto install an application with 1 click.

so far I have this.

Run("C:\Users\hjohnson\Desktop\ALLIT-GMU-CHT Remote Support Standard Procedures\..1..ccsetup321.exe")

Winwaitactive("(installer language)")

Send("{enter}")

The program launches but does not seem to register "enter", but when I press enter on my keyboard it goes to the next step of the installation process. So I am not understanding if I am doing the send wrong? I have tried the send that holds the key but no better result. Please help.

Share this post


Link to post
Share on other sites
water

Welcome to AutoIt and the forum!

You posted in the wrong forum. The developer forum is "A place for the v3 developers and C++ geeks to talk."

Please post questions in the General Help and Support or the Graphical User Interface (GUI) Help and Support forum.

Edited by water

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (2018-06-01 - Version 1.4.9.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2018-09-01 - Version 1.3.4.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites
JLogan3o13

Hi, Pseudonymous. It appears from your post that you're trying to automate the install of CCleaner. Is there any reason you're not just doing a silent install, rather than trying to click your way through the GUI install? Something like this should suffice:

ShellExecuteWait("ccsetup321.exe", '/s')

If you're interested in all the command line options, you can check here : http://www.piriform.com/docs/ccleaner/advanced-usage/command-line-parameters


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
Mechaflash

I second JLogan. Don't try to automate a installer that has silent switches. It's just faster and much less of a headache to used the provided silent install feature.

http://www.piriform.com/docs/ccleaner/advanced-usage/command-line-parameters


Spoiler

“Hello, ladies, look at your man, now back to me, now back at your man, now back to me. Sadly, he isn’t me, but if he stopped using ladies scented body wash and switched to Old Spice, he could smell like he’s me. Look down, back up, where are you? You’re on a boat with the man your man could smell like. What’s in your hand, back at me. I have it, it’s an oyster with two tickets to that thing you love. Look again, the tickets are now diamonds. Anything is possible when your man smells like Old Spice and not a lady. I’m on a horse.”

 

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×