I want to hide the installation progress text (Unpacking, creating directories, creating uninstaller, etc.) When I did this by using a custom language that sets those strings to a space, the logs no longer log anything for installation. Is there any way to hide the progress text without losing all logging information?

asked 19 Jul '12, 16:59

venti's gravatar image

accept rate: 0%

As mentioned in the original question, it is possible to change the message shown during uninstallation not to mention the name of the file that is currently uninstalled. For example:

Installer.Installation.Unpacking=Unpacking files

This will cause the name of the files uninstalled not to be shown. 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.Installation.Unpacking=Unpacking files (30 spaces) %1$s (30 spaces)

Unfortunately there is no better way to skip showing installed file(s) with having the files logged.


answered 23 Jul '12, 07:51

wojciechka's gravatar image

wojciechka ♦♦
accept rate: 26%

Thanks wojciechka, but using your suggestion I see something like this:

'Unpacking [...] '

Is there any way to also hide the "[...]"?

(23 Jul '12, 16:37) venti

I'd also like to mention that I avoided ugly logs by adding a substitute text action in the final page action list to remove extra spaces from the log:

<substitute> <files>${installer_installation_log}</files> <show>0</show> <type>regexp</type> <substitutionlist> <substitution> <pattern> {10,}</pattern> <value></value> </substitution> </substitutionlist> </substitute>

(23 Jul '12, 17:48) venti

There is no way to hide the [...] text. We will investigate if it is possible to modify this behavior somehow.

As for cleaning up the log file, the solution you have mentioned should work without any issues.

(06 Aug '12, 04:31) wojciechka ♦♦

In particular, can I hide "creating uninstaller" during installation?

(14 Aug '12, 19:15) gt8967884
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: 19 Jul '12, 16:59

Seen: 1,819 times

Last updated: 14 Aug '12, 19:15