The following works on Linux. However, it fails on Windows. I tried replacing the leading dot (.) with an asterisk (*), but it also fails. I also tried quoting the string because ${installdir} has a space on Windows. It also failed. One interesting note, I'm testing the Windows version on the newest Wine 4.0. So, this might be a bug in Wine, not Windows.


asked 12 May '12, 08:56

tahoar's gravatar image

accept rate: 42%

While Wine may be changing some of the behavior, the file may simply be reported as hidden by Windows API. Such files are not deleted using <deleteFile> action by default - you need to enable <matchHiddenFiles>. For example:


Does the above delete the file correctly?


answered 14 May '12, 05:11

wojciechka's gravatar image

wojciechka ♦♦
accept rate: 26%

Thanks, but I forgot to mention that I tried the <matchhiddenfiles> flag and it didn't work. I resolved the requirement with a different approach. I originally created the file using the <writefile> in the <postinstallationactionlist>. Now, I include a dummy .lastupdate file in the <folderlist> and the uninstaller automatically deletes the file without having to use <deletefile>.

(18 May '12, 04:33) tahoar
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: 12 May '12, 08:56

Seen: 1,131 times

Last updated: 18 May '12, 04:33