autolt123 Posted May 23, 2016 Share Posted May 23, 2016 Hello, i am very new to this topic, but i have a big problem with autoit and an exe file. My attention is to merge this two files into one, so you only must start one program and everything else starts itsselft. For exmaple in the installation the program needs my approval to some guidelines, but i dont want to interact. So i created an autoit file which do this for me. Now my question, how can i get this two files into one working non interacting file? Greetings Link to comment Share on other sites More sharing options...
water Posted May 23, 2016 Share Posted May 23, 2016 Welcome to AutoIt and the forum! I'm not sure I fully understand what you want to achieve, but maybe FileInstall is what you are looking for. This allows to add other files to a compiled AutoIt script. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
autolt123 Posted May 23, 2016 Author Share Posted May 23, 2016 @water i need to merge the autoit file, which clicks forward in the installation progress and the exe file, which has to be execute, because i want that the instlaation goes forward on other pcs in my company without interacting. Link to comment Share on other sites More sharing options...
water Posted May 23, 2016 Share Posted May 23, 2016 Which program do you try to install? Most offer a silent installation option. So no interaction would be needed. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
autolt123 Posted May 23, 2016 Author Share Posted May 23, 2016 13 minutes ago, water said: Which program do you try to install? Most offer a silent installation option. So no interaction would be needed. I want to install Skype, where you have to interact. There is no silent solution. Link to comment Share on other sites More sharing options...
water Posted May 23, 2016 Share Posted May 23, 2016 How about this one? https://gallery.technet.microsoft.com/Skype-63-Silent-Installer-74a99dcd My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
water Posted May 23, 2016 Share Posted May 23, 2016 Or use Orca to create a silent installation exe: https://www.itsupportguides.com/configmgr-sccm/silently-install-skype/ My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
autolt123 Posted May 23, 2016 Author Share Posted May 23, 2016 7 minutes ago, water said: Or use Orca to create a silent installation exe: https://www.itsupportguides.com/configmgr-sccm/silently-install-skype/ The first link dont work for me, i have tested it so far. But i will test the second one.Thank you for your help. Link to comment Share on other sites More sharing options...
autolt123 Posted May 23, 2016 Author Share Posted May 23, 2016 @water So i tested the second link, but i cant configure the SCCM, because i not own a sscm database :/ The only thing i want is to implement the script into the exe Link to comment Share on other sites More sharing options...
water Posted May 23, 2016 Share Posted May 23, 2016 Script into Exe does not work (AFAIK), but Exe into script works. When you use FileInstall to add the Skype Exe to the compiled AutoItscript then the result is a single Exe including Skype and the script. When you run the compiled script the Skype Exe is written to a defined location. You can then start Skype by the script and do whatever you need to do. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
orbs Posted May 23, 2016 Share Posted May 23, 2016 @autolt123, first, know that you fell victim to the psychopaths who made uppercase I look like lowercase L inmost systems and website default font; so it's actually AutoIt , not autolt, so change your username. now, Skype has an MSI installer. the link is on the first link provided by @water. that alone is all you need, as you can install it silently with msiexec.exe, which is a part of any Windows system. try it: open a cmd session, type msiexec and hit Enter. if that was only an example and what you are interested is embedding an installer into your compiled AutoIt script, then indeed FileInstall() is your solution. 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...
autolt123 Posted May 23, 2016 Author Share Posted May 23, 2016 @orbs, @water Thank you for your help. But how do i use the fileinstall command in autoit? So how is it build? Link to comment Share on other sites More sharing options...
orbs Posted May 23, 2016 Share Posted May 23, 2016 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...
Bert Posted May 23, 2016 Share Posted May 23, 2016 if the file is an MSI have you tried command line switches? The Vollatran project My blog: http://www.vollysinterestingshit.com/ 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