locked
Can File Locations and Trust Settings be Set by an Installer? RRS feed

  • Question

  • I was sent here by the Word Developer forum. The original discussion is here.

    Context:

    My company has built a macro-enabled Word template (.dotm) that needs to be installed (using an Installshield installer) to a writeable and Trusted location on the local machine. The built-in template locations under Program Files won't work because users can only read those locations, they can't write. A writeable custom location is possible, but it won't be Trusted. It was suggested in the other forum that setting a local Workgroup Template location might work.

    The Question:

    Can Word's settings for Workgroup Template locations and Trusted locations be accessed and modified during an installation? Or must file locations and Trust settings all be set manually by users or separately by IT through a Enterprise Office Deployment tools? In some cases we have IT departments pushing our software to hundreds of users, so avoiding manual changes is critical.

    Thank you

    Friday, December 14, 2012 2:26 PM

Answers

  • The Answer:

    Yes, we can set Workgroup Template locations and Trusted locations during an installation.

    Methods:

    The recommened method here is to use the Office Customization Tool (OCT) to customize an installation of Microsoft Office 2010. (See Office Customization Tool in Office 2010 http://technet.microsoft.com/en-us/library/cc179097(office.14).aspx)

    1st. In OCT, we can add registy entries during installation.

    2nd. We can set the Workgroup Template location using the string value - "SharedTemplates" in the following registry

    HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Common\General\[SharedTemplates]

    To do so, start OCT and select the Add registry enties section, either Add or Import the registry entry we mentioned above. (To start OCT, run setup.exe with the command line switch /admin, e.g. \\ServerShare\OfficeInstallationPoint\Office_2010_ProfessionalPlus\Setup.exe  /admin)

    To set the Trusted settings, select the Office Security settings section, click Add to add the custom locations.

    When finished, click File --> Save As... to generate a MSP file, put the MSP in the Update folder under the installation package. The settings made in the OCT will be applied through this MSP file.

    Read more about how to use OCT to customize an installation of Microsoft Office 2010: http://technet.microsoft.com/en-us/library/cc179097(office.14).aspx


    Max Meng
    TechNet Community Support


    • Edited by Max Meng Monday, December 17, 2012 6:40 AM
    • Marked as answer by Max Meng Thursday, December 20, 2012 8:58 AM
    Monday, December 17, 2012 6:02 AM