word template install problem

N

ningjun.wang

We have developed a custom toolbar for Microsoft word. It is
implemented as a word template (*.dot file). I try to create an
installation program to copy this template to the user's wrod start up
directory, e.g. for user John, it is
c:\Documents and Settings\John\Application Data\Microsoft\Word\STARTUP

The problem is that some of our customers are corporate customers. In
that environment, user does not have permission to run installation
program. Only administrator can run installation program. When the
administrator run my installation program, the word template (.dot
file) will be copied to the administrator's word startup dir, e.g.

c:\Documents and Settings\Administrator\Application
Data\Microsoft\Word\STARTUP

When user Jhon login and launch Word, he will not get our custom
toolbar because there is no word template .dot file in hist word
startup dir.

Anotehr option is that my installation program copy the .dot file to
the office startup dir, e.g. C:\Program Files\Microsoft
Office\Office10\Startup

In this way, any user login to the machine and launch word, the .dot
file will be loaded. The problem is that the user get a Macro security
warning which is very annoyed. Especially if the .dot file's is not
signed or the sign expire, word will not load it at all if the Macro
security is set to high.

Does any body have a better solution?
 
L

Lynn

We have developed a custom toolbar for Microsoft word. It is
implemented as a word template (*.dot file). I try to create an
installation program to copy this template to the user's wrod start up
directory, e.g. for user John, it is
c:\Documents and Settings\John\Application Data\Microsoft\Word\STARTUP

The problem is that some of our customers are corporate customers. In
that environment, user does not have permission to run installation
program. Only administrator can run installation program. When the
administrator run my installation program, the word template (.dot
file) will be copied to the administrator's word startup dir, e.g.

c:\Documents and Settings\Administrator\Application
Data\Microsoft\Word\STARTUP

When user Jhon login and launch Word, he will not get our custom
toolbar because there is no word template .dot file in hist word
startup dir.

Anotehr option is that my installation program copy the .dot file to
the office startup dir, e.g. C:\Program Files\Microsoft
Office\Office10\Startup

In this way, any user login to the machine and launch word, the .dot
file will be loaded. The problem is that the user get a Macro security
warning which is very annoyed. Especially if the .dot file's is not
signed or the sign expire, word will not load it at all if the Macro
security is set to high.

Does any body have a better solution?

Your corporate customers could save the .dot to their User Template
folder, from the Tools, templates and add-ins in word, they can add the
..dot as an add-in. Or can the corporate customers change their
wrdStartUp folder location in Tools, Options, File Locations? If they
can (some company policy disallows this), they can save the .dot to a
different wrdStartUp folder, change their file location wrdStartUp in
tools, options file locations and then it should run when you open word.
 
N

ningjun.wang

Yes, our corporate customer can simply copy the template to their word
startup dir. But we try to make it easy for them so they don't need to
do anything extra after the installation program is run. It is bad for
a commercial software to require user to manually copy some files after
installation program is run.

The requirement is follow:

Step 1: Administrator will run the installation program on a PC.
Step 2: User login to the PC and launch Word, he should see the custom
toolbar defined by the template.

Any solution?
 
L

Lynn

Yes, our corporate customer can simply copy the template to their word
startup dir. But we try to make it easy for them so they don't need to
do anything extra after the installation program is run. It is bad for
a commercial software to require user to manually copy some files after
installation program is run.

The requirement is follow:

Step 1: Administrator will run the installation program on a PC.
Step 2: User login to the PC and launch Word, he should see the custom
toolbar defined by the template.

Any solution?

I think this may depend on how your corporate customer has their
network setup. If they currently have a network whereby they share
workgroup templates, then the template needs installing to that network
area. All the users pc's should point to that file location in tools,
options, Workgroup Templates. This is how we do it:

We have a shared drive on the server called T:\Templates\wrdStartup.
We have our gloabl add-in .dot in this folder.

Our users have a profile which sets their Tool/Options/File
Locations/WorkGroup Templates to T:\Templates and their StartUp folder
to T:\Templates\wrdStartup. When users log on, word uses this startup
file location and when they click on File, New, the shared templates
are available.

So really I think it depends on your corporate customer set up.
Sorry can't be of more help here.
Lynn
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top