Reputation: 2928
I have a big Installshield 2010 Basic MSI project that creates an executable installer.
I would like to make this Installer run silently, but the supposed built-in /S
and /SMS
options don't appear to work. I figure I have to explicitly handle it within the .ISM itself, but don't know how, and so far my Googling has only returned help with things like SilentReadData()
and SilentWriteData
for InstallShield Scripts. (See http://kb.flexerasoftware.com/doc/Helpnet/installshield15langref/LangrefSilentReadData.htm) I don't think this is the right way to go, as I have no scripting currently in my .ISM file.
Running on Windows 7, creating an installer for a 32-bit executable targeting X86.
Upvotes: 0
Views: 1020
Reputation: 15905
If you're using an InstallScript UI (common to the InstallScript and InstallScript MSI project types), any custom dialogs need to have SilentReadData
and SilentWriteData
calls (conditioned on MODE
) like you found. However if you have no script at all, you are probably using a Basic MSI project instead. For these, you need a different command-line parameter to make it silent, such as /v"/qb"
or /v"/qn"
; you may also need to provide some property definitions for any non-default settings, in the format /v"/qb PROPERTY=\"Value\""
.
Upvotes: 3