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
...
-
22nd March 2010, 01:14 PM #1 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
-
-
IDG Tech News
-
22nd March 2010, 01:23 PM #2 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
-
2 Thanks to srochford:
2097 (22nd March 2010), OutToLunch (22nd March 2010)
-
22nd March 2010, 02:17 PM #3 
Originally Posted by
srochford
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..
-
-
22nd March 2010, 02:42 PM #4 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.
-
-
22nd March 2010, 02:52 PM #5 
Originally Posted by
srochford
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 ?
-
-
22nd March 2010, 03:11 PM #6 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
-
-
22nd March 2010, 03:43 PM #7 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.
-
-
25th March 2010, 11:10 AM #8 
Originally Posted by
srochford
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: 
Similar Threads
-
Replies: 4
Last Post: 14th August 2009, 01:58 AM
-
By denon101 in forum Office Software
Replies: 13
Last Post: 24th June 2009, 08:59 PM
-
By Richard_Finnigan in forum Office Software
Replies: 2
Last Post: 19th June 2009, 11:28 AM
-
By kennysarmy in forum Windows
Replies: 25
Last Post: 13th January 2009, 01:31 PM
-
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
-
Forum Rules