Ask Your Question

Macro settings in deployment package [closed]

asked 2012-12-03 10:09:36 +0200

mrbmann gravatar image

updated 2015-10-19 03:02:06 +0200

Alex Kemp gravatar image

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....

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2015-10-19 03:02:16.436560

2 Answers

Sort by » oldest newest most voted

answered 2012-12-03 15:19:24 +0200

Olivier gravatar image

updated 2012-12-03 15:21:10 +0200

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">


edit flag offensive delete link more

answered 2012-12-05 08:35:50 +0200

mrbmann gravatar image

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

edit flag offensive delete link more


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

Olivier gravatar imageOlivier ( 2012-12-07 02:17:31 +0200 )edit

Question Tools

1 follower


Asked: 2012-12-03 10:09:36 +0200

Seen: 664 times

Last updated: Dec 05 '12