Jump to content

Recommended Posts

Posted

Hi All,

 

I am trying to create a batch file to install four .exe programs instead of manually installing them.

 

I have googled it but having not much luck at the moment.

 

I am a complete newb to it so any help from basics would be great.

 

Thanks in advance

Posted
Sometimes if you run C:\filename.exe /? from a command prompt, it may/may not give you optional settings for installing silently or extracting an MSI for example.
  • Thanks 1
Posted

It depends how complicated/error checking etc you want to go, whether it's remote installer/shared drives/mapping/remote install etc etc but the basics really are as simple as:

 

Get commands to install manually (e.g. MyExe /silent)

Write in notepad and Save as "myname".bat

 

Obviously depends on what you're installing etc so might be worth expanding a bit on it :)

 

Steve

  • Thanks 1
Posted

Java and Flash both have MSIs, so you can install these either via Group Policy or silently using a batch file if you so wish.

 

Not sure about Air, but wouldn't be surprised if you can extract an MSI out of it.

  • Thanks 1
Posted
Java and Flash both have MSIs, so you can install these either via Group Policy or silently using a batch file if you so wish.

 

Not sure about Air, but wouldn't be surprised if you can extract an MSI out of it.

 

how would I set up a batch file for it?

Posted

Manually or automated/logon script?

 

As you'll need to include things like mapping drives if you need them etc into the script.

 

Steve

Posted
Manually or automated/logon script?

 

As you'll need to include things like mapping drives if you need them etc into the script.

 

Steve

 

itll be a manual install so I can run it to update the above.

 

I wont be mapping shared drives. its just to install the programs from a shared drive

Posted

Just put the default UNC paths and the command line you want in then and that should be it.

 

e.g. msiexec /i \\FILEHOST\packages$\jre1.8.0_45\jre1.8.0_45.msi /q

 

Put 4 in a row and they'll fire off after eachother. Very basic and not really any logic to it in terms of checks/errors

 

Steve

  • Thanks 1
Posted
I will be installing Java, Flash, Air and Reader from a shared drive.

All of those programs have MSIs available so deployment will be easy.

 

However most people customize the installers prior to deployment (via MSTs for example) in order to disable automatic updates, EULAs, delete desktop shortcuts etc.

 

  • Adobe Reader (now Acrobat Reader). Download and install the Customization Wizard then open the MSI and modify the relevant settings.
  • Adobe AIR. Follow the instructions here.
  • Adobe Flash Player. Use an mms.cfg file to disable automatic updates (since standard users won't have the rights to install them). See pages 24 and 31 of the admin guide or search Edugeek for mms.cfg.
  • Java. Check this thread for details on how to extract the MSI and the command-line parameters to use.

I can post more detailed instructions if required. :)

  • Thanks 1
  • 9 months later...
Posted

To complete silent install third party like Java, Adobe with msi use this comand :

@echo install Google Chrome

start /wait msiexec /i "%~dp0%googlechromestandaloneenterprise.msi%" /qn /l*

 

Copy the command on the notepad file and save like "install.cmd". Rename application.msi with your msi name file.

Copy the msi file and install.cmd into 1 folder.

Run As administrator and Done.

 

In this site you can learn more information about silent install command.

Posted
Java and Flash both have MSIs, so you can install these either via Group Policy or silently using a batch file if you so wish.

 

Not sure about Air, but wouldn't be surprised if you can extract an MSI out of it.

 

You can extract the msi from air using 7zip or winrar

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



×
×
  • Create New...