How To install a Word Template Add-In for all users?

Anonymous
2016-12-02T16:15:12+00:00

Hello! I'm developing an application which needs a Word integration.

I've managed to create a Word Template Add-in (.dot file). Now I have to place it in word startup folder upon installation of our product.

I've managed to determine the location of word startup folder for current user (through StartupPath property of Word.Appliction Com object).

But I have to install a word integration for ALL USERS on this PC.

How can I identify word startup folders for other users? Maybe through registry by enumerating HKEY_USERS key? Maybe this can be foudn through Word Com object too?

Microsoft 365 and Office | Word | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

8 answers

Sort by: Most helpful
  1. Anonymous
    2016-12-05T12:07:25+00:00

    Nope, That is an incorrect answer.

    1. The user could change startup folder so any fixed location won't go.
    2. Could you please specify how installation program can login as any user without knowing a password?

    Was this answer helpful?

    0 comments No comments
  2. Doug Robbins - MVP - Office Apps and Services 323.3K Reputation points MVP Volunteer Moderator
    2016-12-05T09:23:53+00:00

    I think that you are going to need to log onto the computer in the name of each user.  Having done that however you could install the add-in in

    %APPDATA%\Microsoft\Word\Startup

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2016-12-05T09:02:03+00:00

    Hello, anyone?

    Just give me any clue, I'm sure I'm not the first person who faces this problem!

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2016-12-03T06:10:36+00:00

    The prog should work in Windows 7-10, Word 2003-2016. That's why I chose .dot. If you can suggest an easy way of install (including switching to .dotx or .dotm), I could narrow it to 2007-2016.

    Also I can consider using .wll. Will it change a way of installing?

    Was this answer helpful?

    0 comments No comments
  5. Charles Kenyon 168.3K Reputation points Volunteer Moderator
    2016-12-02T17:18:07+00:00

    Version of Word?

    Operating System?

    Is there a reason you are using a .dot file rather than a .dotm or .dotx format?

    Was this answer helpful?

    0 comments No comments