Jump to content

[Inno Setup] Command line Switches


some1

Recommended Posts

http://unattended.sourceforge.net/installers.php

Inno Setup

Inno Setup is an open source competitor in this space. You can usually identify the installers it creates by running "strings" on the executable and grepping for "Inno".

The switches for Inno Setup are fully documented in the ISetup.hlp file in the Inno distribution. Here, is an html version. Thanks to Lawrence Mayer for it.

In our experience, the /silent switch is usually sufficient for a basic unattended installation. But to be completely sure, we recommend /sp- /silent /norestart.

Note that the /verysilent switch may reboot the machine without prompting, which is pretty much the worst of all possible worlds. So if you use /verysilent, be sure to use /norestart as well.

Is there anymore!?

I would love there to be a custom folder one!!!! :rolleyes::whistle:

Link to comment
Share on other sites


I found this:

http://www.jrsoftware.org/isfaq.php#silent

Can Setup use the value of a registry entry as the default directory name?

Yes. Use a {reg:...} constant in DefaultDirName. For example:

[setup]DefaultDirName={reg:HKLM\Software\My Program,Path|{pf}\My Program}

See the "Constants" topic in the Inno Setup help file for more information on {reg:...} constants.

But I dunno how to use it!

I tried looking for

HKLM\Software\dvd shirnk

HKLM\Software\dvdshirnk

but I couldnt see it :(

Edited by some1
Link to comment
Share on other sites

Without looking at the link you gave, those look like the install script options for the person who creates the Inno Setup Installer itself and not for the end user.

Have a look here as a fellow member posted for the Inno Setup switches available. Switches come from the Inno Setup compiler Installation Helpfile. :)

Link to comment
Share on other sites

InnoSetup should also have the options "/saveinf=FILE" and "/loadinf=FILE" IIRC. The first one records the user-provided answers of a Installation to a .inf-file and the second one is obviously used to load the formerly recorded answers.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...