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)
Please log in to answer
Posted by:
WayneB
16 years ago
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
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
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
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
Posted by:
WayneB
16 years ago
Posted by:
jmcfadyen
16 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.