While upgrading the installer, I never want to changes two files in the specific folder. whether "onlyIfNewer" condition is valid or not. that folder has many other files but during the upgrade, that two files never changes. How to do that please give any solution.

asked 12 Jan '16, 08:30

developer's gravatar image

accept rate: 0%

edited 14 Jan '16, 05:04

Hi developer,

You could use the <folder> action to distribute files/folders and attach a rule to not unpack them if the current installer is an upgrade installer.

       <description>Program Files</description>
         <compareText text="${project.installationType}" logic="does_not_equal" value="upgrade"/>        

answered 13 Jan '16, 12:59

jesus's gravatar image

jesus ♦♦
accept rate: 18%

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](http://url.com/ "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: 12 Jan '16, 08:30

Seen: 450 times

Last updated: 14 Jan '16, 05:04