autolt123

merge Autoit and an exe file to one

14 posts in this topic

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

Share this post


Link to post
Share on other sites



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 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

@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.

Share this post


Link to post
Share on other sites

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 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

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 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

@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 :D

 

Share this post


Link to post
Share on other sites

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 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

@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.

Share this post


Link to post
Share on other sites

@orbs, @water

Thank you for your help. But how do i use the fileinstall command in autoit? So how is it build?

Share this post


Link to post
Share on other sites

 

 

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