File association hijacking by PhotoImpact SE 3.0
-
Mike Van Pelt
File association hijacking by PhotoImpact SE 3.0
I'm using PhotoImpact that I got with my scanner (SE 3.0) way back when, and it has one seriously annoying bit of misbehavior:
Whenever I edit a .jpg file with it, it hijacks the global file association for .jpg, so that forever after (or, until I reset the file association) .jpg files can only be viewed with PhotoImpact.
For just viewing an image, this is absolutely never what I want to do.
Is there some way to tell PhotoImpact that I have my file associations set exactly the way I want them, and to not fiddle with them? I'm sick of having to constantly go back and reset them. (I've gone into File->Preferences in PhotoImpact and turned off .jpg, but as soon as I edit an image, PhotoImpact turns it back on.)
Whenever I edit a .jpg file with it, it hijacks the global file association for .jpg, so that forever after (or, until I reset the file association) .jpg files can only be viewed with PhotoImpact.
For just viewing an image, this is absolutely never what I want to do.
Is there some way to tell PhotoImpact that I have my file associations set exactly the way I want them, and to not fiddle with them? I'm sick of having to constantly go back and reset them. (I've gone into File->Preferences in PhotoImpact and turned off .jpg, but as soon as I edit an image, PhotoImpact turns it back on.)
-
keenart
-
Mike Van Pelt
I'm not adverse to doing a bit of registry hacking ... based on some information I found with a google search, I have already tried adding "EditFlags:01 00 00 00" to HKEY_CLASSES_ROOT\.jpg, but that didn't smack down PhotoImpact's misbehavior. Any pointers as to what I should hack where? (If I need to re-install, I can, but hacking a registry entry would be less nuisance.)
-
AnimeChick
File association is not a registry hack. It's a setting in Windows. Assuming Windows XP, it may be the same in other versions, Go to Windows Explorer, Tools, Folder Options, Go to File Types. Find the extensions you want to reassociate and reassign them to the program you want to use as the default viewer.
Next time you install Photoimpact, don't just click through the procedure and don't acknowledge the default file association.
Next time you install Photoimpact, don't just click through the procedure and don't acknowledge the default file association.
-
Mike Van Pelt
Yeah, I can do that -- I've done it dozens of times. As soon as I edit a .jpg, it adds them back.
I'm using Windows 98. After editing a .jpg, the "IrfanView JPG file" entry is still there in "File Types", but .jpg and .jpeg have been added to .ufo and .upi in the "Ulead PhotoImpact 3.0 image" file type.
I even remove the file type entry for "Ulead Photoimpact 3.0 image" completely, and as soon as I open a .jpg in PhotoImpact, the entry is restored, with .jpg-hijacking included.
I guess I'm going to have to uninstall and reinstall PhotoImpact.
I'm using Windows 98. After editing a .jpg, the "IrfanView JPG file" entry is still there in "File Types", but .jpg and .jpeg have been added to .ufo and .upi in the "Ulead PhotoImpact 3.0 image" file type.
I even remove the file type entry for "Ulead Photoimpact 3.0 image" completely, and as soon as I open a .jpg in PhotoImpact, the entry is restored, with .jpg-hijacking included.
I guess I'm going to have to uninstall and reinstall PhotoImpact.
-
keenart
Okay, this is at your own Risk! Here are the Key values and how to change it! Caution: make a Backup Restore Point before proceeding in case something happens that should not.
Go into PI3 then unassociated the .jpg extension before beginning the following:
Key Name: HKEY_CLASSES_ROOT\.jpg
Class Name: <NO CLASS>
Last Write Time: 6/19/2005 - 1:05 PM
Value 0
Name: PerceivedType
Type: REG_SZ
Data: Image
Value 1
Name: <NO NAME>
Type: REG_SZ
Data: PI3.Image *
Value 2
Name: Content Type
Type: REG_SZ
Data: image/jpg
Value 3
Name: PISaveOption
Type: REG_DWORD
Data: 0x0
Value 4
Name: PI_Backup1
Type: REG_SZ
Data: jpegfile
Value 5
Name: PI_Backup2
Type: REG_SZ
Data: image
* NOTE: this Data Value is the key that points to the application that holds default values for this association. DO NOT INCLUDE THE ASTERIC. There may be other program associations listed as secondary but they cannot gain control over the Default Value. Therefore the default value must be changed to reflect the control by a different program.
Key Default Value Nomenclature: Application.Image.version (do not include Version extensions, must be one digit)
Examples:
CorelPhotoPaint.Image.8
Photoshop.Image.7
The Default value PI3.Image must be changed to another value to relinquish control of this file extension to another application. DO NOT Alter any other values!
If this does not work then you may have some additional problems as you should not have deleted the Default value for .jpg or .jpeg you should have changed to another program association. Because this renders the .jpg extension mute and whatever program had previous control it will retain control by Binary Value in another Registry location.
You will have to replace or restore the Key and add new values; use the following values to restore .jpg:
Value 1
Name: <NO NAME>
Type: REG_SZ
Data: PI3.Image *or whatever other program association you want.
Good Luck!
Go into PI3 then unassociated the .jpg extension before beginning the following:
Key Name: HKEY_CLASSES_ROOT\.jpg
Class Name: <NO CLASS>
Last Write Time: 6/19/2005 - 1:05 PM
Value 0
Name: PerceivedType
Type: REG_SZ
Data: Image
Value 1
Name: <NO NAME>
Type: REG_SZ
Data: PI3.Image *
Value 2
Name: Content Type
Type: REG_SZ
Data: image/jpg
Value 3
Name: PISaveOption
Type: REG_DWORD
Data: 0x0
Value 4
Name: PI_Backup1
Type: REG_SZ
Data: jpegfile
Value 5
Name: PI_Backup2
Type: REG_SZ
Data: image
* NOTE: this Data Value is the key that points to the application that holds default values for this association. DO NOT INCLUDE THE ASTERIC. There may be other program associations listed as secondary but they cannot gain control over the Default Value. Therefore the default value must be changed to reflect the control by a different program.
Key Default Value Nomenclature: Application.Image.version (do not include Version extensions, must be one digit)
Examples:
CorelPhotoPaint.Image.8
Photoshop.Image.7
The Default value PI3.Image must be changed to another value to relinquish control of this file extension to another application. DO NOT Alter any other values!
If this does not work then you may have some additional problems as you should not have deleted the Default value for .jpg or .jpeg you should have changed to another program association. Because this renders the .jpg extension mute and whatever program had previous control it will retain control by Binary Value in another Registry location.
You will have to replace or restore the Key and add new values; use the following values to restore .jpg:
Value 1
Name: <NO NAME>
Type: REG_SZ
Data: PI3.Image *or whatever other program association you want.
Good Luck!
-
Mike Van Pelt
Hmm...
Either I'm not understaning, or this is Windows XP stuff. When creating a value in Windows 98 regedit, the type options are "string" "binary" or "dword". REG_SZ isn't there.
I uninstalled PhotoImpact 3.0 SE and re-installed it. At no time was there any place to set what extensions it thinks it owns, just normal, full, custom, or minimal install, and where the software should go. I uninstalled and went through the reinstall several times looking for any button I might have overlooked; there is none. I did a custom install, and the only options were which parts of the package to install, nothing about selecting any options such as file extensions.
Either I'm not understaning, or this is Windows XP stuff. When creating a value in Windows 98 regedit, the type options are "string" "binary" or "dword". REG_SZ isn't there.
I uninstalled PhotoImpact 3.0 SE and re-installed it. At no time was there any place to set what extensions it thinks it owns, just normal, full, custom, or minimal install, and where the software should go. I uninstalled and went through the reinstall several times looking for any button I might have overlooked; there is none. I did a custom install, and the only options were which parts of the package to install, nothing about selecting any options such as file extensions.
-
Mike Van Pelt
I set file association for .jpg back to what I want, then went into regedit, to HKEY_CLASSES_ROOT\.jpg, and exported that as a short regedit file. That way, I can just click on that file to set my file associations back.
(It's still a nuisance, what with regedit's "Are you really sure you want to?" prompts.)
Hmm... Maybe there's some way to set "photoimpact" to be a batch file that runs photoimpact, then runs the .reg file.
(It's still a nuisance, what with regedit's "Are you really sure you want to?" prompts.)
Hmm... Maybe there's some way to set "photoimpact" to be a batch file that runs photoimpact, then runs the .reg file.
-
keenart
Apparently the SE Edition does not give you the choice to choose what file associations you are using, so this is another matter and a different approach.
For Win 98
Key Name: HKEY_CLASSES_ROOT\.jpg
Value 1 (String)
Name: [Default] Data: “PI3.Image” Note: don’t add “ Registry does that
Value 2 (String)
Name: Content Type Data: “image/jpg”
Key Name: HKEY_CLASSES_ROOT\.jpeg
Value 1 (String)
Name: [Default] Data: “jpegfile”
Value 2 (String)
Name: Content Type Data: “image/jpeg”
Change PI3.Image to the Program as described in previous thread for the new file association with the correct format.
In addition you must change the Open With feature in Win 98 to also change the File Association. Find a *.jpg file, right click the mouse, on the dialog List Box select Open With. Check to see how many programs are listed to open a jpg file. If PI 3 is one of them, then the File association is linked to PI and must be changed back to the program of your choice.
Before I go any farther I must insert this bit of info. Microsoft has as Default the following; When more than one program is installed on a computer pointing to a File association, the Open With dialog is initiated and you can no longer just click on a file extension and get the old program to open the file. You must now right click on the File extension and choose Open With and then select from a list of Programs which one you want to open the file association. This is a permanent entry into MS shell, don’t try to change this habit, or MS Explorer may stop working correctly.
Click on the Open With from the Dialog List, you should get another Dialog List Box with all of the programs that are currently installed on your computer. In the Program Dialog List, navigate to the PhotoImpact program, Highlight the program, look at the check box as the bottom of the Dialog List and Uncheck the Always use the selected program to open this kind of file. Click OK. Go back and do this all over again, this time choose the program name you want to associate the jpg file with and this time Check the Always use the selected program to open this kind of file, if it was not checked.
That’s it for now, try the above and then we will go from there.
For Win 98
Key Name: HKEY_CLASSES_ROOT\.jpg
Value 1 (String)
Name: [Default] Data: “PI3.Image” Note: don’t add “ Registry does that
Value 2 (String)
Name: Content Type Data: “image/jpg”
Key Name: HKEY_CLASSES_ROOT\.jpeg
Value 1 (String)
Name: [Default] Data: “jpegfile”
Value 2 (String)
Name: Content Type Data: “image/jpeg”
Change PI3.Image to the Program as described in previous thread for the new file association with the correct format.
In addition you must change the Open With feature in Win 98 to also change the File Association. Find a *.jpg file, right click the mouse, on the dialog List Box select Open With. Check to see how many programs are listed to open a jpg file. If PI 3 is one of them, then the File association is linked to PI and must be changed back to the program of your choice.
Before I go any farther I must insert this bit of info. Microsoft has as Default the following; When more than one program is installed on a computer pointing to a File association, the Open With dialog is initiated and you can no longer just click on a file extension and get the old program to open the file. You must now right click on the File extension and choose Open With and then select from a list of Programs which one you want to open the file association. This is a permanent entry into MS shell, don’t try to change this habit, or MS Explorer may stop working correctly.
Click on the Open With from the Dialog List, you should get another Dialog List Box with all of the programs that are currently installed on your computer. In the Program Dialog List, navigate to the PhotoImpact program, Highlight the program, look at the check box as the bottom of the Dialog List and Uncheck the Always use the selected program to open this kind of file. Click OK. Go back and do this all over again, this time choose the program name you want to associate the jpg file with and this time Check the Always use the selected program to open this kind of file, if it was not checked.
That’s it for now, try the above and then we will go from there.
-
Masami
-
Mike Van Pelt
Masami: I've been doing this. Whenever a .jpg is opened in PhotoImpact, PhotoImpact turns ".jpg" association back on, even though I have turned it off.
Keenart: Thanks for all your help on this. (I know how hard it is to debug someone else's problem when they have a different version of the OS and application than you do.)
I do this to the registry, right-click on a .jpg, and it doesn't have an "open with" option. Just "open", "print", "ecit with VIM", and "scan with AVG", and it opens with Irfanview, which is what I want.
Start PhotoImpact, load a .jpg so I can edit it, exit PhotoImpact, right-click on a .jpg still has no "open with".
After closing PhotoImpact, double-click on a .jpg now opens with PhotoImpact. The registry {Default} is now set to "PI3.Image".
(I sure wish microsoft had a way to set these things read-only. Or a way to deny registry changing permission to ill-behaved programs.)
Keenart: Thanks for all your help on this. (I know how hard it is to debug someone else's problem when they have a different version of the OS and application than you do.)
I do this to the registry, right-click on a .jpg, and it doesn't have an "open with" option. Just "open", "print", "ecit with VIM", and "scan with AVG", and it opens with Irfanview, which is what I want.
Start PhotoImpact, load a .jpg so I can edit it, exit PhotoImpact, right-click on a .jpg still has no "open with".
After closing PhotoImpact, double-click on a .jpg now opens with PhotoImpact. The registry {Default} is now set to "PI3.Image".
(I sure wish microsoft had a way to set these things read-only. Or a way to deny registry changing permission to ill-behaved programs.)
-
keenart
Mike,
I do have Ulead 3 but no longer have it installed on the computer, gave it to my daughter. I have 4, 5, 6, 8.5, XL and 10. YEAH! I know!!
So, you said you have windows 98 right? Okay I have SE and ME, and they have the Open With Dialog Box, but I don’t know about 98 First Edition.
Let me ask this; did you install 3 after Infanview? And have you tried to reinstall Infanview after you installed 3 to see if Infanview would take back the Default File Association? Don’t have Infanview on the computer anymore so don’t know the Default Value.
I know how to disable Ulead from opening a file, or any file for that matter. You would have to Open Ulead and then go get the file with the Open Dialog Box. If you want to do that, here is how that is accomplished; Open Windows Explorer, Go to the Command Menu Item named Tools, Select Folder Options, select File Types, in the File Type Dialog box find the jpg listing, highlight it, select button named Advanced, In the Edit File Type Dialog Box select the Open item under the Actions: select the button named Edit. In the Edit Action Type Dialog Box under application used to perform action: find the C:\Ulead PhotoImpact 3\iedit.exe “%1” Remove the %1, but NOTHING else, select OK and close all of the other Dialog Boxes.
The above may only be temporary, from the previous actions you have described. If so, to make the change permanent, and stop Ulead from opening any file; in the Registry remove the %1 from the entry C:\Ulead PhotoImpact 3\iedit.exe “%1” located in the following Keys; Open \ Command, Preview \ Command and Review. Do not remove the %1 from the Print \ Command. Remember do not delete anything other than the %1 and only the %1 related to Ulead, not other programs. These values can be reinstated with the reinstallation of Ulead. You may have to reinstall Infanview to gain control once again over the jpg.
If you have anymore trouble “Knock on my door!”
I do have Ulead 3 but no longer have it installed on the computer, gave it to my daughter. I have 4, 5, 6, 8.5, XL and 10. YEAH! I know!!
So, you said you have windows 98 right? Okay I have SE and ME, and they have the Open With Dialog Box, but I don’t know about 98 First Edition.
Let me ask this; did you install 3 after Infanview? And have you tried to reinstall Infanview after you installed 3 to see if Infanview would take back the Default File Association? Don’t have Infanview on the computer anymore so don’t know the Default Value.
I know how to disable Ulead from opening a file, or any file for that matter. You would have to Open Ulead and then go get the file with the Open Dialog Box. If you want to do that, here is how that is accomplished; Open Windows Explorer, Go to the Command Menu Item named Tools, Select Folder Options, select File Types, in the File Type Dialog box find the jpg listing, highlight it, select button named Advanced, In the Edit File Type Dialog Box select the Open item under the Actions: select the button named Edit. In the Edit Action Type Dialog Box under application used to perform action: find the C:\Ulead PhotoImpact 3\iedit.exe “%1” Remove the %1, but NOTHING else, select OK and close all of the other Dialog Boxes.
The above may only be temporary, from the previous actions you have described. If so, to make the change permanent, and stop Ulead from opening any file; in the Registry remove the %1 from the entry C:\Ulead PhotoImpact 3\iedit.exe “%1” located in the following Keys; Open \ Command, Preview \ Command and Review. Do not remove the %1 from the Print \ Command. Remember do not delete anything other than the %1 and only the %1 related to Ulead, not other programs. These values can be reinstated with the reinstallation of Ulead. You may have to reinstall Infanview to gain control once again over the jpg.
If you have anymore trouble “Knock on my door!”
