Little-Miss Posted October 14, 2010 Posted October 14, 2010 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
jamesreedersmith Posted October 14, 2010 Posted October 14, 2010 put -silent after the command eg \\server\apps\Exploroscope\setup.exe -silent 1
Guest TheLibrarian Posted October 14, 2010 Posted October 14, 2010 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.
Guest TheLibrarian Posted October 14, 2010 Posted October 14, 2010 As for checking use the "if NOT exist [filename] \\server\apps\Exploroscope\setup.exe" to check for a file that is installed by the app and run setup if it is not found.
tosh74 Posted October 14, 2010 Posted October 14, 2010 Use 7zip to extract any files from the Setup.exe. With any luck there will be a msi in there 1
browolf Posted October 14, 2010 Posted October 14, 2010 (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 October 14, 2010 by browolf
Little-Miss Posted October 14, 2010 Author Posted October 14, 2010 I've looked for an MSI but couldn't see one...
somabc Posted October 14, 2010 Posted October 14, 2010 I would create your own MSI using AppDeploy Repackager - Dell KACE™ Turn off AV, then using the packager run through the install manually. Once finished it will spit out an MSI You can deploy this with group policy or using a bat file. start filename.msi /qb- 1
browolf Posted October 14, 2010 Posted October 14, 2010 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
Little-Miss Posted October 14, 2010 Author Posted October 14, 2010 Hmm Macrovision or Installshield...lol
browolf Posted October 14, 2010 Posted October 14, 2010 install shield switches: AppDeploy > Tips > InstallShield Setup Silent Installation Switches 1
Little-Miss Posted October 14, 2010 Author Posted October 14, 2010 Excellent! So does the above mentioned bit work for getting it to abort if its already installed?
browolf Posted October 14, 2010 Posted October 14, 2010 (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 October 14, 2010 by browolf
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