One of the schools I work in has two different versions of office installed and on top of that they have some 32bit and some 64bit Win 7 machines some running 2003 some running 2010, at the moment I need three shortcut icons for each program, is there any way I point to whatever version is installed because it's a mess at the moment.
Item level targetting, you can use ILT to look for a vfile version and if it is present it'll place a shortcut. This is all done in group policy.
Or just install all versions of office in c:\program files ;)
Another solution would be to use a script to launch each Office program, then create a shortcut pointing to each script and change the icons to match the programs.
The VBScript's shown below will work regardless of whether the OS is 32-bit/64-bit or the version of Office installed, because the paths to Word, Excel, PowerPoint etc. are stored in the registry.
CreateObject("Wscript.Shell").Run "WinWord.exe", 1, False
CreateObject("Wscript.Shell").Run "Excel.exe", 1, False
CreateObject("Wscript.Shell").Run "PowerPnt.exe", 1, False
Thanks you, thats a brilliant and quick way of doing it, just what I was after. I will look at item level targeting as well though to see what it does. Thanks everyone for the help :)
How do you know where to point the shortcut icon though?
Originally Posted by Arthur
I've made a copy of the icons in the same folder I've dropped the VB scripts, just finishing it off then going to give it a try.
Edit: All done now and working like a charm, thank you so much
I would do what @Cooners did - extract the icons from the EXEs using something like IconsExtract and place them in the same folder as the scripts.
Originally Posted by AngryTechnician