gmoney Posted February 22, 2022 Posted February 22, 2022 I am not an AutoIT user/scripter & have a requirement to install AutoIT on several Windows 10 dev machines via ConfigManager. Downloaded the current realease AutoIt v3.3.14.5. Created a simple, straightfoward install using the downloaded EXE & "/S". It installs to the expected " \Program Files (x86)\AutoIt3" folder. Also need to create a comanion "Uninstall" for same. What is the syntax and/or how do I call "Uninstall.exe" from the program install to complete this uninstall? IF I attempt to run the "Uninstall.exe" from an elevated command prompt, it throws a "NSIS Error - error launching installer" dialog - which seems to indicate that the NSIS compiled "Unistall.exe" itself is broken/corrupt?? Searching the forum, I cannot find an answer. Thanks in advance!
Earthshine Posted February 22, 2022 Posted February 22, 2022 you can look in the registry for the uninstallation string. My resources are limited. You must ask the right questions
Developers Jos Posted February 22, 2022 Developers Posted February 22, 2022 Are you running the UNINSTALL command as Administrator? 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.
gmoney Posted March 2, 2022 Author Posted March 2, 2022 (edited) Thank you both... I am running UNINSTALL as admin , but checked for the uninstall string in the registry. I found the uninstall string for AutoIt in the "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\AutoItv3" location. Command line is as I expected: "C:\Program Files (x86)\AutoIt3\Uninstall.exe" Still digging. Firing the Unstall.exe in the AutoIT install folder, but fighting McAfee to run it outside of SCCM. Thanks again. Edited March 2, 2022 by gmoney Updated after more digging
abberration Posted March 2, 2022 Posted March 2, 2022 I tested the following line and it worked perfectly. This was on Win10 Enterprise on a VM local machine, no security software. Run("C:\Program Files (x86)\AutoIt3\Uninstall.exe /S") Have you tried adding #RequireAdmin to the top of your script? How about RunAs instead of Run (domain credentials can be tricky with this)? What about whitelisting the script/exe in McAfee? Easy MP3 | Software Installer | Password Manager
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