Page 1 of 2 12 LastLast
Results 1 to 15 of 18
  1. #1
    New Lounger
    Join Date
    Feb 2001
    Location
    Denver, Colorado, USA
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Deploying Word 2000 Templates

    I'm interested in any tips regarding how to best deploy Word 2000 templates to co-workers. Which method requires the least end-user interaction?

    The application I am thinking about will contain a few macros and key bindings to execute these added macros.

    Thanks, folks.

    =====Keith

  2. #2
    Super Moderator
    Join Date
    Jan 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    3,524
    Thanks
    3
    Thanked 143 Times in 136 Posts

    Re: Deploying Word 2000 Templates

    Use a Workgroup templates directory that everyone has read-only access to to put the common templates in. To make sure everyone points to this directory you could set them up in Words Tools|Options|File Locations to point there or just add a shortcut (pointing at the workgroup templates directory) into one of the template directories listed in Words Tools|Options|File Locations. Using a shortcut lets you define the tab name in which the templates sit when viewing the File|New dialog.
    Andrew Lockton, Chrysalis Design, Melbourne Australia

  3. #3
    Silver Lounger Charles Kenyon's Avatar
    Join Date
    Jan 2001
    Location
    Madison, Wisconsin, Wisconsin, USA
    Posts
    1,701
    Thanks
    56
    Thanked 63 Times in 61 Posts

    Re: Deploying Word 2000 Templates

    You will probably want a global template to hold your macros & keybindings. The others would be deployed on the network drive in a folder that is designated as the Workgroup folder on each user's computer. (This is a Word setting.) Generally users have view and read privileges on that folder but not modify. Workgroup template modifications are filtered through one or two people.

    To deploy the global template (especially if it is small), I recommend a login script that copies the template off the network drive into the user's startup folder (over-writing an old copy that is there). If the template is large, you would want to have the copy run only if it is a newer version. You can use XCOPY for this. The reasons for doing this are that (1) a network failure won't disable your users, and (2) the file won't be locked all day in case you want to update it.

    See: <A target="_blank" HREF=http://www.addbalance.com/usersguide/templates.htm>Template Basics</A> (www.addbalance.com/usersguide/templates.htm) for more on templates (user and workgroup), global templates and Normal.dot.

    For some examples of global templates see the add-ins on <A target="_blank" HREF=http://www.addbalance.com/word/download/index.htm>my download page</A> (www.addbalance.com/word/download/). In particular, you might want to look at the letterhead system which is setup to have workgroup templates run macros in the global.

    Hope this helps.
    Charles Kyle Kenyon
    Madison, Wisconsin

  4. #4
    New Lounger
    Join Date
    Feb 2001
    Location
    Denver, Colorado, USA
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Deploying Word 2000 Templates

    Hi Charles,

    Thanks for the great summary. I'll check your website.

    Regards,

    ======Keith Christian

  5. #5
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Deploying Word 2000 Templates

    What I do is create an "installer" template and e-mail it to the users. It contains documentation on what my template does, and has a menu option to install the template. The installer then drops my template into the user's WordStartup folder so that it autoloads whenever the user starts Word. One side effect is of this strategy that the VBA is not editable when loaded this way. Good to keep prying fingers out, but bad if you need to drop by and debug. (Alternatively, you can put the template in the user templates folder and a shortcut in the startup folder, but I've never figured out how to program shortcuts...)

  6. #6
    Platinum Lounger
    Join Date
    Dec 2000
    Location
    Queanbeyan, New South Wales, Australia
    Posts
    3,730
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Deploying Word 2000 Templates

    For me, deploying macros has been a LAN administrators' function.

    Out LAN people have "xcopy" routines to copy templates into the users' startup drive if the date/time stamp onm the server is newer than on the hard drive (a "thick clinet"- hey we've got lots of those).

    Or they could alter registry settings to point the startup directory to somewhere on the LAN (a thin client).

    For me, it's been a situation where Word and LAN people have to work well together- and for each side to understand something of the other side.
    Subway Belconnen- home of the Signboard to make you smile. Get (almost) daily updates- follow SubwayBelconnen on Twitter.

  7. #7
    New Lounger
    Join Date
    Feb 2001
    Location
    Denver, Colorado, USA
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Deploying Word 2000 Templates

    jscher2000: This sounds like a good strategy. I'll have to dissect your post to see how I would construct a similar mechanism.

    Just getting my feet wet with deploying, all these posts have been very helpful.

    =====Keith

  8. #8
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Deploying Word 2000 Templates

    Well, I won't keep you in suspense. The code to install looks like this:

    <pre>Option Explicit
    Sub InstallTools()
    ' Copies jfsTools2k.dot template to user's PC / Word 2000
    Dim VersionToGet As String, VersionToKill As String
    Dim UserTemplatePath As String, UserStartUpPath As String
    VersionToGet = "jTools2k.dot"
    VersionToKill = "jfsTools99.dot"

    ' Confirm user wishes to continue
    If MsgBox("Install jfsTools2000 on your computer?", _
    vbYesNo + vbQuestion, VersionToGet) <> vbYes Then
    MsgBox "Ciao!"
    Exit Sub
    End If

    UserTemplatePath = Options.DefaultFilePath(wdUserTemplatesPath)
    UserStartUpPath = Options.DefaultFilePath(wdStartupPath)

    Dim aTemp As Template
    For Each aTemp In Templates
    'remove old template from add-ins and startup path
    If aTemp.FullName = UserStartUpPath & "" & VersionToKill Then
    AddIns(UserStartUpPath & "" & VersionToKill).Delete
    Kill UserStartUpPath & "" & VersionToKill
    End If
    Next

    'check for identically named template
    If Dir(UserStartUpPath & "" & VersionToGet) <> "" Then
    If MsgBox("Replace existing template with latest version? ", _
    vbYesNo + vbQuestion) <> vbYes Then
    MsgBox "Ciao!"
    Exit Sub
    End If
    Kill UserStartUpPath & "" & VersionToGet
    End If

    ' Copy the template to the user template folder
    FileCopy ServerPath & VersionToGet, _
    UserStartUpPath & "" & VersionToGet
    'load the template
    AddIns.Add UserStartUpPath & "" & VersionToGet, Install:=True

    Application.ScreenRefresh

    MsgBox "Done! If you encounter problems with the jfsTools2000 template, see Jefferson.", _
    vbInformation + vbOKOnly, VersionToGet
    End Sub
    </pre>


  9. #9
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Deploying Word 2000 Templates

    I created a slightly more ambitious scheme called "Instl.dot".

    The front-end is for the VBA developer. It lets you nominate a target directory and file name where will be built both a PKZip and a self-extracting PKZip file. It provides a shopping basket so's you can browse your filestore and collect a variety of files from different locations to be assembled in the packet. It builds a VBA code module on-the-fly with file names, sizes and date stamps so that these data are coded into the Word97 template. It then closes (password protected) and saves the template but not before creating a BATch file that will automatically zip this saved template into the ZIP and EXE files.

    The back-end is for the end-user. They double-click on the ZIP or EXE to extract the package, then they double-click on the Instl.dot which sniffs out the Startup directory or suggests or creates one, copies the files across after checking names, sizes etc. against the password-protected hard-coded data in the on-the-fly VBA module, sniffs out any potential conflicts with previously installed templates, displays any appropriate toolbars and, well, that's as far as I've got.

  10. #10
    Star Lounger
    Join Date
    Feb 2001
    Location
    Vancouver, BC, Br. Columbia, Canada
    Posts
    96
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Deploying Word 2000 Templates

    HI Chris - the link to your downloads page no longer works. Do you have an update?

  11. #11
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Deploying Word 2000 Templates

    Here's Chris' home page. Doesn't seem to work exactly correctly from there, either.

    http://www.vif.com/users/cgreaves/homepage.htm

    Chris, where are you? Cat got your mouse?

  12. #12
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Deploying Word 2000 Templates

    That's an old link.

    I have a much better installation routine now - quite smart (sigh!), can locate the Startup folder, suggest one if it isn't set, move across all templates to be installed AND disable any addins that are superseded by new versions.

    Give me 24 hrs to u/l it to my web site and I'll post the URL here.

  13. #13
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Deploying Word 2000 Templates

    > Chris, where are you? Cat got your mouse?

    I'm here. I saw these two posts ONLY because I logged on to browse. I normally get an email notification but didn't get one for either post.

    Earlier today I changed my password; perhaps that upset my "email notification" flags? (Nope, looks ok.)

  14. #14
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 16 Times in 16 Posts

    Re: Deploying Word 2000 Templates

    Chris, see the newsflash. You'll have to renew your subscriptions.

  15. #15
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Deploying Word 2000 Templates

    Thanks Hans. Both this and the private message came through. I don't think I changed anything, but at my age .....

    I have no 'digest' subscriptions to renew. And I had been getting emailed notifications over the past few days. Odd. Let's wait and see, and continue in Lounge matters.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •