Bug 101202 - File – desktophelper really useful?
Summary: File – desktophelper really useful?
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Installation (show other bugs)
(earliest affected)
Hardware: All All
: medium normal
Assignee: Not Assigned
Depends on:
Reported: 2016-07-29 17:05 UTC by 21Naown
Modified: 2017-06-19 14:56 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description 21Naown 2016-07-29 17:05:21 UTC
This file at LIBREOFFICE_PROGRAMFILES\program\desktophelper.txt
is really useful?
Comment 2 Andras Timar 2017-06-19 12:24:46 UTC
Yes, desktophelper.txt is important. As it says, '# File used for desktop link'. It used by the Windows installer to create desktop launcher icon for LibreOffice.
Comment 3 21Naown 2017-06-19 12:46:25 UTC
It is hard to believe this is a normal/clean way to do it, that is why I asked for it with this post—with little detail I admit, I think it is more a workaround, no?
Comment 4 Andras Timar 2017-06-19 14:10:17 UTC
See the documentation of MSI Shortcut table:


    The external key into the first column of the Component table. The installer uses the installation state of the component specified in this column to determine whether the shortcut is created or deleted. This component must have a valid key path for the shortcut to be installed.

Our requirement is that desktop icon should be optional, therefore we cannot use e.g. soffice.exe, we need the conditionally installed desktophelper.txt. I can imagine that it can be done in a different way, but what would be the benefit?
Comment 5 21Naown 2017-06-19 14:56:48 UTC
Maybe with “HKEY_LOCAL_MACHINE\SOFTWARE\LibreOffice” and put a value which could help you for this case, especially if this is the only case for this kind of technique.

If this can work, it will be more correct I think—which is probably the only benefit. If this can work and it is not specially disturbing to do, I think you should consider this approach.