So. . . I'm supposed to deploy two MSPs for Office 2003 Viewer, Word & Excel. These two apps are deployed as part of our base w/s image so everyone has them. Many w/s's get real office also, delivered by package. So I run the MSP on a w/s with real office and whammo. . . file associations are now set to the viewers, not real office apps. . . and so . . . . if I roll these MSPs. . . my life ends and my children are fatherless. . . . any ideas?
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
G'Day Steve,

Have you heard of FTYPE and ASSOC commands? These can be run as a CA within the msi or script. You'll have to do some digging to find the exe path for the Real Offijce apps. Something like this WiseScript (example used for SAP 6.4 when we had it 'pooched' by another app):

item: Execute Program
Pathname=cmd
Command Line=/c "ASSOC .sap=SAPGui.Shortcut.File"
Flags=00001000
end
item: Execute Program
Pathname=cmd
Command Line=/c FTYPE SAPGui.Shortcut.File="C:\Program Files\SAP\FrontEnd\SAPgui\SAPgui.exe" "/SHORTCUT="%%1""
Flags=00001000
end

Hope this helps.

Regards
Wayne
Answered 06/26/2008 by: WayneB
Blue Belt

Please log in to comment
0
1) Create a system search for the existance of the extensions pointing to office full
2) Have a custom action in the patch that resets the extension back to office full
3) Set a condition on that custom action based on your system search so it only runs if office full is found

That would work for ya although I wont say it would be the best way as other people may know about something else.

P
Answered 06/27/2008 by: Inabus
Second Degree Green Belt

Please log in to comment
0
all office applications can reset file assoc's with a command line.

to be honest I dont remember off the top of my head but its something like

excel.exe /reregister im sure a quick google will come up with the result.
Answered 06/30/2008 by: jmcfadyen
Fifth Degree Black Belt

Please log in to comment
0
Gents (Paul and John),
I think he wants to reset to Real Office by default not the MS Office app viewers. Why I suggested FTYPE and ASSOC commands in a CA.

There is probably another way, it's just what I've used to get around this.

Regards
Wayne
Answered 06/30/2008 by: WayneB
Blue Belt

Please log in to comment
0
Wayne, my case still stands..

<path to excel version to register>\excel.exe /regserver
Answered 06/30/2008 by: jmcfadyen
Fifth Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity