Is there a way to detect current installation mode (GUI, text, unattended) and set special actions in the installation based on the current mode. For example, I may not want some actions to be performed if it is unattended installation.

asked 29 Oct '12, 01:14

NicoleH's gravatar image

accept rate: 50%

You can use the installer_ui, installer_ui_detail and installer_interactivity built-in variables. In your case, you could use:

<showInfo text="This is not unattended!" >
        <compareText text="${installer_ui}" logic="does_not_equal" value="unattended"/>

You can find additional information here.


answered 29 Oct '12, 05:27

juanjo's gravatar image

juanjo ♦♦
accept rate: 23%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 29 Oct '12, 01:14

Seen: 1,170 times

Last updated: 29 Oct '12, 05:27