jamin6900
Posts: 11
Joined: Thu Nov 15, 2012 8:18 pm

Install Commman Line Options - working with repsonse files

I have been trying to get a msi built that requires a .exe within it to be run silently with a response file that specifies launguage and license agrement. But unfortunately I can not get this silent process with repsonse file to cooperate.

If I run a command line for the silent repsonse file manually from my computer: D:\BPC\bpc1\Client\setup.exe -s -f1c:\BPC\bpc1\Client\setup.iss it runs silently with the response file as expected.

Now, trying to get this to process as desired, I have told the msi installer to place my response file in a specific folder in c:\windows\temp (which hapens prior to the launch of the internal exe) and then using the prerequisite Install Command Line option: Silent (no UI), I enter this command: -f1"c:\windows\temp\bpc1\Client\setup.iss". I have tried this with and without the quotes around the target location, I have tried a space in front of the -f, I have tried this with the -f and /f, I have tried making the entire package a .exe instead of a .msi.... I can not get the silent process to work at all, let alone the response file.

There is very little information about this on this forum or on the web about this except for this one post which seems to have no resolution: http://www.advancedinstaller.com/forums ... php?t=1580

Any assistance with this issue is very much appreciated.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Install Commman Line Options - working with repsonse fil

Can you please specify exactly what fails? Maybe share a verbose log with us?

Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jamin6900
Posts: 11
Joined: Thu Nov 15, 2012 8:18 pm

Re: Install Commman Line Options - working with repsonse fil

Well nothing fails, it just will not run in silent mode and use the answer file, instead it comes up with Full UI looking for user input. I can not seem to get the Silent (NoUI) to respond to this command:
-s -f1c:\windows\temp\bpc1\setup.iss

Though it woirks outside of Advanced installer with the response file and the silent switches. I can try to turn on a log, but like I said, it runs the post install prerequisite in FUll UI everytime no matter what so I do not know if there is a way to understand why it is not running in silent mode.

Happy to get information if it is available to try and resolve this..
jamin6900
Posts: 11
Joined: Thu Nov 15, 2012 8:18 pm

Re: Install Commman Line Options - working with repsonse fil

Just to clarify, it is not the main exe that I am building that I am looking to run in silent mode, it is the embedded .exe's that I have setup for post install prerequisites that I am trying to get to respond to silent install with response file.
jamin6900
Posts: 11
Joined: Thu Nov 15, 2012 8:18 pm

Re: Install Commman Line Options - working with repsonse fil

Okay so I have found a resolution to my problem. Once I changed the bootstrapper to be silent (no ui), then my commands to run the prerequisites in silent mode also worked.

Simple solution to a simple problem, a simple problem that took about 15 hours to get through. Hope this thread helps someone else from not spending all that time troubleshooting.
jamin6900
Posts: 11
Joined: Thu Nov 15, 2012 8:18 pm

Re: Install Commman Line Options - working with repsonse fil

I would like to also add, that since I used the "Addtional Files" button on the Prerequisite Setup Tab and added my setup.iss responsefile, it was placed in the same working directory as this silent installer.

I only ended up needing to make the -s command in Hidden (NoUI) command and then make the entire msi hidden for this to all work properly.
AnneTheAgile
Posts: 61
Joined: Wed Jun 08, 2011 9:53 pm

Re: Install Commman Line Options - working with repsonse fil

Thank you! Your post helped me understand the "setup.iss" "answers file" better in the AIP context. I have never seen the main AIP installer create one, right?

Return to “Building Installers”