Anton_B Posted December 13, 2019 Share Posted December 13, 2019 Hi, I was wondering if I could get some help. We are trying to install some application that do not support silent installs. so far we have this for the program CleanUP #RequireAdmin Run(@ScriptDir & '\CleanUp452') AutoItSetOption('MouseCoordMode',0) sleep(300) MouseClick("primary", 61,311,1,0) MouseClick("primary", 291,359,1,0) sleep(300) MouseClick("primary", 252,163,1,0) sleep(300) MouseClick("primary", 79,140,1,0) MouseClick("primary", 66,158,1,0) sleep(300) MouseClick("primary", 177,206,1,0) if we run this script from an active screen, it works fine. ManageEngine shows that the install is complete, but nothing runs on the target computer. Is there someone that could give us some advise, or provide a AutoIt script for a program that works in ManageEngine so we can better test it. Thanks Link to comment Share on other sites More sharing options...
orbs Posted December 15, 2019 Share Posted December 15, 2019 @Anton_B, welcome to AutoIt and to the forum. i would recommend: (1) contact the support of the "CleanUp" software and ask for advice on automatic deployment (2) investigate this for yourself - install it on a test machine, examine what files are copied where, discover that it is enough to copy the files over to target machines without the need for the installation process, and automate the process of copying files with your existing means. Signature - my forum contributions: Spoiler UDF: LFN - support for long file names (over 260 characters) InputImpose - impose valid characters in an input control TimeConvert - convert UTC to/from local time and/or reformat the string representation AMF - accept multiple files from Windows Explorer context menu DateDuration - literal description of the difference between given dates Apps: Touch - set the "modified" timestamp of a file to current time Show For Files - tray menu to show/hide files extensions, hidden & system files, and selection checkboxes SPDiff - Single-Pane Text Diff Link to comment Share on other sites More sharing options...
benners Posted December 15, 2019 Share Posted December 15, 2019 As orbs mentioned in option 2. Some installers are complex and some simple, this one seems to be the latter. Looking in the uninstall.ini file in the install dir, it seems to only install files to that directory and creates links in the users start menu folder. It adds a few registry entries for the uninstall as well. Try copying the files in C:\Program Files (x86)\CleanUp to a destination and exporting the registry entries from below for the programs options. The try it on a machine that has not has the installation run. HKEY_CURRENT_USER\Software\stevengould.org If you want to keep the uninstall option, export the registry entries for that as well HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\CleanUp! Link to comment Share on other sites More sharing options...
ViciousXUSMC Posted December 16, 2019 Share Posted December 16, 2019 A few things. This this is a free program I took a look at it. The installer looks like it can be easily automated via Control functions instead of mouse clicks. That will be infinitely better to use IF you had too. Second is I spent a few minutes looking at the FAQ and found "how to run this from a network drive" Multi-user installation to a network drive For intermediate/advanced users, here's another way to install to a network drive for use by any number of users: Install CleanUp! as normal on any machine. Make sure you are connected to the network drive you want to install CleanUp! on - you'll only need around 400K free on the disk (though obviously much more would be recommended just for good system performance outside of CleanUp!). Copy all the files from the CleanUp! installation folder into the deired network folder. Please be sure to copy all the files - including the on-line Help and contents files (*.hlp and *.cnt) - so as to stay within the intent of the (freeware) license. Now you can go to any machine that is also connected to that drive and run CleanUp! directly from that directory. From this you can derive that the installer is simply extracting a "portable" application so you can easily just copy this folder to any machines and it would be "installed" and then of course automate anything as needed with AutoIT Earthshine 1 Link to comment Share on other sites More sharing options...
Anton_B Posted December 18, 2019 Author Share Posted December 18, 2019 Thanks for the help, I was to focused on using AutoIt to install the program didn't think to simply copy the files. Link to comment Share on other sites More sharing options...
Earthshine Posted December 19, 2019 Share Posted December 19, 2019 It could still be easily automated using control clicks if you so wished. But copying the files is much easier My resources are limited. You must ask the right questions 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