Macro settings in deployment package

Hello, I am preparing a localized deployment pack for LO 3.6.3. I have all my settings except one in place via a mst file, the missing one is the property for the macro security settings, I want to set it as medium, but I cant find this when I open the LO msi file with orca. can someone help me…

Save the following xml file as “MacroSecurity.xcd” and put it in the following directory:

%PROGRAMFILES%\LibreOffice 3.6\share\registry

That must be done thru a bat or script file after the deployment of LibreOffice.

The default security will be then medium (Value 1), and it can be overrided explicitely by the user, if necessary.


<?xml version="1.0"?>
<oor:data xmlns:xs=""
  <dependency file="main" />
  <oor:component-data xmlns:install=""
  oor:name="Common" oor:package="org.openoffice.Office">
    <node oor:name="Security">
      <node oor:name="Scripting">
        <prop oor:name="MacroSecurityLevel" oor:op="fuse">


Thank you, this works like a charm on 3.6.3, would you also have the solution for version 3.2.3??

Unfortunately not, because the xml files uinderwent into a new file layout.