Mozimes Posted December 3, 2022 Share Posted December 3, 2022 Hello together, i feel a little bit stupid, that i can't install simple a program. example program - crystaldiskinfo8_17_12.exe Here my first try Run ("crystaldiskinfo8_17_12") WinWait("Setup - CrystalDiskInfo 8.17.12") ControlCommand("Setup - CrystalDiskInfo 8.17.12","","[CLASS:TNewRadioButton; INSTANCE:1]","Check") but nothing happen. The radiobutton will not selected or clicked. please can somebody explain me what i make wrong? The CLASS i catched with the "AutoIt v3 Window Info" I also try the command "ControlClick" thx Link to comment Share on other sites More sharing options...
Musashi Posted December 3, 2022 Share Posted December 3, 2022 11 minutes ago, Mozimes said: i feel a little bit stupid, that i can't install simple a program. example program - crystaldiskinfo8_17_12.exe Most Setups have a Silent or Unattended option. Take a look at : crystaldiskinfo-silent "In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move." Link to comment Share on other sites More sharing options...
Mozimes Posted December 3, 2022 Author Share Posted December 3, 2022 Hello, thanks for quick request. But if i like to install without the internal cristaldisk-silent functions, how i can make this. crystaldisk was only a example. Maybe other programs i like to install doesn't have silent functions, what i do than? i try general to install a application or have you a link to a good tutorial or something else? everything i found is about programming with autoit Link to comment Share on other sites More sharing options...
Developers Solution Jos Posted December 3, 2022 Developers Solution Share Posted December 3, 2022 For starters: ensure you run the Script elevated with #RequireAdmin so the Script runs at the same level as the installer. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Mozimes Posted December 3, 2022 Author Share Posted December 3, 2022 @Jos thanks. that was my solution. i am confused because i also try start "SciTE Script Editor" and "Run Script (x64) as admin. i mean that have nothing happen. but when i try now the radiobutton change. (without #RequireAdmin inside the script. 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