Sign in to follow this  
Followers 0
MrYdremark

Automated Installation of multiple programs

6 posts in this topic

Hi.

I'm thinking about creating some sort of automated installation script for multiple programs. Let's say I have 10 programs that has to be installed and configured.

My first plan was/is to create a GUI with options for each program. Like installation location,
language, and so on. This way, I can have a GUI with options for all 10 programs that you can configure before installation. Then you can just deploy the script and it would install the programs, without need of any user interaction.

I'm pretty new to AutoIt but have tried it out for a couple of days now and I don't see any problem in doing it this way.

The problem is that I don't want to manually add programs to the GUI and configuration options to the GUI. I would like a choice in the GUI like "Add program" which allows the user to choose a program (program.exe). Another script would then go through the installation wizard automatically and some how find all relevant input needed to install the program, add these options to the GUI with a connection to a newly created installation script for the new program which is being generated while the script goes through the wizard.

Something like this:

                Connections between GUI and Script
   ------<----------<-----------<---------<-----------<----------<-----------
  /                                                                                             
GUI --> Add Program Button --> RunThroughInstallation         
                                                         /                                        
   ------<---------<---------<--------<-----/              -------------> ProgramInstallerScript

            Adds options to GUI

Do you think this is possible? How would I approach this? I haven't seen any software that does this, have I missed something?

I'm not looking for someone who can do this for me. Just want to know if anyone think its possible and how they would do it. The hardest thing (at least I think) is to get everything together, and maybe the automated "RunThroughInstallation" script.

Thanks
/Anders

Share this post


Link to post
Share on other sites



I created something similar for a company I was doing work for that had no automated means of software delivery, I'll see if I can dig that up so you can see how I went about it. IIRC, I used an ini file for both the application and the command line switches for it.

The problem I would see with you allowing users to add an application install is the install switches. As every application is going to have different args, the end user will need to know this and you will need to prompt them for the input. Also, if they select an application that does not support command line switches or silent installs, the application will fail because it won't be able to manipulate the GUI


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

The >Vollatran projekt might give you some good ideas.


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

You could put an INI file on a network share that you control and others can read. Then use that INI file to generate the list of softwares available and have their associated installation command line parameters in the INI file as well. You would then be able to control the list of softwares that users could install and all changes in the list would be immediately available to all users. I have done something similar to this for printers in our enterprise locations that do not have servers.

You could even poll the installed programs on the client system and disable any list entries that are already installed on the client so that they could not re-install programs.


Who lied and told you life would EVER be fair?

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

I created an application does time. See the signature. It's very simple. But does something like what you want

Edited by GordonFreeman

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
Sign in to follow this  
Followers 0