Jump to content

Recommended Posts

Posted

Right want to silently install a small exe for a microscope the science teacher has bought.

 

I've got a bat that so far says

 

echo "Install exploroscope"

\\server\apps\Exploroscope\setup.exe

 

lol which obviously evokes the setup.exe.

 

But how do i make it silent! lol

 

Also is there a way of getting it to check if its installed and if it to not run the setup as that uninstalls it?

 

Thanks

Guest TheLibrarian
Posted

That's going to depend entirely on how the setup was written.

 

First off run the setup with a /? to see if there are any command line switches (that is will tell you about).

 

If it's a well written installer you should be able to do an administative install then use that in your .BAT file to install silently.

 

Some administrative installs still need an .MST to install silently, those can be created quite easily but we can go in to that if it's necessary.

Posted (edited)

depends what installer wrapper it uses depends on what switches it needs for instance

 

AdobeAIRInstaller.exe -silent -eulaAccepted

Quicktime.msi /passive

jre-6u21-windows-i586-s.exe /s /v /qn IEXPLORER=1 ADDLOCAL=ALL UPDATE=1

 

some exe files when run create an msi in the temp folder.

 

possible installers you can google the switches for are "installshield" and "wise"

Edited by browolf
Posted
I've looked for an MSI but couldn't see one...

 

ok so when you run the setup on some screen before it actually does it, it should say who the installer is made by

Posted (edited)
Excellent!

 

So does the above mentioned bit work for getting it to abort if its already installed?

 

what you can do is find the main installed exe file for it and then have you batch script be

 

if not exist "c:\program files\folder\prog.exe" \\server\apps\Exploroscope\setup.exe .....

 

if its something you might have to update I do

 

if not exist c:\progname+version.log \\server\apps\Exploroscope\setup.exe ..... && echo hello > c:\progname+version.log

Edited by browolf

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