Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Creating a silent install response file


4 replies to this topic

overlordchin

overlordchin
  • Full Members
  • 100 posts

Posted 13 February 2012 - 18:05

So I tried various ways of creating a response file in record mode but no matter what i passed to my setup.exe no response file was created.

As such I tried to manually create one based off a guide I found here:

Response File Guide

My response file looks like the following
CODE
[Installshield Silent]
Version=v7.00
File=Response File

[Application]
Name=My Installer
Version=1.0.00
Company=My Company

[{C6642AF6-6E27-43C4-9C99-E53257D47EA5}-DlgOrder]
Dlg0={C6642AF6-6E27-43C4-9C99-E53257D47EA5}-InstallWelcome
Count=3
Dlg1={C6642AF6-6E27-43C4-9C99-E53257D47EA5}-LicenseAgreement
Dlg2={C6642AF6-6E27-43C4-9C99-E53257D47EA5}-ReadyToInstall
Dlg3={C6642AF6-6E27-43C4-9C99-E53257D47EA5}-SetupCompleteSuccess


[{C6642AF6-6E27-43C4-9C99-E53257D47EA5}-InstallWelcome]
Result=1

[{C6642AF6-6E27-43C4-9C99-E53257D47EA5}-LicenseAgreement]
Result=1

[{C6642AF6-6E27-43C4-9C99-E53257D47EA5}-ReadyToInstall]
Result=1

[{C6642AF6-6E27-43C4-9C99-E53257D47EA5}-SetupCompleteSuccess]
Result=1



The issue is that when I call my installer with the following arguments it seems to start silently at first but then loads up the dialog sequence anyways.

MySetup.exe -s -f1c:\mytest.iss OR MySetup.exe /s /f1c:\mytest.iss


I also tried putting -0 after each dialog name. The guide shows "SdWelcome-0" But if I navigate to the dialog section of my installer I see the name as "InstallWelcome". I also read it is possible to have a flag set that disallows silent mode or record mode. It is possible this is set in my Installer but I do not know what or where this flag would be.

Edited by overlordchin, 13 February 2012 - 18:06.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 14 February 2012 - 11:08

Response files are for InstallScript setups. If your setup is a Basic MSI project, you can't use a response file.

overlordchin

overlordchin
  • Full Members
  • 100 posts

Posted 22 May 2012 - 19:17

So I was not clever enough in my phrasing of the question to get the response I needed buy thanks to Stefan for responding and pushing me in the direction I needed to actually go I found that I could silently install my msi based installer with msiexec /s /v"/qn" I had assumed the response file was the appropriate. Just wanted to update the post in case someone else bumps into this issue as well.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 23 May 2012 - 17:08

Sorry if my reply was too short and sounded rude. I think, essentially I wanted to ask: "Which project type are you actually using?"

overlordchin

overlordchin
  • Full Members
  • 100 posts

Posted 23 May 2012 - 17:23

Not at all Stefan...

I phrased my question wrong because I didnt know what I really needed or even needed to ask at the time. Your response was helpful in pushing me towards what I really needed. I only added the comment so that anyone who searches the same way I did will find it and get to the solution quicker.

The comment was not intended to offend or infer anything about support of you or anyone else in the community. I am extremely thankful for the level of support and patience you have shown thus far with my posts