• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 676
  • Last Modified:

How do you restore file-type associations in Tiger?

I'm positive that I should know this but can't seem to remember...

I'm running 10.4.11 on a G4 500DP. One utility that's installed is MacHacha, which is used for segmenting and joining compressed files. I decided to reinstall my AfterEffects 6 Pro so I put the disc in and launched the installer. For some reason the file-type association for the installer, which is an application, is now to open with MacHacha!

Any idea on how to restore the associations? Or, what should the installer be opened with?

Of course, I'm on deadline and just need to put together a little presentation by tomorrow. Any help is much appreciated.

O
0
olliefelde
Asked:
olliefelde
  • 20
  • 16
  • 7
  • +1
1 Solution
 
strungCommented:
Right-click on the icon and choose GetInfo. It will allow you to choose which application is associated with the icon and change it for the one time or globally for all icons of that type.
0
 
olliefeldeAuthor Commented:
Yeah, I know that part. The problem is that the app is associated incorrectly for some reason and now all that shows up as a recommended app is Script Builder or something silly like that. I mean it's an APP! Why should it be associated with ANYTHING?

How do restore the default?
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
strungCommented:
What is the extension? Is it .app ?
0
 
nxnwCommented:
Get onyx and rebuild Launchservices. These will reset all associations so, aside from the broken one, if you (for instance) have set all doc files to open with textedit, it will revert back to word.
0
 
olliefeldeAuthor Commented:
OK. Tried Onyx—neat util. Didn't work. The installer, which is identified as an application in Get Info but doesn't have an extension, opens in Script Editor. Anyone have any other ideas?

0
 
strungCommented:
Try adding .app at the end of the file name and see what happens.
0
 
strungCommented:
Actually, on second thought, once it opens in Script Editor choose Save As and save it as an application.
0
 
olliefeldeAuthor Commented:
I can't do that. It's an original install CD. I actually own this and have had it running on this machine before.
0
 
olliefeldeAuthor Commented:
OK. Used Script Editor to "Save As." However, there's no format but the default,.sdef.

When I save that to the desktop and launch it, classic starts up! This is not a classic app so I don't guess I know why this is happening.
0
 
strungCommented:
I suggest you contact the manufacturer of the software to see if the version on your CD is compatible with the version of OS X you are running.
0
 
olliefeldeAuthor Commented:
Yeah, Adobe won't give me the time of day without paying a "support fee." It's way too old.

As I stated above, I've had it and used it extensively on this computer with this OS in the past.
0
 
strungCommented:
As near as I can tell from Googling, the .pdef file is not in itself an application. It is a an Applescript that attempts to launch an application. You might be able to tell from the script when open in Script Editor what it is trying to launch. My guess is that it is not finding the application to launch or the application won't launch for one reason or another.

Perhaps the application that it is trying to launch from the CD is a Classic application. Classic Application will run in OS 10.4, but not 10.5.

Alternatively, it may be a Rosetta application and you may not have Rosetta installed.
0
 
olliefeldeAuthor Commented:
Remind me what Rosetta is? Also, this machine's running Tiger and I know for a fact I've only ever used AE 6 on it in OSX.

This is what the thing looks like in Script Editor:


Required Suite	Events that every application should support.
Installer Suite	
SetInstall v : Easy/Custom
SetInstall string : Easy or Custom
Select v : Select Package
Select string : Package name to select
Deselect v : Deselect Package
Deselect string : Package name to deselect
DoInstall v : Do the Install
DoInstall [string] : Not needed
DoAutoInstall v : Do the Install (no dialogs no restarts)
DoAutoInstall [string] : Not needed
SelectDrive v : Select a Drive or Folder
SelectDrive string : Drive name or path name
UpdateDriveList v : Update List of Drives
UpdateDriveList [string] : Not needed

Open in new window

0
 
strungCommented:
I think we may be off on the wrong track here. I don't think the .sdef file is the installer. An .sdef file is apparently an XML file containing an AppleScript suite definition. There must be some other file on your installer disk which is the actual installer.
0
 
olliefeldeAuthor Commented:
Know any good utils for finding hidden files on a DVD?
0
 
nxnwCommented:
"AfterEffects 6 Pro so I put the disc in and launched the installer"

Please get info and provide the full name, extension included, of this installer file you are double-clicking.
0
 
olliefeldeAuthor Commented:
Here's a screencap of the info window. This is where the top-level installer alias points.
 AE6 installer info window
0
 
nxnwCommented:
Well, that's not right. I don't think you are supposed to get "open with" anything for an application. Two ideas:

Set up a fresh admin account and try running the installer from there.

It that doesn't work, maybe this will shed a bit more light on the issue. In the terminal:
- type cd
- drag the folder containing this file onto the terminal window (which will insert the path)
- hit return

Then get a directory listing with this command: ls -laeF@

Copy and post the line that has the installer application and any indented lines immediately following it.

0
 
olliefeldeAuthor Commented:
Already tried setting up a separate admin account. It did the same thing.

Here's the terminal result:

O:/Volumes/Adobe After Effects 6.0/English/Adobe After Effects 6.0 o$ ls -laeF@
ls: illegal option -- @
usage: ls [-ABCFGHLPRSTWZabcdefghiklmnopqrstuwx1] [file ...]
O:/Volumes/Adobe After Effects 6.0/English/Adobe After Effects 6.0 o$
0
 
nxnwCommented:
Tiger.

Instead of @,

ls -laeF /Volumes/Adobe After Effects 6.0/English/Adobe After Effects 6.0
xattr /Volumes/Adobe After Effects 6.0/English/Adobe After Effects 6.0

(and provide output for both)
0
 
olliefeldeAuthor Commented:
O:~ o$ ls -laeF /Volumes/Adobe After Effects 6.0/English/Adobe After Effects 6.0ls: /Volumes/Adobe: No such file or directory
ls: 6.0: No such file or directory
ls: 6.0/English/Adobe: No such file or directory
ls: After: No such file or directory
ls: After: No such file or directory
ls: Effects: No such file or directory
ls: Effects: No such file or directory
O:~ o$


O:~ o$ xattr /Volumes/Adobe After Effects 6.0/English/Adobe After Effects 6.0
-bash: xattr: command not found
O:~ o$
0
 
nxnwCommented:
Sorry. Spaces need to be escaped or quoted. I am also at a bit of a disadvantage trying to figure out how to get extended attributes in tiger, but I think I have it now.


ls -laeF '/Volumes/Adobe After Effects 6.0/English/Adobe After Effects 6.0'
xattr -l '/Volumes/Adobe After Effects 6.0/English/Adobe After Effects 6.0'
0
 
nxnwCommented:
... and this is a shot in the dark, but try installing RCDefaultApp.prefPane and:
in the file types tab, see if there is an entry for APPL. If there is, delete or disable it.
0
 
olliefeldeAuthor Commented:
O:~ o$ ls -laeF '/Volumes/Adobe After Effects 6.0/English/Adobe After Effects 6.0'
total 16
drwxr-xr-x    4 o  o   136 Jul 22  2003 ./
drwxr-xr-x   14 o  o   476 Jul 22  2003 ../
-rwxr-xr-x    1 o  o  6148 Jul 22  2003 .DS_Store*
drwxr-xr-x    4 o  o   136 Jul 19  2003 Install After Effects 6.0/
O:~ o$


O:~ o$ xattr -l '/Volumes/Adobe After Effects 6.0/English/Adobe After Effects 6.0'
-bash: xattr: command not found
O:~ o$
0
 
olliefeldeAuthor Commented:
No luck with RCDefaultApp. No entries, under ANY tab for APPL.
0
 
nxnwCommented:
I am puzzled by the xattr thing.

Anyway, it looks like your installer is an application bundle, so
- right click (or control click) on it to get the contextual menu, and select "show package contents"
- inside, there will be a folder called "contents"
- inside "contents" there will probably be:
Frameworks
Info.plist
MacOS
PkgInfo
Resources

- open PkgInfo and Info.plist in a text editor and post the contents
- also, inside MacOS there will be an executable. You can try double clicking it. It may run the installer.
0
 
olliefeldeAuthor Commented:
PkgInfo reads only:

APPLVIS3

Here's a screencap of the file inside the file etc...

 get info windo
0
 
nxnwCommented:
See if you can locate installer vise on the CD and launch it. Then try installing again.
0
 
olliefeldeAuthor Commented:
Nope. Searched for visible and invisible and found no installer vise. Seems like there used to be an installer utility that was part of the system. Practically every program used it to run their installs.
0
 
nxnwCommented:
You can download 8.5 from here: http://www.mindvision.com/macvise.asp

Install it, launch it, quit it and then try running your AE installer.

There is an installer that is part of the system. AE does not use it. It uses an installer that was built with installer vise.
0
 
olliefeldeAuthor Commented:
So, I did this and all that happened is that it wants to know where to save the new archive. The program didn't add anything to the system to run AE's installer.
0
 
nxnwCommented:
Did you install installer vise, launch it and quit it?

If so, can you do another get info on "Install After Effects 6.0"?

What else is on the After Effects disk?
0
 
olliefeldeAuthor Commented:
1. As stated previously, I did this and restarted the computer.

2. I can and I did. The get info looks the same; it's an application but it opens in automator.

3. After Effects 6.0 Professional disc:
Deutsch (folder)
English (folder)
Adobe After Effects 6.0 (folder)
*Install After Effects 6.0 (installer package)
Install After Effects 6.0 (alias^)
Contents
Info-macos.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
<plist version="0.9">
<dict>
     <key>CFBundleInfoDictionaryVersion</key>
     <string>6.0</string>
     <key>CFBundleIdentifier</key>
     <string>com.MindVision.InstallerVISE</string>
     <key>CFBundleVersion</key>
     <string>7.4</string>
     <key>CFBundleDevelopmentRegion</key>
     <string>English</string>
     <key>CFBundleName</key>
     <string>InstallerVISE</string>
     <key>CFBundlePackageType</key>
     <string>APPL</string>
     <key>CFBundleSignature</key>
     <string>VIS3</string>
     <key>CFBundleShortVersionString</key>
     <string>7.4</string>
     <key>CFBundleIconFile</key>
     <string>Installer.icns</string>
     <key>LSRequiresCarbon</key>
     <string>Yes</string>
     <key>CFBundleExecutable</key>
     <string>Install After Effects 6.0</string>
</dict>
</plist>
MacOS (folder)
^Install After Effects 6.0 (application)
PkgInfo
APPLVIS3
Resources (folder)
Chinese.lproj (doc)
English.lproj (folder)
InfoPlist.strings (doc)
CFBundleDevelopmentRegion       = "English";
French.lproj (folder)
German.lproj (folder)
Installer.icns
Japanese.lproj (folder)
Korean.lproj (doc)

Adobe Reader 6.0 (folder)
AE_EULA_Amend_Final.rtf (doc)
AE6 Documentation (folder)
Customer Support (folder)
Digital Anarchy 3D Assistants (folder)
HowToInstall.rtf (doc)
Install After Effects 6.0 (alias*)
ReadMe.rtf (doc)
Registration (folder)
The Foundry's Keylight (folder)
Français (folder)
¿¿¿ (folder)
0
 
nxnwCommented:
It looks like the installer is self contained - have you tried copying it onto the HD and running it from there?
0
 
olliefeldeAuthor Commented:
yes
0
 
nxnwCommented:
Try running this in applescript editor:

tell application "Install After Effects 6.0" to activate
0
 
nxnwCommented:
And, just to be extra sure, please confirm that you
- downloaded and installed onyx for tiger;
- used onyx to reset launchservices.

Also, can't remember the nuances of Tiger and onyx for Tiger, but you might
- see if there is anything in onyx about prebinding;
- use onyx to clear your caches
0
 
nxnwCommented:
I have reviewed the thread, and am highly confident that the the following steps will fix this problem. This consolidates some of the above, but I suggest that you follow all of the steps in order:

¿¿• use onyx for tiger to reset launchservices
¿• if onyx has an update prebinding option, run that too
¿• use onyx to clear your caches (do the most thorough cleaning available)
¿• before restarting, manually ensure that any launchservices cache(s) have been deleted. If not, trash them. Look in /Library/Caches/ for anything named com.apple.LaunchServices*
¿• restart
¿• Do a get info on your installer application.
If the spurious "open with" section is gone (there should not be an "open with" section for an application), it would indicate that the problem is fixed, and you may proceed with the installation. If not, continue.
• manually reset Launchservices, following these linked instructions for Tiger starting with step 6.
If the problem is fixed, proceed with the installation. If not, continue.
• Use disk utility to make a writable disk image of your installer disk on your HD. Eject the CD and mount the new image.
• In the terminal:
    - type "sudo touch -f  " (note space after -f)
    - drag the installer file onto the terminal window (which will insert the path)
    - hit return and enter admin password at prompt
    - repeat touch command for the directory enclosing the installer (same command, up to but excluding the last "/"
If the problem is fixed, proceed with the installation. If not, continue.
• In the terminal:
    - type "sudo mv  " (note space after mv)
    - drag the installer file onto the terminal window (which will insert the path)
    - type a space and copy/paste the same installer path into the command
    - delete the "0" and type "app"
    - the command should be "sudo mv  path to installers directory/Install After Effects 6.0 path to installers directory/Install After Effects 6.app"
    - hit return and enter admin password at prompt
If the problem is fixed, proceed with the installation. If not, continue.
• in "get info" change "open with" for the installer to open with itself

Kindly report back. Good luck.

0
 
nxnwCommented:
Correction: In the second last group,
 "sudo mv  path to installers directory/Install After Effects 6.0 path to installers directory/Install After Effects 6.app"
should be
 "sudo mv  path to installers directory/Install\ After\ Effects\ 6.0 path to installers directory/Install\ After\ Effects\ 6.app"

The correct one should accord with the path you got from dragging onto the terminal window.
0
 
olliefeldeAuthor Commented:
Sorry for the delay. Hd my son this weekend and didn't logon until now. I appreciate your help and am working on it now.

Thanks!
0
 
olliefeldeAuthor Commented:
BTW

Did you mean to write:

path to installers directory/Install\ After\ Effects\ 6.app path to installers directory/Install\ After\ Effects\ 6.app

The repeat is puzzling but I'm not that knowledgeable about Unix code.

0
 
nxnwCommented:
No. I don't have such a repeat anywhere.

Please just follow the instructions and get the path by dragging. The existing path will be …Install\ After\ Effects\ 6.0
0
 
olliefeldeAuthor Commented:
Sorry, again. My ISP's to blame this time. It's been up only sporadically since Sunday.

However, dumping the caches manually as indicated in your link (http://www.thexlab.com/faqs/resetlaunchservices.html#Anchor-Reset-47857) was the ticket.

As soon as I did that, the installer worked normally. Thanks for your patience and all your help!
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 20
  • 16
  • 7
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now