MSFN Forum: How to integrate a language pack in vista dvd ? - MSFN Forum

Jump to content



vLite Forum Rules

If you are having issues with Windows after removing components and have come to ask for help, please attach (not paste) your Last Session.ini file to your post to facilitate quicker assistance.
  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

How to integrate a language pack in vista dvd ? Rate Topic: -----

#1 User is offline   garrettbr 

  • Group: Members
  • Posts: 4
  • Joined: 16-June 07

Posted 16 June 2007 - 07:49 AM

Hey Guys !!!

Please, i need some help.

Anybody know what i have to do , to integrate a mui pack file in installation of windows vista ?

I show you a example:

Windows Vista Internacional Coporate DVD - PiterPen Release , X86 version have more than 10 languages for selection...my pack is PT-BR , i need to integrate this pack.

My vista dvd x64 have 3 languages, I need to integrate 1 more, the pt-br.

Posted Image

thank's


#2 User is offline   aviv00 

  • Windowaizer
  • PipPipPipPipPip
  • Group: Members
  • Posts: 910
  • Joined: 02-April 07

Posted 26 June 2007 - 03:45 AM

just to be sure that PT-BR u have is x64 too ?
if not u cant use it

#3 User is offline   nam265 

  • Junior
  • Pip
  • Group: Members
  • Posts: 70
  • Joined: 06-May 04

Posted 27 June 2007 - 01:52 PM

I also interested in knowing how to integrate MUI packs, anyone know how?

This post has been edited by nam265: 27 June 2007 - 01:52 PM


#4 User is offline   mhyll 

  • Newbie
  • Group: Members
  • Posts: 32
  • Joined: 23-August 06

Posted 02 July 2007 - 02:34 AM

I've modified some scripts, that I've found and put the whole process to one batch. It will integrate the given Language pack into all editions of Vista DVD.

Tested and working.

Integrate langpack.cmd
@Echo Off
Echo Enter path to Windows AIK:
Echo Example: C:\Program Files\Windows AIK
Set /p WAIK=
Echo.
Echo Enter path for mounting WIM file:
Echo Example: D:\VistaWork\Mount
Set /p WIM=
Echo.
Echo Enter path to directory with Vista DVD copied:
Echo Example: D:\VistaWork\DVD
Set /p WD=
Echo.
Echo Enter path to language pack:
Echo Example: D:\VistaWork\LP\lp.cab
Set /p LP=
Echo.
Echo Enter path for extracting the language pack:
Echo Example: D:\VistaWork\LPEXT
Set /p ELP=
Echo.
Echo Enter language pack ID:
Echo Example: en-US
Set /p LANG=
Echo.
Echo Select the Vista edition:
Echo Example: 1
Echo 1 - BUSINESS
Echo 2 - HOMEBASIC
Echo 3 - HOMEPREMIUM
Echo 4 - ULTIMATE
Echo 5 - BUSINESSN
Echo 6 - HOMEBASICN
Echo 7 - STARTER
Set /p EDITION=
Echo.

"%WAIK%\Tools\x86\Imagex.exe" /mountrw "%WD%\Sources\install.wim" %EDITION% "%WIM%"
"%WAIK%\Tools\PETools\peimg.exe" /list "%WIM%\Windows"
"%WAIK%\Tools\PETools\peimg.exe" /import="%LP%" "%WIM%\windows"
"%WAIK%\Tools\PETools\peimg.exe" /install=*LanguagePack* "%WIM%\windows"
"%WAIK%\Tools\x86\intlcfg.exe" -genlangini -dist:"%WD%" -image:"%WIM%" -f
"%WAIK%\Tools\PETools\peimg.exe" /lang=%LANG% "%WIM%\Windows"
"%WAIK%\Tools\PETools\peimg.exe" /timezone=%LANG% "%WIM%\Windows"
"%WAIK%\Tools\PETools\peimg.exe" /list "%WIM%\Windows"
"%WAIK%\Tools\x86\Imagex.exe" /unmount /commit "%WIM%"

Rd /S /Q "%ELP%"
Mkdir "%ELP%"
Expand "%LP%" -f:* "%ELP%"
Xcopy "%ELP%\setup\sources\%LANG%\*" "%WD%\sources\%LANG%" /cherkyi
Xcopy "%ELP%\sources\license\%LANG%\*" "%WD%\sources\license\%LANG%" /cherkyi
"%WAIK%\Tools\x86\Imagex.exe" /mountrw "%WD%\Sources\boot.wim" 2 "%WIM%"
Xcopy "%ELP%\setup\sources\%LANG%\*" "%WIM%\sources\%LANG%" /cherkyi
Xcopy "%ELP%\sources\license\%LANG%\*" "%WIM%\sources\license\%LANG%" /cherkyi
Copy "%WD%\sources\Lang.ini" "%WIM%\sources\Lang.ini"
"%WAIK%\Tools\x86\Imagex.exe" /unmount /commit "%WIM%"
Rd /S /Q "%ELP%"
Mkdir "%ELP%"

echo End of language pack integration.
pause

This post has been edited by mhyll: 02 July 2007 - 05:52 AM


#5 User is offline   mhyll 

  • Newbie
  • Group: Members
  • Posts: 32
  • Joined: 23-August 06

Posted 02 July 2007 - 02:35 AM

Hope it helps. :)

#6 User is offline   Hanschke 

  • Junior
  • Pip
  • Group: Members
  • Posts: 89
  • Joined: 29-May 04

Posted 02 July 2007 - 02:54 AM

can i select which one i want to slip? and do i need any stuff to do this or only the cmd? what is about the right folders?

#7 User is offline   mhyll 

  • Newbie
  • Group: Members
  • Posts: 32
  • Joined: 23-August 06

Posted 02 July 2007 - 03:05 AM

You need Windows AIK (WAIK) installed.

If you don't want to download whole 900MB package, I can upload MiniPETools which contains all needed.
If you create folder structure like in Examples it will work.

You can select only one edition, by deleting the others from CMD.

Numbers:
1-BUSINESS
2-HOMEBASIC
3-HOMEPREMIUM
4-ULTIMATE
5-BUSINESSN
6-HOMEBASICN
7-STARTER

#8 User is offline   mhyll 

  • Newbie
  • Group: Members
  • Posts: 32
  • Joined: 23-August 06

Posted 02 July 2007 - 03:09 AM

You can download MiniPETools at:

http://photography.ic.cz/MiniPETools.exe


#9 User is offline   nuhi 

  • ON PAUSE - nLite & vLite human.dll
  • Group: Developers
  • Posts: 4,299
  • Joined: 25-October 03

Posted 02 July 2007 - 03:34 AM

mhyll, thank you but I can't distribute the peimg ms tool, I wish I could, then hotfixes would be supported as well. Now I gotta write my own routines but that might not even be possible with this new package thingy.

#10 User is offline   mhyll 

  • Newbie
  • Group: Members
  • Posts: 32
  • Joined: 23-August 06

Posted 02 July 2007 - 03:48 AM

Couldn't you add it as requirements for running vLite, just like .NET??? MiniPETools have only 5MB. :)

Or maybe just like option.
And add routines, to check, if this is installed. If yes, hotfix and language slipstream will be available in vLite, if not, it will be unavailable.

This post has been edited by mhyll: 02 July 2007 - 03:50 AM


#11 User is offline   nuhi 

  • ON PAUSE - nLite & vLite human.dll
  • Group: Developers
  • Posts: 4,299
  • Joined: 25-October 03

Posted 02 July 2007 - 04:43 AM

Vista has .NET in it, everyone running nLite have .NET. MiniPETools isn't MS product, too weird to make that requirement.
Too much work for optional features. When done it has to be supported from the box.

#12 User is offline   mhyll 

  • Newbie
  • Group: Members
  • Posts: 32
  • Joined: 23-August 06

Posted 02 July 2007 - 05:05 AM

View Postnuhi, on Jul 2 2007, 12:43 PM, said:

Vista has .NET in it, everyone running nLite have .NET. MiniPETools isn't MS product, too weird to make that requirement.
Too much work for optional features. When done it has to be supported from the box.



Maybe you can include MiniPETools. :)

#13 User is offline   nuhi 

  • ON PAUSE - nLite & vLite human.dll
  • Group: Developers
  • Posts: 4,299
  • Joined: 25-October 03

Posted 02 July 2007 - 05:40 AM

Did they rewrite peimg from nothing?

#14 User is offline   mhyll 

  • Newbie
  • Group: Members
  • Posts: 32
  • Joined: 23-August 06

Posted 02 July 2007 - 05:58 AM

View Postnuhi, on Jul 2 2007, 01:40 PM, said:

Did they rewrite peimg from nothing?


I don't know. I just rewrote the script. You can check it in the earlier post. It allows selecting edition, into which you want to integrate tha langpack. Also did some automations. :) Check and write, if something can be better.

#15 User is offline   mhyll 

  • Newbie
  • Group: Members
  • Posts: 32
  • Joined: 23-August 06

Posted 02 July 2007 - 06:04 AM

View PostHanschke, on Jul 2 2007, 10:54 AM, said:

can i select which one i want to slip? and do i need any stuff to do this or only the cmd? what is about the right folders?


I rewrote the script to allow this. :)

#16 User is offline   mikesw 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 355
  • Joined: 05-October 05

Posted 02 July 2007 - 06:32 AM

mhyll, will your script work for doing either a new language pack integration where one wasn't included
before, and to integrate an update to a language pack that already exists in Vista?

#17 User is offline   mhyll 

  • Newbie
  • Group: Members
  • Posts: 32
  • Joined: 23-August 06

Posted 02 July 2007 - 06:42 AM

View Postmikesw, on Jul 2 2007, 02:32 PM, said:

mhyll, will your script work for doing either a new language pack integration where one wasn't included
before, and to integrate an update to a language pack that already exists in Vista?


I don't understand your question clearly. But:

1. This is for integrating updates to the Vista installation DVD, so it's not for already installed Vista.
2. You can integrate any language you want. Except English, because with that I had some problems. I am searching, why it does not integrate english into other languaged DVD.
3. To integrate translation update, you will need to integrate this update like Hofix not like Language Pack.

This post has been edited by mhyll: 02 July 2007 - 06:43 AM


#18 User is offline   mikesw 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 355
  • Joined: 05-October 05

Posted 02 July 2007 - 07:03 AM

myhll,

For item (1) I take it that this "update" means, if the language didn't exist in Vista (for example PT-BR) that
once MSoft comes out with it, one can integrate it into Vista using your script above.

However, for item (3) if MSoft comes out with a language pack "update", it means, that the language (for example
PT-BR) was already included, but MSoft came out with an update to correct for example spelling errors, additional
information in that language etc. that in this case, since you mention to integrate it like hotfixs, that one could
use Nuhi's Vlite tool.


Now, the question begs to be asked. What about if a language (for example PT-BR) is already integrated on the
Vista DVD, and one wants to remove it to create more space on the DVD for other software stuff?
Is there a way to modify your script to "Delete" the language from the language pack that's already integrated into
the Vista DVD? :whistle:

This post has been edited by mikesw: 02 July 2007 - 07:05 AM


#19 User is offline   mhyll 

  • Newbie
  • Group: Members
  • Posts: 32
  • Joined: 23-August 06

Posted 02 July 2007 - 11:08 AM

View Postmikesw, on Jul 2 2007, 03:03 PM, said:

myhll,

For item (1) I take it that this "update" means, if the language didn't exist in Vista (for example PT-BR) that
once MSoft comes out with it, one can integrate it into Vista using your script above.

However, for item (3) if MSoft comes out with a language pack "update", it means, that the language (for example
PT-BR) was already included, but MSoft came out with an update to correct for example spelling errors, additional
information in that language etc. that in this case, since you mention to integrate it like hotfixs, that one could
use Nuhi's Vlite tool.


Now, the question begs to be asked. What about if a language (for example PT-BR) is already integrated on the
Vista DVD, and one wants to remove it to create more space on the DVD for other software stuff?
Is there a way to modify your script to "Delete" the language from the language pack that's already integrated into
the Vista DVD? :whistle:



Sure it is. I just wasn't looking on this. PEIMG and PKGMKR is the key. :)

#20 User is offline   nam265 

  • Junior
  • Pip
  • Group: Members
  • Posts: 70
  • Joined: 06-May 04

Posted 02 July 2007 - 01:28 PM

I tried your script but i got a little confuse about path settings. Can you give me a complete/clear walkthrough how to use your script plz?

let say I have my DVD copied to C:\VistaWork\DVD
path for mounting WIM file - is this going to be C:\VistaWork\DVD\sources?

path to language pack - I put Lp.cab in C:\VistaWork\LP, so that's the path?

path for extracting the language pack - what is this path? can i just create a new folder in C:\VistaWork and call it LPext?

language pack ID - since i'm trying to integrate Chinese - HKSAR, what is its pack ID? Zh-hk?


Thanks in advance

Share this topic:


  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy