minusbfold Posted March 29, 2006 Share Posted March 29, 2006 (edited) I set up my unatended XP pro with nlite and then took it a bit further and tried to use runonceex and for some reason when I go to install it asks me for the windows xp pro sp2 disk. We at have the sp2 disc built into out XP install.. So I got that on there and when it went into installing it did not add it to the network right then it added none of my custom apps like i asked it to in runonceex I dont know what im doing wrong but its all messed up.cmdow @ /HID@Echo OffFOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\win51ip.SP2 SET CDROM=%%i:SET PP=%cdrom%\Install\SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "" /fREG ADD %KEY%\000 /VE /D "Adobe Reader 6" /fREG ADD %KEY%\000 /V 1 /D "%PP%\adobe\AdbeRdr707_en_US.exe /silent" /fREG ADD %KEY%\001 /VE /D "Spybot Search and Destroy" /fREG ADD %KEY%\001 /V 1 /D "%PP%\spybot\spybotsd14.exe /silent" /fREG ADD %KEY%\002 /VE /D "Ultra VNC" /fREG ADD %KEY%\002 /V 1 /D "%PP%\vnc\UltraVNC-101-Setup.exe /silent" /fEXITThats how I have it set up and It wont do nothing..below is also my winnt.sif_______________________________________________________; Generated by nLite 1.0 RC7[Data]Autopartition = 0MsDosInitiated = 0UnattendedInstall = "Yes"[unattended]UnattendMode = FullUnattendedUnattendSwitch = "No"OemPreinstall = "Yes"OemSkipEula = "Yes"FileSystem = *WaitForReboot = "No"NoWaitAfterTextMode = 1NoWaitAfterGUIMode = 1DriverSigningPolicy = IgnoreNonDriverSigningPolicy = Ignore[systemRestore][GuiUnattended]EncryptedAdminPassword = "No"AdminPassword = "*******"OEMSkipRegional = 1OemSkipWelcome = 1[shell]DefaultThemesOff = "Yes"DefaultStartPanelOff = "Yes"[Components][userData]ProductKey = "xxxx-xxxx-xxxx-xxxx"ComputerName = xxxxxFullName = "xxxx"[RegionalSettings]Language = "0409"[Networking]InstallDefaultComponents = "Yes"[identification]DomainAdmin = *******DomainAdminPassword = "*******"JoinDomain = "blah"_____________________________________________I honestly think i have no idea what im doing and thats probly why its not working Edited March 29, 2006 by minusbfold Link to comment Share on other sites More sharing options...
Lazy8 Posted March 30, 2006 Share Posted March 30, 2006 Simple typos are the nemesis of the first time unattender.Put your backslash here, where you designate your variable......or in each installation path--but not both.You can test the script afterward by executing your RunOnceEx command, and reviewing regedit to verify the settings have been properly placed. This short a list of programs might make it worth your while to restart afterwards (avoiding boot from CD), to test programs independent of Windows installation. Link to comment Share on other sites More sharing options...
minusbfold Posted March 30, 2006 Author Share Posted March 30, 2006 i cant see tha timage my work blocks photobucket lolI want to boot from a DVD and have everything I need on there Link to comment Share on other sites More sharing options...
BoardBabe Posted March 30, 2006 Share Posted March 30, 2006 (edited) Just change:SET PP=%cdrom%\Install\toSET PP=%cdrom%\InstallYour problem, is as Lazy8 describes (in his picture) that you are working with double backslashes in your paths.See when you do; SET PP=something then %PP% will output 'something'.See why your path in the line:REG ADD %KEY%\000 /V 1 /D "%PP%\adobe\AdbeRdr707_en_US.exe /silent" /fthen becomesREG ADD %KEY%\000 /V 1 /D "%cdrom%\Install\\adobe\AdbeRdr707_en_US.exe /silent" /fPlease remember to use [ code ] tags in future posts Edited March 30, 2006 by BoardBabe 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