Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

setup.iss file is not generated

I have a installshiled project which generates setup.exe file. I'd like to enable silent install by generating proper setup.iss file. I ran the following command:

Setup.exe /r

which lunched the installer, but it never created the setup.iss file. I looked in C:\Windows as the documentation suggested, as well as some other locations (local directory, program files etc.)

Why isn't it created and how to fix?

Thanks,

like image 635
Omer Dagan Avatar asked Nov 05 '13 09:11

Omer Dagan


People also ask

Where is setup ISS?

Run the Command Prompt in Administrator mode as the setup. iss gets created in the C:\Windows folder by default.

What is setup ISS file?

An ISS file is a script used by Inno Setup, a free program used to create Windows program installers. It contains a series of plain text commands that specify where and how a Windows program is installed. ISS files are compiled to create . EXE files.


2 Answers

Ok I found the problem, and a workaround:

The problem was that my msi project was a Basic MSI Project, as opposed to InstallScript and InstallScript MSI projects. This kind of project does not support reading a response file (aka setup.iss). However, there is a way to perform silent installation for the .msi / setup.exe file:

Setup.exe /s /v"/qn"

will do the trick.

All of this information can be found here

like image 42
Omer Dagan Avatar answered Oct 05 '22 23:10

Omer Dagan


Another option is to explicitly state where you want the setup file generated, using the /f1 option:

Setup.exe /r /f1"C:\your\path\here\setup.iss"

Documentation on this can be found here, but here is a summary from that link:

Using the /f1 option enables you to specify where the response file is (or where it should be created) and what its name is, as in Setup.exe /s /f1"C:\Temp\Setup.iss". Specify an absolute path; using a relative path gives unpredictable results. The /f1 option is available both when creating a response file (with the /r option) and when using a response file (with the /s option)

like image 101
jtate Avatar answered Oct 06 '22 01:10

jtate