Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 12th May 2006, 20:15   #1
nacamae
Junior Member
 
Join Date: Apr 2004
Location: São Paulo - Brazil
Posts: 14
Detecting .Net Language Pack

Hi,

Anyone knows how I can detect if a specific (portuguese) language pack for .NET framework 2.0 is installed in a computer.

MS says to check de Install entry in HKLM\SOFTWARE\Microsoft\NET Framework\NDP\v2.0.50727\1046, but this key does not exist.

thanks in advance,

Henrique Nacamae
nacamae is offline   Reply With Quote
Old 19th May 2006, 09:35   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
Seems to me like you should detect the available .NET version and enumerate the keys under HKLM\Software\Microsoft\NET Framework\NDP\<version here>. According to what you say Microsoft recommends, that should tell you which language packs are available. Use RegEnumKey to enumerate registry keys.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 19th May 2006, 19:19   #3
nacamae
Junior Member
 
Join Date: Apr 2004
Location: São Paulo - Brazil
Posts: 14
I've already did it.

It seems the language pack installation does not update the registry in the way MS said in its article.

I've installed the language pack in my computer and the key HKLM\SOFTWARE\Microsoft\NET Framework\NDP\v2.0.50727\1046 was not created. There Is just ...\1033 key created when .NET Framework was installed.

Henrique nacamae
nacamae is offline   Reply With Quote
Old 19th May 2006, 21:23   #4
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
Try running RegMon while installing. Maybe it'll show another key.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 22nd May 2006, 12:02   #5
nacamae
Junior Member
 
Join Date: Apr 2004
Location: São Paulo - Brazil
Posts: 14
Ops,

Wrong thread. Sorry

Last edited by nacamae; 22nd May 2006 at 13:59.
nacamae is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump