graham6282 Posted September 16, 2008 Share Posted September 16, 2008 I am making up xp home and xp pro discs that are fully unattended except i edit winnt.sif so that the [userData] is no longer complete, so xp setup asks for the key.I was wondering if there was a way to ask for the product key before installation starts and to add it to winnt.sif so that it goes through setup without asking any questions at all.I have made lite versions of xp home and pro and i am also looking to make a cd with both versions on it. Both versions are under 350mb. Link to comment Share on other sites More sharing options...
chiners_68 Posted September 16, 2008 Share Posted September 16, 2008 Only way you can do it is to leave the key out of the answer file. you then just have to fill that bit in manually during the install. im sure you could write a script which fills in the answer file key line before proceeding with the install but if you are putting this on cd or dvd you wont be able to write the line you need. What about putting on a memory stick? Link to comment Share on other sites More sharing options...
graham6282 Posted September 16, 2008 Author Share Posted September 16, 2008 Only way you can do it is to leave the key out of the answer file. you then just have to fill that bit in manually during the install. im sure you could write a script which fills in the answer file key line before proceeding with the install but if you are putting this on cd or dvd you wont be able to write the line you need. What about putting on a memory stick?I have left all the information in the UserData section in the answer file blank which means the name and key are not on the disc. It asks for the key during install, thats what i am trying to get rid of, you start installation.... wait till it pops up asking for the key, then wait for installation to finish.I wanted to be able to ask the user to enter the details before installation commences and for it to hold it in memory until the information is needed, no need for a memory stick or anything, just get input from the user from the keyboard.Thanks for the reply though. Link to comment Share on other sites More sharing options...
PsiMoon314 Posted September 17, 2008 Share Posted September 17, 2008 Hi,As far as I know the option to skip the product key during XP SP3 installation is only available to Retail versions of the OS, not OEM ones. Most installs use OEM versions of XP, not retail ones.I specify a "dummy" but valid key in the WINNT.SIF file and then change this prior to activation. You can change the product key used for activation via the XP Activation Wizard.I also use a dummy Name and Organisation and then change this in the registry once the OS is installed.In this way XP will install unattended and then need only minimal changes once installed.Kind RegardsSimon Link to comment Share on other sites More sharing options...
The Glimmerman Posted September 17, 2008 Share Posted September 17, 2008 Maybe you can make an AutoiT script en run that in winnt.sif[GuiUnattended] DetachedProgram="%SYSTEMROOT%\SYSTEM32\ASK-KEY.EXE"#NoTrayIcon#include <Constants.au3>#Region#AutoIt3Wrapper_icon=..\CMD Scripts\Icons\1420.ico#AutoIt3Wrapper_outfile=ASK-KEY.exe#EndRegionOpt("ExpandEnvStrings", 1)Opt("WinWaitDelay", 0) Opt("WinTitleMatchMode",2)$var = InputBox("XP Unattended", "Enter Your Windows XP Key.","12345ABCDE12345ABCDE12345","");MsgBox(4096, "Result", $var)WinWaitActive ("Windows XP Professional Setup", "Your Product Key")EnterSerial()WinWaitClose("Windows XP Professional Setup", "Your Product Key", 300)ExitFunc EnterSerial() WinActivate ("Windows XP Professional Setup", "Your Product Key") Send($var) Send("{ENTER}")EndFunc Link to comment Share on other sites More sharing options...
graham6282 Posted September 25, 2008 Author Share Posted September 25, 2008 (edited) soz glimmerman, i'm not that advanced at this lol,http://www.tipandtrick.net/2008/install-wi...with-retail-cd/This tells you that you can skip entering the key with sp3, but how do you get it to click next and no???Thanks for the reply though glimmerman, hopefully i can understand a bit more of that stuff at a later date Edited September 25, 2008 by graham6282 Link to comment Share on other sites More sharing options...
beats Posted September 25, 2008 Share Posted September 25, 2008 Maybe you can make an AutoiT script en run that in winnt.sif[GuiUnattended] DetachedProgram="%SYSTEMROOT%\SYSTEM32\ASK-KEY.EXE"It's even easier... just use the Windows Product Key Update Tool http://www.microsoft.com/genuine/selfhelp/XPPkuinst.aspx Link to comment Share on other sites More sharing options...
graham6282 Posted September 25, 2008 Author Share Posted September 25, 2008 It's even easier... just use the Windows Product Key Update Tool http://www.microsoft.com/genuine/selfhelp/XPPkuinst.aspxYes i could but i wanted to make a disc for someone, let them put it in the computer and for it to do it itself, without me having to be there. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now