Description: I use the Windows Defender Ransomware Protection which protects user folders by preventing access by not authorised apps, which typically includes all setups. Because of this creating desktop shortcuts is not possible on my system. When using the silent flag to install LibreOffice, the installer throws and exception because of this, cancels and reverts the install. Please fix the behaviour to resume install inspite of the error. Steps to Reproduce: 1. Activate Windows Defender Ransomeware Protection 2. Install LibreOffice in silent mode Actual Results: Install throws error and cancels Expected Results: Install continues and logs the failed creation of the desktop shortcut as an error Reproducible: Always User Profile Reset: No Additional Info:
(In reply to Joda Stößer from comment #0) > Because of this creating desktop shortcuts is not possible on my system. > When using the silent flag to install LibreOffice, the installer throws and > exception because of this, cancels and reverts the install. What does your msiexec command line look like? Please try to add property CREATEDESKTOPLINK=0 https://wiki.documentfoundation.org/Deployment_and_Migration
I am using AppGet to install LibreOffice: https://github.com/appget/appget.packages/blob/450c3c3f12a2f8e736471d6cc30b8c0102ce236e/manifests/libreoffice/libreoffice.yaml I don't know the exact way the silent install is performed.
does it work if you double click "LibreOffice_6.3.0_Win_x64.msi" and disable the create desktop link option within install wizard?
I tested using the msi and graphical installer: + If I leave the "Create Desktop shortcut" box ticked, the installer runs in to an error and reverts the whole installation. If the installation was an update from a previous version, I am left without any installation at all. + If I uncheck the "Create Desktop shortcut" box, the installer runs through without a problem.
(In reply to Joda Stößer from comment #4) > I tested using the msi and graphical installer: > + If I leave the "Create Desktop shortcut" box ticked, the installer runs in > to an error and reverts the whole installation. If the installation was an > update from a previous version, I am left without any installation at all. > + If I uncheck the "Create Desktop shortcut" box, the installer runs through > without a problem. I tend to say this is not an LO issue. If a third party software prevents desktop shortcut creation and you tell LO msi to create a shortcut during install it will fail with an error. To prevent desktop shortcut creation you can add parameter: CREATEDESKTOPLINK=0
This is mentioned in our FAQ [1]. Of course, it's wrong to alter installer to continue when failed to perform one of the things selected for installation. This is absolutely incorrect, and will not be done. The parameter Oliver have mentioned in comment 5 is the correct thing to do if you cannot disable AV interfering with installation. Closing NOTOURBUG (an antivirus should not prevent installing icons by MSI running with elevated permissions). [1] https://wiki.documentfoundation.org/Faq/General/General_Installation_Issues_(Windows)