batchfile: Logging and international settings..

Discussion in 'Windows 7' started by tcntad, May 21, 2010.

  1. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,634
    1,654
    150
    I know, and get nonsense logfile:p, i want it to log the process as it shows in the commandwindow if possible.

    But these:
    /Set-UserLocale
    /Set-SysLocale
    /Set-InputLocale

    To boot.wim and/or install.wim? And which boot.wim index ?
    (no im not giving this up hehe).


    My script is not only for personal use but public on swedish forum for people who wants to customize their image and their satisfied with having it all set to swedish or english and probably dont want to use an extra file (besides if they burn the iso with a unattended file, they would still need to burn the iso again if they want to change the unattended)..
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. FreeStyler

    FreeStyler MDL Guru

    Jun 23, 2007
    3,563
    3,853
    120
    So you say, above commands do not work?
     
  3. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,634
    1,654
    150
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. FreeStyler

    FreeStyler MDL Guru

    Jun 23, 2007
    3,563
    3,853
    120
  5. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,634
    1,654
    150
    Hmm should be able to, i read uries post but havent tried it yet.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. FreeStyler

    FreeStyler MDL Guru

    Jun 23, 2007
    3,563
    3,853
    120
  7. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,634
    1,654
    150
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. FreeStyler

    FreeStyler MDL Guru

    Jun 23, 2007
    3,563
    3,853
    120
    Still raises a question, how do you like users to select language? sysprep /audit?
     
  9. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,634
    1,654
    150
    Select language ? Ill let them manually change language for setup and windows.
    I just change user and syslocale for setup part for now:).

    Language for windows and setup, i might set later..
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. FreeStyler

    FreeStyler MDL Guru

    Jun 23, 2007
    3,563
    3,853
    120
    Ah, i was under the impression you were making a multilingual image :eek:
     
  11. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,634
    1,654
    150
    #31 tcntad, May 24, 2010
    Last edited: May 24, 2010
    (OP)
    :)

    My script can make a multilingual image, its up to the user if they want. it can integrate updates, languagepacks, drivers, wallpapers, uxtheme patch etc etc
    and now international settings thanks to your help and ill try it now.

    Edit: Hm "/Set-Setupuilang" is going to boot.wim #1 right ?
    But i get "no distribution path specified" altho it mounts fine and rest is set good.. well ill keep bootlanguage manual then.
    Edit2: My bad, see i forgot /distribution part...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,634
    1,654
    150
    Hm.. didnt get rid of that window anyway..
    I set uilang to english (beacuse thats the native language), i set time/currency and keyboard to sv-se beacuse im swedish but still..well

    Any other index of boot.wim i should edit ? ..i can try #2 as urie wrote and #1..
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. FreeStyler

    FreeStyler MDL Guru

    Jun 23, 2007
    3,563
    3,853
    120
    I think that screen is shown default, supose there is no way around it
     
  14. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,634
    1,654
    150
    Doesnt seem better, but that sucks hardtime..
    I cant even set keyboard & time/currency to swedish so it'll show swedish automatically, all is english..
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. urie

    urie retired mod

    May 21, 2007
    8,996
    3,380
    300
    #35 urie, May 24, 2010
    Last edited by a moderator: Apr 20, 2017
  16. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,634
    1,654
    150
    #36 tcntad, May 24, 2010
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,634
    1,654
    150
    #37 tcntad, May 24, 2010
    Last edited: May 24, 2010
    (OP)
    Hm.. is the winpe.wim in boot.wim index, do i need to mount both index 1 and 2 for boot.wim?


    1. mount boot.wim #1 and/or 2
    2. copy winpe.wim x86/amd64 to (in my case) workfolder\winpe\winpe.wim
    3. mount winpe.wim
    4. set locales on winpe.wim
    5. set timezone
    6. dismount using /commit

    Is that correct?

    Havent tried this yet but i will soon:)

    Edit, ok it works. and now? What to do with the winpe.wim, move it to boot.wim #1/2 ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. FreeStyler

    FreeStyler MDL Guru

    Jun 23, 2007
    3,563
    3,853
    120
    No, boot.wim just has 2 indexes, just like install.wim has indexes for every single Window 7 version, just set index , mount, apply commands and unmount... no need to copy files
     
  19. urie

    urie retired mod

    May 21, 2007
    8,996
    3,380
    300
    you don't need to copy anything just mount boot.wim image 1 to mount folder of you choice set loacals and timezone e.c.t dismount commit then repeat for boot.wim image 2.
     
  20. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,634
    1,654
    150
    Hm so just mount boot.wim #1, do my changes, save and repeat for index #2 ?

    Okay, ill try that but what about the guide for winpe.wim?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...