Ask Your Question
0

Macro settings in deployment package [closed]

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

mrbmann gravatar image

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

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
1

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

Olivier gravatar image

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

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="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:oor="http://openoffice.org/2001/registry">
  <dependency file="main" />
  <oor:component-data xmlns:install="http://openoffice.org/2004/installation"
  oor:name="Common" oor:package="org.openoffice.Office">
    <node oor:name="Security">
      <node oor:name="Scripting">
        <prop oor:name="MacroSecurityLevel" oor:op="fuse">
          <value>1</value>
        </prop>
      </node>
    </node>
  </oor:component-data>
</oor:data>

--------------%<-------------------

edit flag offensive delete link more
0

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

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

Comments

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

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

Question Tools

1 follower

Stats

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

Seen: 553 times

Last updated: Dec 05 '12