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

Command-Line parameters


1 reply to this topic

Gig52

Gig52
  • Members
  • 6 posts

Posted 19 February 2004 - 01:47

The setup I created can be installed by a dll using slient mode.
Or the user can start the setup normally and make his selection.

The command-line used looks like this

setup.exe /w /s /v"/qn BOARDINSTALL=12"

w to Wait for the install before continuing.
s for silent mode.
v is to pass parameters to the MSI:
qn for no user interface
BOARDINSTALL=12 as a public properties.

If the setup has never been installed, the command-line works perfectly.
But once, the setup has been run, the command-line setup does not behave as I would expect. None of my conditional components are installed.
With the GUI, I have the Welcome Maintenance screen and everything selected gets installed.

Is there a way to force the silent and no-gui install to install the components even if we are in maintenance mode?

Thx

EG

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 19 February 2004 - 19:02

You may need to use ADDLOCAL and REMOVE properties to modify trhe selection state of features. You may also need to set the REINSTALL property. And you must set the msidbComponentAttributesTransitive flag for the component to force a re-evaluation of conditions.