"DetectLanguage() Failure. Exiting" [SOLVED]

Corel Paint Shop Pro

Moderator: trueblue

"DetectLanguage() Failure. Exiting" [SOLVED]

Postby Miguel Melo on Sun Nov 28, 2010 11:59 am

Hi,

I purchased PSP X3 yesterday and, after updating and playing around with it with no problems, when I double-clicked a video in the Organizer PSP tried to install additional stuff but failed because the PSP msi (that is momentarily decompressed during installation) was no longer in the TEMP folder.

Since I was installing it on my laptop too anyway, I "captured" the contents of the "Corel PaintShop Photo Pro X3\1.5.1.001" folder (in the laptop TEMP) during installation to "feed" to my copy of the desktop next time it asked to install aditional stuff.

So, next time PSP asked to install something else during execution, I pointed it to the captured folder and it successfully completed.

The problem is, after this, whenever I try to run PSP I get a dialog stating

Code: Select all
DetectLanguage() Failure.  Exiting.


and it just exits. :( If I re-install it becomes ok again, but I again don't have whatever feature it is trying to install halfway.

Anyone knows how to either fix the detectlanguage problem _or_ the halfway installation of more stuff?

Thanks!
Last edited by Miguel Melo on Wed Jan 12, 2011 6:58 pm, edited 2 times in total.
Miguel Melo
 
Posts: 9
Joined: Sun Nov 28, 2010 11:46 am
operating_system: Windows 7 Ultimate
System_Drive: C
32bit or 64bit: 32 Bit

Re: "DetectLanguage() Failure. Exiting"?

Postby Miguel Melo on Sun Nov 28, 2010 3:04 pm

Me again... after some investigation I found a way to fix this problem, so I thought I'd post it for the benefit of other people. :D

It seems this during-PSP-usage installer resets the registry key

HKEY_LOCAL_MACHINE\SOFTWARE\Corel\Paint Shop Pro\13\Installer\Lang

to "". If you start getting the "DetectLanguage() Failure. Exiting." dialog error on startup, simply launch regedit, navigate to that key and set it to "EN" (no quotes).

PSP X3 should work again - at least it did for me. :wink:
Miguel Melo
 
Posts: 9
Joined: Sun Nov 28, 2010 11:46 am
operating_system: Windows 7 Ultimate
System_Drive: C
32bit or 64bit: 32 Bit

Re: "DetectLanguage() Failure. Exiting"?

Postby tonyw on Sat Dec 04, 2010 7:59 pm

Hi,
Thanks for the tip. On my Windows 7 64 bit machine, I found the key in a slightly different place. But your tip got me searching!

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Corel\Pain t Shop Pro\13\Installer

Then on setting "Lang" to "EN" then PSP X3 started up normally.

My goodness, software should not require this level of tweaking. It should just work.
tonyw
 
Posts: 4
Joined: Sat Dec 04, 2010 7:50 pm
Location: Vancouver, BC Canada
operating_system: Windows 7 Professional
System_Drive: C
32bit or 64bit: 64 Bit

Re: "DetectLanguage() Failure. Exiting"?

Postby Miguel Melo on Tue Dec 07, 2010 3:38 pm

tonyw wrote:My goodness, software should not require this level of tweaking. It should just work.


Yes. They could certainly have the software fallback to "EN" by default rather than just kick the user out of the program. It's called defensive programming and every coder should do it.

To find how to fix this I had to install X3 on my laptop too, dump the "Corel" tree of the registries to a file in both machines, and run them through a text diff program. Great fun. :twisted:
Miguel Melo
 
Posts: 9
Joined: Sun Nov 28, 2010 11:46 am
operating_system: Windows 7 Ultimate
System_Drive: C
32bit or 64bit: 32 Bit

Re: "DetectLanguage() Failure. Exiting"?

Postby LauraM on Sun Dec 26, 2010 9:53 pm

I also have had this "detect language failure" problem. I am running Vista on my laptop and Im looking for help changing the "lang" to "en" as you are all talking about in the posts above. I loaded it last night and ran it one time and it was a great program, but when I closed it down and tried to start it again, I just get the failure message. How do I go about fixing this. I have read what you have done, but I am looking for a few more steps in the help area! I think I found the place where you were talking about changing lang to en, but there didnt seem to be anywhere to change anything myself. I must be doing something wrong??? If you have any thoughts for me, Im all ears! I didnt know if I needed to uninstall the program and start over or what. Is there just something wrong with the CD I have and should I exchange it? So many questions, so little time! Thanks for any ideas!
Laura
LauraM
 
Posts: 2
Joined: Sun Dec 26, 2010 9:45 pm
operating_system: Vista Home Premium
System_Drive: C
32bit or 64bit: 32 Bit

Re: "DetectLanguage() Failure. Exiting"?

Postby Miguel Melo on Mon Dec 27, 2010 11:05 pm

Hi LauraM,

You shouldn't need to reinstall it again or send for a new CD. Simply run regedit (Windows Key+R and type in regedit). Navigate the folders on the left tree to the path

HKEY_LOCAL_MACHINE\SOFTWARE\Corel\Paint Shop Pro\13\Installer if your windows is 32 bit

or

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Corel\Paint Shop Pro\13\Installer if your windows is 64 bit

when you select this "folder" on the right hand panel you should have a few entries including one called Lang. Double click that one and type in EN on the popup box. Press OK and re-run PSP and you should be fine.
Miguel Melo
 
Posts: 9
Joined: Sun Nov 28, 2010 11:46 am
operating_system: Windows 7 Ultimate
System_Drive: C
32bit or 64bit: 32 Bit

Re: "DetectLanguage() Failure. Exiting"?

Postby LauraM on Wed Dec 29, 2010 3:41 am

Miguel, Thank you so much for the step by step run down of changing this! I found it and its all fixed and the program is working great for me now!!! :D
LauraM
 
Posts: 2
Joined: Sun Dec 26, 2010 9:45 pm
operating_system: Vista Home Premium
System_Drive: C
32bit or 64bit: 32 Bit

Re: "DetectLanguage() Failure. Exiting"?

Postby eggbox on Sat Jan 08, 2011 11:02 pm

Although this is a simple fix for tech savvy people I think editing the registry is something that an end user would find daunting at best.

I think someone suggested that the underlying code would default to EN rather than exiting with a cryptic message, as a programmer myself I always have default values for registry items. Also the message is useless to anyone other than the original programmer, therefore it should never be displayed, it does not even give the user any hint as to what they should do to resolve the issue (like redirecting them to a help page).

Come on Corel, we expect better from you!

/*eggbox
//*Ergin
eggbox
 
Posts: 3
Joined: Sat Jan 08, 2011 10:55 pm
operating_system: Windows 8 Pro
System_Drive: C
32bit or 64bit: 64 Bit
processor: i7-3770
ram: 8GB
Video Card: ATI Radeon HD 3600
sound_card: Realtek
Hard_Drive_Capacity: 1TB
Monitor/Display Make & Model: Dell ST2420L (HDMI)

Re: "DetectLanguage() Failure. Exiting"?

Postby Tadjio on Sun Jan 09, 2011 8:18 pm

I hit this same "DetectLanguage() Failure" today :(
Thanks to Miguel and others for their advice, I fixed the problem using RegEdit (Lang=EN).

In my case, I had X3 installed (purchased) and I could email photos.
Subsequently I installed X3 Ultimate (TBYB) and then Patch #3.
Today when I tried to email a photo, X3 tried to install some feature from PSPPro.msi and couldn't find it in Temp.
I started re-installing X3 Ultimate from my installation download and "captured" the Temp folder.
This solved the email problem but the next time I started, I got "DetectLanguage() Failure"
so then I did the RegEdit.

What a performance but at least I am back up and running :roll:
Tadjio
PSP X7.1 Ultimate user
AfterShot Pro 2.1 ASPirant
Windows 8.1 64-bit Pro
Canon EOS 100D, Olympus E-PM1 & iPhone 5
Tadjio
 
Posts: 1154
Joined: Fri Mar 28, 2008 3:23 pm
Location: UK
operating_system: Windows 8 Pro
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte
processor: Core i7 2.8GHz 860
ram: 8GB
Video Card: ATI HD5570
sound_card: Sound
Hard_Drive_Capacity: 2.5TB

Re: "DetectLanguage() Failure. Exiting"?

Postby Janig on Tue Jan 11, 2011 4:31 pm

Fantastic help guys. Thanks very much. I have been getting the language failure message all of a sudden, although never any problem before. Following the avice shown I have resolved. You would thin k in this day and age a simple click on the keyboard would automatically fix this.
Janig
 
Posts: 1
Joined: Tue Jan 11, 2011 4:27 pm
operating_system: Vista Home Premium
System_Drive: C
32bit or 64bit: 64 Bit
ram: 4GB

Re: "DetectLanguage() Failure. Exiting" [SOLVED]

Postby Nerd3D on Wed Feb 09, 2011 4:58 am

But if they programmed defensively or set it up so a single click would fix this they wouldn't be working for Corhell now would they. Gawd I miss JASC. Unfortunately, this is exactly what I expect form Corhell. They should be legally prohibited from buying any more software companies just so they can ruin perfectly good programs.
Nerd3D
 
Posts: 12
Joined: Tue Nov 09, 2010 10:16 pm
operating_system: Vista Ultimate
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte EP45C-DS3R
processor: Intel Q9550
ram: 8GB
Video Card: GeForce GTX460
sound_card: Realtek High Definition Audio
Hard_Drive_Capacity: 4TB
Monitor/Display Make & Model: Dual P221w

Re: "DetectLanguage() Failure. Exiting" [SOLVED]

Postby atheist on Fri Apr 08, 2011 12:17 pm

Got the same error code just now, good thing Corel has this forum 8)

For those that find fiddling with regedit a little overwhelming you could put the following in a text file and save is as "corellangsetting.reg" (the .reg is the important bit) and then double click that file and accept the change.

64BIT:
Code: Select all
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Corel\Paint Shop Pro\13\Installer]
"Lang"="EN"


32BIT:
Code: Select all
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Corel\Paint Shop Pro\13\Installer\Lang]
"Lang"="EN"
atheist
 
Posts: 2
Joined: Sun Mar 20, 2011 8:44 am
operating_system: Vista Ultimate
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Dell laptop
processor: Centrino 2
ram: 8GB
Video Card: nvidia
Hard_Drive_Capacity: 500GB
Monitor/Display Make & Model: Samsung

Re: "DetectLanguage() Failure. Exiting" [SOLVED]

Postby maxfrost01 on Thu May 05, 2011 6:53 am

Just wanted to say "thanks" for the fix on this one.
This forum is why I stay with Corel.
Keep up the good work, guys.
Max
maxfrost01
 
Posts: 275
Joined: Tue Jun 27, 2006 3:49 pm
Location: London
operating_system: Windows 7 Home Premium
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Intel Corporation DX58SO AAE29331-501
processor: Intel i7 920 2.67GHz
ram: 6 GB
Video Card: NVIDIA GeForce 7600 GS
sound_card: High Definition Audio Device
Hard_Drive_Capacity: 2.2 TB

Re: "DetectLanguage() Failure. Exiting"?

Postby Auser on Wed May 25, 2011 12:52 am

Miguel Melo wrote:Me again... after some investigation I found a way to fix this problem, so I thought I'd post it for the benefit of other people. :D

It seems this during-PSP-usage installer resets the registry key

HKEY_LOCAL_MACHINE\SOFTWARE\Corel\Paint Shop Pro\13\Installer\Lang

to "". If you start getting the "DetectLanguage() Failure. Exiting." dialog error on startup, simply launch regedit, navigate to that key and set it to "EN" (no quotes).

PSP X3 should work again - at least it did for me. :wink:


The amount of bugs in this program is worrying. But thanks a lot for your tip, that just solved this problem for me (odd that it suddenly shows up out of the blue)
The world would be easier if people were easier.
Auser
 
Posts: 71
Joined: Sat Sep 04, 2010 3:56 am
operating_system: Windows 7 Ultimate
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigatebyte
processor: Intel
ram: 16GB
Video Card: Radeon HD7970
sound_card: AU8830A2
Hard_Drive_Capacity: 100

Re: "DetectLanguage() Failure. Exiting" [SOLVED]

Postby Centauri27 on Mon May 30, 2011 6:15 pm

I got this same error too and it drove me crazy, as I must have reinstalled PSP 3 or 4 times. The fix works like a charm--thanks to everyone who posted it. But customers should never have to tweak the registry to re-enable a product! :evil: This is very sloppy quality control on the part of Corel. Same with PSP constantly pestering you for the .msi file, then failing to find it.
Centauri27
 
Posts: 13
Joined: Tue Apr 26, 2011 11:30 pm
operating_system: Windows 7 Home Premium
System_Drive: C
32bit or 64bit: 64 Bit
processor: Core i5
ram: 4GB
Hard_Drive_Capacity: 250GB
Monitor/Display Make & Model: Lenovo ThinkPad T410s display

Next

Return to Paint Shop Pro

Who is online

Users browsing this forum: mojitojoe and 8 guests