/build/static/layout/Breadcrumb_cap_w.png

File association changed

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

Answers (5)

Posted by: WayneB 16 years ago
Blue Belt
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
Posted by: Inabus 16 years ago
Second Degree Green Belt
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
Posted by: jmcfadyen 16 years ago
5th Degree Black Belt
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.
Posted by: WayneB 16 years ago
Blue Belt
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
Posted by: jmcfadyen 16 years ago
5th Degree Black Belt
0
Wayne, my case still stands..

<path to excel version to register>\excel.exe /regserver
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ