The number of files in my app's setup is big. During the uninstall, there is a progress line showing what files are being deleted. I'd like to be able to hide that progress. How can I do that?

asked 27 Feb '12, 10:40

Serge%20Belolipetski's gravatar image

Serge Beloli...
1334
accept rate: 0%


It is not possible to hide the progress bar. However, it is possible to change the message shown during uninstallation not to mention the name of the file that is currently uninstalled. For example you can set the following text messages:

Installer.Uninstallation.Uninstalling=Uninstalling files
Installer.Uninstallation.Skipping=Uninstalling files

This will cause the name of the files uninstalled not to be shown.

You can find more information on changing the built-in installer messages in our documentation: Changing Built-in Installer Text Strings

link

answered 28 Feb '12, 04:07

wojciechka's gravatar image

wojciechka ♦♦
7.8k61122
accept rate: 26%

wojciechka, does this mean that the uninstallation log won't display the filenames either? If so, is there any way to modify the uninstallation strings without losing logging info?

(19 Jul '12, 17:21) venti

Unfortunately in this case the log also won't contain the names of the files that were uninstalled or skipped.

As a workaround, what you can also do is include multiple spaces before and after %1$s to prevent showing the filename in the GUI, but having it in the log file. However, this causes the log file to look a bit weird. For example:

Installer.Uninstallation.Uninstalling=Uninstalling files (30 spaces) %1$s (30 spaces)

(20 Jul '12, 04:46) wojciechka ♦♦
Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

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

Tags:

×83

Asked: 27 Feb '12, 10:40

Seen: 1,804 times

Last updated: 20 Jul '12, 04:46