How can I show a custom page based on a condition? I've got a custom page, that I want to only show if a file doesn't exist on disk. Is that possible? I know I can use ruleList/fileTest to check for the file, but I'm not sure how to tie it into the page...

asked 03 Dec '12, 08:52

A%20Jefferiss's gravatar image

A Jefferiss
accept rate: 100%

Custom pages support the <ruleList> tag so you could simply use:


answered 03 Dec '12, 09:08

juanjo's gravatar image

juanjo ♦♦
accept rate: 23%

Excellent thanks, I've modified my parameterGroup to it looks like the following and it works perfectly. :)

       <filetest path="${installer_directory}/myFile" condition="not_exists"/>

(03 Dec '12, 09:54) A Jefferiss
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: 03 Dec '12, 08:52

Seen: 1,112 times

Last updated: 03 Dec '12, 09:55