It's a cool idea, but I was thinking more along the lines of an TreeView / CheckBox control filled from get-features command. It would pre-populate with all the current settings, and user could enable/disable each with via click. As for package removal the main problem seems the need to re-write install_wim_tweak.exe so it works with DISM. This is all kinda on the back burner, maybe someone else wants to do that for us.
actually already started on it and make it dynamic, when i mount I export the lists and then populate from that with checkboxes after i said that i looked and realized my dism lists was twice as big as tomorrow lists but needs work
I get always this: PS C:\> DISM.exe /Mount-Wim /wimfile:\7Work\DVD\urces\install.wim /index:3 /MountDir:\7Work\Mount in urces has be sources, dont know why your tool screw this path.
OK, never got answer from the other guy, I think he had a german build, what language is your computer. Is the word Source have any language specific diacritic's in it. It's possible one of those characters is unicode and not viable during the sendkeys command.
OK, looks liek 3 reports of not working on non-english machines, (guesstimate unicode issue) Cannot re-create the error and no one has been willing to help me determine what the problem is. What do you suggest I do, other than advising unicode users to stay away. Can you snap a jpeg of the error, and a jpeg of your folder tree (with full path included), mainly I want to see if you have any diacritic characters or anything that would tell me why German/Danish and other languages have problems Is maybe the Heavy Metal Umlaut over the Ö in sources ? Something else ? I can only guess without your help
i agree. very cool. thanks Mr Jinje! EDIT: @Mr Jinje hey duder, i think i may have found a bug.. not sure if anyone else noticed it b4 i chose 'C:\Users\rich\Desktop\New folder' as the mount DIR and when i went to install key i get: Code: PS C:\> DISM.exe /Image:C:\Users\rich\Desktop\New folder /Set-ProductKey:342DG-6 YJR8-X92GV-V7DCV-P4K27 Error: 87 DISM doesn't recognize the command-line option "folder". For more information, refer to the help by running DISM.exe /?. The DISM log file can be found at C:\Windows\Logs\DISM\dism.log PS C:\> looks like the space is causing a prob (?)... anyhoo. for what its worth. but very very awesome. i figured out how to do this the manual way a while ago and had to install the WAIK and use imagex etc.. so this is an awesome time saver. +1 to u
I made a AIO Windows 7 RTM DVD and would like to add all the OEM Logos and integrate the relevant keys and certificates. During installation, the BIOS must be checked for SLIC 2.1 and thne pre-activate using the relevant key/certificate for that OEM. I checked out the thread about a tool that would do something similar but that tool uses a loader if the BIOS does not have SLIC 2.1 which I don't want to use. I would prefer no loaders at all on the DVD. Also, I want the keys integrated within the WIM for the relevant SKU and not installed via a script. The tutorial for Je Jin's DISM tool seems great but does not specify how to add more than 1 key per SKU. For example, to add keys for Acer for all SKU's ie. Home Basic, Home Premium etc. seems straight forward. To add keys for Acer as well as Asus, Lenovo, HP etc for Ultimate as well as the matching certificates does not seem possible with this tool. If someone knows of a tutorial do create such a DVD, I would appreciate it.
Correct, I did not include double quotes in my SendKeys command, if we find a fix for the SO in Sources problem, I will try 'member to add this as a bug-fix in the next version. Are you talking about the German language pack from Windows Updates, maybe if I install that, then I can re-create the error. Normally I would ask to look in the DISM log, but my German is limited to ordering Two Wiezenbock's at Oktoberfest.
Any Bright Ideas. @others - After looking at Tomorrows JPEGS, it seems everything is correct, (except for the actual DISM command). The DISM mount command reads the variables directly from the Text field (apparently no spaces, no umlauts or nothing and still it errors). Here is the source for the Quick Mount button. Basically I read the Variables from the Text Fields, then Prompt the user OK/Cancel, and if they hit OK, if spawns a new command window and runs the DISM command via sendkeys Code: $WIM = $SOURCE_WIM.text $MNT = $MOUNT_DIR.text $INDEX = $IMAGE_INDEX.Text $PROMPT = [Microsoft.VisualBasic.Interaction]::MsgBox("Quick Mount the WIM", 'OKCancel,Question', "Last Chance to Cancel") ;switch ($PROMPT) {'OK'{ Invoke-Item C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe Start-Sleep 1 [System.Windows.Forms.SendKeys]::Send("c:{ENTER}CD \{ENTER}CLS{ENTER}DISM.exe /Mount-Wim /wimfile:$WIM /index:$INDEX /MountDir:$MNT{ENTER}") }'Cancel'{ }} Judging by the image, Tomorrow's text field is correct, but when the $WIM variable gets into the SendKeys command, it is not the same. Any clue what could be altering the variables mid-stream. I was hoping it would be a simple fix (unicode character messing up sendkeys), but now it seems is something else. Luckily though until we find the problem the workaround is to move the WIM to a root location as users NFO + Chris-B is reporting success that way. Not a clue as to why those two letters are being dropped.