Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to compile Innosetup script in Silent mode?

Tags:

inno-setup

I want to compile the innosetup script in Silent mode using command prompt. Using this method, i can compile the innosetup script "Compil32 /cc "mypath\myscript.iss" Then compilation happened successfully,but innosetup script window opening during compilation, i don't want to open the innosetup scrip window during compilation,How can i proceed that using the below link http://www.jrsoftware.org/ispphelp/index.php?topic=isppcc

In that link they provide "/Q" command line, but i don't know where to use the command line for silent compilation. Any help????

like image 773
Lokesh Avatar asked May 23 '13 14:05

Lokesh


People also ask

Is Inno Setup free for commercial use?

Inno Setup is a free installer for Windows programs by Jordan Russell and Martijn Laan.

What is Suppressmsgboxes?

/SUPPRESSMSGBOXESInstructs Setup to suppress message boxes. Only has an effect when combined with '/SILENT' or '/VERYSILENT'. The default response in situations where there's a choice is: Yes in a 'Keep newer file? ' situation.

What is Inno Setup compiler?

Inno Setup is a free software script-driven installation system created in Delphi by Jordan Russell. The first version was released in 1997. Inno Setup. Screenshot of the Inno Setup IDE running on Windows 7. Developer(s)

Which of the given command line parameter is used to suppress logging?

To prevent this behavior, you can suppress the log file by specifying /LogFile= (with no filename argument) after Installutil.exe on the command line.


1 Answers

Don't use Compil32, which is the GUI compiler. Use ISCC.EXE instead, which is the command-line compiler and supports a /q switch:

iscc /q mypath\myscript.iss

For more info on what command-line options are available, just run iscc /? from a command prompt.

like image 132
Ken White Avatar answered Nov 08 '22 22:11

Ken White