Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


dgoiko

Member
  • Content Count

    10
  • Donations

    $0.00 
  • Joined

  • Last visited

Community Reputation

0 Neutral

About dgoiko

Profile Information

  • OS
    none specified
  1. dgoiko

    Setup from ISO

    Hello. I've noticed that methods like WinSetupFromUSB put my W7 instalation isos inside the cd without extracting the files, while Microsoft's software extract the files from the iso to the usb. Is there any difference in performance between them? For me it looks like unextracted iso will be slower, am I right? and if I am, how bad it is?
  2. Sorry I've been out for two weeks. I have tried to modify the files I suggested, but I found out that it's impossible to execute commands before the values are read. I'll try SetProductKey.cmd, it seems it will satisfy my needs, however as bphlpt pointed out, it would have been great to learn another way to do it.
  3. I've been looking SynchronousCommands, and it seems like RunSynchronous can only be done within specialize or auditUser :S I'm trying a workaround putting my placeholder as a COMMENT, so maybe installation wont crash and let me modify the placeholder before re-reading the file
  4. Hello. Yeah, it does involve OEM folders, its the "bad" side of the script, but as I'll be inserting firefox and other things I allways use inside my cds I guess its not so bad. I've made my first test with my script, and if I use -placeholder- as token to modify the installation will break at the point where it parses for first time %systemroot%\Panther\unattend.xml, it said it found an invalid value. I guess it readed -placeholder- before I edit it. I'll replace -placeholder- for the professional key, and then edit it BEFORE that specific value is parsed to be inserted. I dont know if it will work, if not, i'll seek for another installation point where I can run scripts, %systemroot%\Panther\unattend.xml is already created and haven't been parsed yet. (by the way, do u know which point is that? my installation broke at finishing installation part)
  5. Oh i see, like when we make several lines in a grub config pointing to the same linux kernel but with different boot options... Your solution worked just fine, but I think I found a lighter one: When you use an invalid key on the autounattend.xml it sais the value from the xml file %systemroot%\Panther\unattend.xml is invalid, so I guess that in some point, after the last restart and before the product key window it does read THAT file to determine which key it has to inserted. I also found out that by executing the command wmic os get Caption /valuereturns the version of your windows (i.e) Microsoft Windows 7 Home Basic (I guess its basic for you guys, but as I said before I'm not really used to windows commands). It has worked on both versions I've currently installed on this machine, so I supose the command works on all windows versions, I will test it though. I made a batch script that trims Home Basic from that string and depending on the version you're installing opens %systemroot%\Panther\unattend.xml and replaces the keyword --placeholder-- with the appropiate key. My intention is to run it before %systemroot%\Panther\unattend.xml is checked to get the key to memory. This is the script : @echo offset xmlfile="%systemroot%\Panther\unattend.xml"set tok=-placeholder-FOR /F "tokens=2 delims=7" %%i in ('wmic os get Caption /value') do set osv=%%iif "%osv%" EQU " Starter " set key=7Q28W-FT9PC-CMMYT-WHMY2-89M6Gif "%osv%" EQU " Home Basic " set key=YGFVB-QTFXQ-3H233-PTWTJ-YRYRVif "%osv%" EQU " Home Premium " set key=RHPQ2-RMFJH-74XYM-BH4JX-XM76Fif "%osv%" EQU " Professional " set key=HYF8J-CVRMY-CM74G-RPHKF-PW487if "%osv%" EQU " Ultimate " set key=D4F6K-QK3RD-TMVMJ-BBMRX-3MBMVfor /f "tokens=1,* delims=]" %%A in ('"type %xmlfile%|find /n /v """') do ( set "line=%%B" if defined line ( call set "line=echo.%%line:%tok%=%key%%%" for /f "delims=" %%X in ('"echo."%%line%%""') do %%~X >> temporal.xml ) ELSE echo.)MOVE /Y temporal.xml %xmlfile%The keys above are 30 day-trial keys, provided by Microsoft in their isos, so I believe this code is not illegal at all. Please, if this is not allowed in the website let me know so I can strip out the codes. As I haven't tested it yet I dont know if wmic works while W7 installation, but I guess it does) I'm going to make proper tests tonight, so I dont know if this method works 100%
  6. Thank you. I have never asked for the already made CD or the canned setup itself, i just wanted guidance like what you just gave, an example to continue from, or good documentation from technet (the docs I found where poor compared to phpdoc or javadoc, for instance). I'm not very used to xp neither, i'm a linux guy, we compile things, so if you dont like something you just go to the code and modify it, believe me, if there was something like a switch case Home {...} break case Pro {...} I wouldn't be there asking. And again, I do not want YOU to make an iso for ME or to edit an xml that fulfill MY needs, i was asking for a diffrent but related xml where i could see different behaviours after selecting a version. Almost forgot, excelent refereces (even though grub4dos is basic, the other guide is interesting), I believe I'll be able to make it from here, you gave me some ideas in your examples to workaround my problem (I've seen you can set the same component for two different architectures, i'll see if i can set custom attributes there or if microsoft gives a way to determine the choosen image). I'll look on the doc with more care to see if I'm missing an straight solution here. Anyway, as soon as I have the xml working I'll post the used code for others with the same problem.
  7. I think I didnt explain myself well. If i dont set anything on the unattended file for keys, the step 12 will ALLWAYS appear for me, so I have to click on omit, i never said I want to do it backwards, maybe my english doesnt let me explain myself well. What I am really asking for: I've 3 different licenses of windows: Starter <sighs>, Home Prem and Pro, I want a SINGLE dvd that ONLY requires my intervention to select the product version (step 6 in your urls) and partitions to install (step 9), and gets the 30 day trial enabled without ANY user intervention (not even clicking omit), so I can enter my key without problems on first GUI available. My goal is to have an installer which allows me to switch it on, wait a few secs (until step 9), go away, and by the time I get back find my Windows kindly installed and waiting for me to introduce the drivers and real working product key, manually this time (NOT waiting on step 9 for key, waiting with the Desktop loaded on Administrator). liked automagically workd, never heard before xD. My installer does not, it keeps asking me to insert one or click omit. Where is product.ini located? maybe it is missing? (I dont think so, otherwise omit wouldn't work either). This is what they said on your links about it: Where's the doc about it? I just need one example of an installed behaving different depending on the OS you choosed on step 6 to work from it, I'm a programmer, it wont be much difficult to deduce how it works if I've got a working example. Again, thanks for your effort and nice help
  8. Thanks for your fast reply. If I'm understanding the second post well, my problem gets solved by inserting several <Key>HYF8J-CVRMY-CM74G-RPHKF-PW487</Key> inside the answer file, like this_ <ProductKey> <Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key> <Key>YYYYY-YYYYY-YYYYY-YYYYY-YYYYY</Key> <Key>ZZZZZ-ZZZZZ-ZZZZZ-ZZZZZ-ZZZZZ</Key> <WillShowUI>OnError</WillShowUI></ProductKey>am I right? (I havent tested yet because I'm not at home atm). And you meant that if I insert <ProductKey> <Key></Key> <WillShowUI>OnError</WillShowUI></ProductKey>or <ProductKey> <WillShowUI>OnError</WillShowUI></ProductKey>it will work aswell? Will try both and post results back.
  9. Hello. I'm new in the world of the unattended installs, and i'm trying to improve my Windows iso's by making them unattended. I've been reading about Autounattended.xml and how to introduce trial product keys there, and it works nice if you have a single version of windows in your cd, but my problem is that my cd has all the versions of each architecture (ei.cfg removed), so if I insert professional 30-day trial key and then decide to install Home Edition it will promt error. When I install the cd manually I can click an omit button during the instalation without tiping any key and introduce it later. My question is, is there any available option inside Autounattended.xml to do this? or is there any way to introduce the correct trial key depending on the version I've chosen? Thank you very much, and sorry for my english, I'm a bit out of practise. [Edited to clarify] My point is to have a CD where I only choose the product version and partitions for the instalation (which is nearly at the begining of the instalation),being the rest unattended, including leting the default trial product keys get installed WITHOUT my intervention to click omit. I usually leave things installing before going to sleep, so I want them to be finished when I wake, not waiting for user input :S. At the moment I got what I want, except that windows keeps asking for the product key instead installing the trial. I'll post my unattended file within 3 hours when I'm back home so you can see my mistakes.
  10. dgoiko

    How to Integrate Basic Updates/IE8/WMP11

    Hello. Thanks for the info. I'm new on this strange Windows world (never liked it though, but lets not get into SO debate xD) and this was helpfull. Its pretty basic, but has been usefull to me to deduc ehow nLite works to move fordward and finish my xp cd project. I wanted to say this tutorial worked like a charm (to be honest, even if this CD was not my goal, I had to test if your tut. was ok before trying to move on), but my languaje is Spanish, and i'm going to make spanish CDs, so I made a script which generates the download links for ESN versions and edit the necesary thing in UDCyyyy-mm-dd.bat. I havent been able to try it yet, but tell me: Was my work useless, or as I thought, I need ESN updates for ESN xp install? The only one I couldn't find is the old WGA which is listed first in xdot.tk. And last question, as far as I understood from documentation of nLite, when you slipstream things this way they are REPLACING files in the instalation CD, so they will be like "preinstalled" (i mean, it may take longer than before if file is bigger than the removed, but this is much more efficient than making a clean install and preparing an unnatended installation for all updates, am I wrong?) Again, sorry for the noobish questions, but i'm a gcc guy, and here I dont have sources to look at PS: If you tell me the updates need to be languaje specific, I'll post my scripts and methods to automatically obtain the maping englishLink->yourLangLink (which is not as easy as changing ENU for ESN, it involves crawling around microsoft site to get urls and put them together, then edit the UDC file. It is a 15 min work in a break at my real job, so dont expect elegancy or efficiency, it just does the task )
×