Is there a way to tell if an action has been executed? For example, say the final page shows a checkbox that the user can select/de-select for creating a desktop shortcut for the application. I want to be able to determine whether or not the checkbox was selected and do something based on that information (i.e. assign a value to a variable).

asked 18 Jul '12, 14:29

jalexrod's gravatar image

accept rate: 0%

You could use an <actionGroup> to wrap the action you need to check and defining the variable:

   <actionGroup progressText="Create shortcuts">
          <createShortcuts .../>
          <setInstallerVariable name="shortcuts_created" value="1"/>
   <!-- Check if the action was executed -->
   <setInstallerVariable name="some_other_variable" value="some other value">
             <isTrue value="${shortcuts_created}"/>

answered 18 Jul '12, 15:08

juanjo's gravatar image

juanjo ♦♦
accept rate: 23%

this works for me, thanks!

(18 Jul '12, 17:18) jalexrod
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: 18 Jul '12, 14:29

Seen: 943 times

Last updated: 18 Jul '12, 17:18