/build/static/layout/Breadcrumb_cap_w.png

Kace 1000 - Run .bat using an .iss file

Does anyone have an example of deploying and running a .bat file that uses an .iss file? We are having issues. :( Thanks!

0 Comments   [ + ] Show comments

Answers (3)

Posted by: BHC-Austin 9 years ago
4th Degree Black Belt
1

Here's an example of a BAT file that we use to install an application that uses a .iss file:

@echo off

 

REM Make sure we're executing from the same directory as the BAT file

cd /d "%~dp0"

 

REM Run the setup

setup.exe /s /f1"%~dp0silent.iss"

As you can see, one of the things I found useful is the %~dp0, which expands out to the full patch of the batch file being run. As long as the batch file is in the same directory as all the setup files (which it would be if you zipped it all up and deployed from K1000) .

I've also found that some setups don't like using long file names for the .iss file. If that's the case, you can use %~dps0, which expands out to the short filename version of the path.

Posted by: Badger 9 years ago
Red Belt
0

That does seem a bit cryptic. But the answers supplied match what is in my head.

I use the %~dp0 thing on ALL of the installs I do (for the EXE or MSI and the ISS or MST) . Even though most are deployed via SCCM. It provides a nice simple test of a silent install before SCCM gets involved.

Send us a few more clues.... you will get some better clearer answers

Posted by: EdT 9 years ago
Red Belt
-2
You need to clarify and give examples of what you are doing at the moment.
A bat file does not "use" an .iss file in any meaning I can figure out.
Are you trying to say that you are running an Installshield EXE and trying to pass it an .iss file that should enable a silent installation?  If you are having issues with this, we need to know what the issues are, as there are many possibilities and there is no point covering them all as you could find all this via Google.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ