Ofcourse im mounting it first I just didnt copy the mountcommand but believe me, it mounts and dismounts perfectly. Yes basically i have a script which mounts an edition and then you can decide what you want to integrate, updates, lp's to both install.wim and boot.wom or just install.wim, integrating updates wallpapers, drivers and "now" slp key. Everything is working good but masterdisaster code but if i manually copy the key (using my code) it works fine ofcourse.. MD's code, picks right key and shows what key i picked but doesnt inject it:/.
Ah...OK...now it makes sense. Will take a closer look later in case you still need help...have to take care of some other things now but i should be back shortly...
I found the error in the code, it is actually this line. You need to loose the quotes after Set-ProductKey Code: "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /Image:"%work%\mount" /Set-ProductKey:"%productkey%"
Ofcourse.. what an idiot i am. If that works i love you man lol. Seems to work fine, thanks alot, i owe you one Can i make it hide the chosen productkey ? so it only shows the selection i made ?
Lol, never used opatool tho so i cant tell for sure Just made a script thats able to integrate few things to windows 7 and added this feature today(now) with help from MasterDisaster.
Another small question Maybe im just being stupid now but what to do if i want to integrate a custom key ? Not one of the listed ones. And how abut oem info ? Havent got any further on that point:/ I know i can integrate multiple oem brands info (logos etc) to the \system32\oem folder but can i after install have a file check what oembrand bios has and delete all the others? Example: i have hp, asus, lenovo oem in \system32\oem\multioem and after install on HP machine i want it to move hp info to \oem and delete the rest Id like to integrate it all instead of having it on the dvd