Jump to content

Manuarii

Member
  • Posts

    2
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    France

Everything posted by Manuarii

  1. Hi You first need to install the language pack into your mounted vista wim, to do that you need to create an xml which includes your lp.cab. It may look like this: ?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <servicing> <package action="install"> <assemblyIdentity name="Microsoft-Windows-Client-LanguagePack-Package" version="6.0.6000.16386" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="fr-FR" /> <source location="D:\lp.cab" /> </package> </servicing> <cpi:offlineImage cpi:source="wim:D:/windows_distribution/sources/install.wim#Windows Vista ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend> And then in your "PE Tools command prompt" type this: Servicing\pkgmgr /o:"C:\wim_mount\;C:\wim_mount\Windows" /n:"D:\Your.xml" Installation will take a while... After this you can set your language to default with intlcfg command: intlcfg -genlangini -dist:D:\windows_distribution -image:c:\wim_mount -defaultlang:fr-FR -all:fr-FR And then unmount your image: imagex /unmount /commit c:\wim_mount
  2. Whenever you put entries in the RunOnceEx registry key, all keys in it is run in alphanumerical order, once at the next reboot. (used keys are deleted aftwards) To execute the RunOnceEx Key without the need of the system reboot you can use the command 'rundll32.exe iernonce.dll,RunOnceExProcess' after registering So if you want to make consecutive RunOnceEx windows runs at logon, just call the other RunOnceEx command file at the end of the current one and put 'rundll32.exe iernonce.dll,RunOnceExProcess' at his end. Here an example: 1stRunOnceEx.cmd executed from cmdlines.txt adds registry entries at T-12 FOR %%D IN (d: e: f: g: h: i: j: k: l: m: n: o: p: q: r: s: t: u: v: w: x:) DO IF EXIST %%D\WIN51IP SET CDROM=%%D SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx SET PG=%CDROM%\APPS1 REG ADD %KEY% /V TITLE /D "1st list of apps to be execute" /f REG ADD %KEY%\000 /VE /D "1st application" /f REG ADD %KEY%\000 /V A /D "%PG%\1stApp.exe" /switch1 /switch2" /f REG ADD %KEY%\010 /VE /D "2nd application" /f REG ADD %KEY%\010 /V 1 /D "%PG%\2ndApp.exe" /switch1 /switch2" /f [i](etc...)[/i] REG ADD %KEY%\zzz /VE /D "Cmd to register other entries" [i]<-- don't add this if you don't want it to be listed[/i] REG ADD %KEY%\zzz /V Z /D %Path_to%\2ndRunonceEx.cmd /f This will be executed at first logon coz the RunOnceEx Registry Key needs a reboot or the 'rundll32.exe iernonce.dll,RunOnceExProcess' command to be executed 2ndRunOnceEx.cmd FOR %%D IN (d: e: f: g: h: i: j: k: l: m: n: o: p: q: r: s: t: u: v: w: x: y: z:) DO IF EXIST %%D\WIN51IP SET CDROM=%%D SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx SET PG=%CDROM%\APPS2 REG ADD %KEY% /V TITLE /D "2nd list of apps to be execute" /f REG ADD %KEY%\000 /VE /D "1st application" /f REG ADD %KEY%\000 /V A /D "%PG%\1stApp.exe" /switch1 /switch2" /f REG ADD %KEY%\010 /VE /D "2nd application" /f REG ADD %KEY%\010 /V 1 /D "%PG%\2ndApp.exe" /switch1 /switch2" /f [i](etc...)[/i] REG ADD %KEY%\zzz /VE /D "Cmd to register other entries" [i]<-- don't add this if you don't want it to be listed[/i] REG ADD %KEY%\zzz /V Z /D %Path_to%\my_next_RunonceEx.cmd /f rundll32 iernonce.dll,RunOnceExProcess The 2ndRunOnceEx.cmd will register his entries in the registry when the 1st set of programs are done and since we add 'rundll32 iernonce.dll,RunOnceExProcess' it will run the new RunOnceEx entries and will call the my_next_RunOnceEx.cmd at the end of it, and so on...
×
×
  • Create New...