+ Post New Thread
Results 1 to 8 of 8
Office Software Thread, Dual Office 2003 and 2007 script ? in Technical; Any body got a script that on logoff will set either office 2003 or 2007 as the default office program ...
  1. #1

    Join Date
    Dec 2009
    Posts
    607
    Thank Post
    8
    Thanked 36 Times in 34 Posts
    Rep Power
    17

    Dual Office 2003 and 2007 script ?

    Any body got a script that on logoff will set either office 2003 or 2007 as the default office program

    Atm using Detect and repair .. and its very time consuming

    I need both because we use enlight testing , and it checks to see what version is installed .. Some people are doing office 2003 tests and some 2007 .. And its quite anoying !

    Many thanks

  2. #2

    Join Date
    Aug 2005
    Location
    London
    Posts
    3,156
    Thank Post
    116
    Thanked 529 Times in 452 Posts
    Blog Entries
    2
    Rep Power
    124
    Defaults are normally set on a per-user basis so if you run something at logoff I think that it can only make changes for the user who is currently logging off.

    Is this so that you can double click on (say) a .DOC file and it opens in the correct version of Word?

    You could setup files called "Configure Office 2007" and "Configure Office 2003" and tell users to click them when they start working.

    The content would be a series of statements something like:

    Code:
    ftype word.document.8="C:\Program Files\Microsoft Office\Office12\WINWORD.EXE" /n /dde
    ftype Excel.Sheet.8="C:\Program Files\Microsoft Office\Office12\EXCEL.EXE" /e
    for Office 2007 and

    Code:
    ftype word.document.8="C:\Program Files\Microsoft Office\Office11\WINWORD.EXE" /n /dde
    ftype Excel.Sheet.8="C:\Program Files\Microsoft Office\Office11\EXCEL.EXE" /e
    for Office 2003

  3. 2 Thanks to srochford:

    2097 (22nd March 2010), OutToLunch (22nd March 2010)

  4. #3

    Join Date
    Dec 2009
    Posts
    607
    Thank Post
    8
    Thanked 36 Times in 34 Posts
    Rep Power
    17
    Quote Originally Posted by srochford View Post
    Defaults are normally set on a per-user basis so if you run something at logoff I think that it can only make changes for the user who is currently logging off.

    Is this so that you can double click on (say) a .DOC file and it opens in the correct version of Word?

    You could setup files called "Configure Office 2007" and "Configure Office 2003" and tell users to click them when they start working.

    The content would be a series of statements something like:

    Code:
    ftype word.document.8="C:\Program Files\Microsoft Office\Office12\WINWORD.EXE" /n /dde
    ftype Excel.Sheet.8="C:\Program Files\Microsoft Office\Office12\EXCEL.EXE" /e
    for Office 2007 and

    Code:
    ftype word.document.8="C:\Program Files\Microsoft Office\Office11\WINWORD.EXE" /n /dde
    ftype Excel.Sheet.8="C:\Program Files\Microsoft Office\Office11\EXCEL.EXE" /e
    for Office 2003
    Thanks for the Info

    Things that i find strange is , any user account can run 'detect and repair' within WORD .. And it will set what ever version back to Defaults for all users of the system..

  5. #4

    Join Date
    Aug 2005
    Location
    London
    Posts
    3,156
    Thank Post
    116
    Thanked 529 Times in 452 Posts
    Blog Entries
    2
    Rep Power
    124
    The detect and repair will use the installer service. This can be triggered by any user but then runs in the system context so that you can do things like repairing software which is already installed.

  6. #5

    Join Date
    Dec 2009
    Posts
    607
    Thank Post
    8
    Thanked 36 Times in 34 Posts
    Rep Power
    17
    Quote Originally Posted by srochford View Post
    The detect and repair will use the installer service. This can be triggered by any user but then runs in the system context so that you can do things like repairing software which is already installed.
    so the commands above in a .bat will Basically allow the same as the detect and repair ?

  7. #6

    Join Date
    Dec 2009
    Posts
    607
    Thank Post
    8
    Thanked 36 Times in 34 Posts
    Rep Power
    17
    just tried the following on a computer which is opening both .doc and docx files in office 2007

    ftype word.document.8="C:\Program Files\Microsoft Office\Office11\WINWORD.EXE" /n /dde

    Sadly it keeps opening them in office 2007 and does not change to 2003

  8. #7

    Join Date
    Aug 2005
    Location
    London
    Posts
    3,156
    Thank Post
    116
    Thanked 529 Times in 452 Posts
    Blog Entries
    2
    Rep Power
    124
    For .docx files I think you will need to do:

    ftype word.document.12="C:\Program Files\Microsoft Office\Office11\WINWORD.EXE" /n /dde

    This should only affect the currently logged on user but I don't have a machine with Office 2003 to try this on at the moment.

  9. #8

    Join Date
    Dec 2009
    Posts
    607
    Thank Post
    8
    Thanked 36 Times in 34 Posts
    Rep Power
    17
    Quote Originally Posted by srochford View Post
    For .docx files I think you will need to do:

    ftype word.document.12="C:\Program Files\Microsoft Office\Office11\WINWORD.EXE" /n /dde

    This should only affect the currently logged on user but I don't have a machine with Office 2003 to try this on at the moment.
    Sorry mate i couldnt get either examples to work , says there changed in the CMD prompt but dont seem to do anything ..

    looks like detect and repair will be the only option

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 4
    Last Post: 14th August 2009, 01:58 AM
  2. Office 2003 to 2007
    By denon101 in forum Office Software
    Replies: 13
    Last Post: 24th June 2009, 08:59 PM
  3. [MS Office - 2007] Running MS Office 2003 and MS Office 2007 on the same network.
    By Richard_Finnigan in forum Office Software
    Replies: 2
    Last Post: 19th June 2009, 11:28 AM
  4. Office 2007 at home, Office 2003 at school
    By kennysarmy in forum Windows
    Replies: 25
    Last Post: 13th January 2009, 01:31 PM
  5. Running Office 2003 and Office 2007
    By mrforgetful in forum Office Software
    Replies: 17
    Last Post: 12th June 2008, 01:11 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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