PDA

View Full Version : Suite install: how to use an ISS answer file



Shuttledude
11-01-2011, 04:35 PM
One of my suite packages is an InstallScript MSI application which uses an ISS "answer" file to install silently. I have generated the answer file (call it "ABC.ISS") and can successfully use it from a command prompt like this:

setup.exe /s /f1"C:\\TEMP2\\ISS\\ABC.ISS"

I can also successfully use the above string as the entry on "Command Line" (under the Install operation for that package).

But since the ISS file will be on the CD, not on the hard drive, I would like to use a path like SRCDIR\ISS\ABC.ISS

How can I define and use a path like this to utilize the ISS file? Will SRCDIR work? I can't use it within double-quotes though (e.g., /s /f1"SRCDIR\\ISS\\ABC.ISS" would not be evaluated).

Anyone have any ideas? I would rather avoid copying the file to the hard drive to use it there.

Shuttledude
11-02-2011, 08:42 AM
Found the answer myself, based on one of the InstallShield blogs at:

http://blogs.flexerasoftware.com/installtalk/2011/09/installing-a-suite-package-operations.html

Basically, all you need to do is:

(1) Include the ISS file in the Support Files (Language Independent is probably the best choice)

(2) Use this on the Command Line for the Install operation:
/s /f1"[SETUPSUPPORTDIR]\ABC.ISS"

Thanks for the info., InstallShield staff! :D