Black-Panther Posted August 29, 2004 Posted August 29, 2004 Yo guys here is my winnt.sif :;SetupMgrTag[Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes"[Unattended] FileSystem=* UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=No TargetPath=\WINDOWS Repartition="Yes" UnattendSwitch="yes" WaitForReboot="No" OemPnPDriversPath="Drivers\002_Graphics" DriverSigningPolicy=Ignore[GuiUnattended] AdminPassword=* EncryptedAdminPassword=NO OEMSkipRegional=1 TimeZone=135 OemSkipWelcome=1[UserData] ProductKey= FullName="Yaniv-Liron-Chalfon" OrgName="Black-Panther" ComputerName=Yaniv-Liron[TapiLocation] CountryCode=972 AreaCode=972[RegionalSettings] LanguageGroup=12[Identification] JoinWorkgroup=WORKGROUP[Networking] InstallDefaultComponents=Yes[Display] BitsPerPel=32 Xresolution=1024 YResolution=768 Vrefresh=75[GuiRunOnce]IF EXIST D:\CD.txt set CDROM=D:IF EXIST E:\CD.txt set CDROM=E:IF EXIST F:\CD.txt set CDROM=F:IF EXIST G:\CD.txt set CDROM=G:IF EXIST H:\CD.txt set CDROM=H:IF EXIST I:\CD.txt set CDROM=I:IF EXIST J:\CD.txt set CDROM=J:%CDROM%\$oem$\$1\install\start.cmd I added the "If Exist ... " thing so it can run the start.cmd , but it says : some line isnt good in the file , can sombodoy help me with it please ?thxyaniv.
visaversa Posted August 29, 2004 Posted August 29, 2004 (edited) Why do you people keep sharing your xp key with the forum...[userData] ProductKey=**Removed by Alanoll**btw, that's a pirate key you got there??I guess you can't phone M$ for support about your problem...lol[GuiRunOnce]IF EXIST D:\CD.txt set CDROM=D:IF EXIST E:\CD.txt set CDROM=E:IF EXIST F:\CD.txt set CDROM=F:IF EXIST G:\CD.txt set CDROM=G:IF EXIST H:\CD.txt set CDROM=H:IF EXIST I:\CD.txt set CDROM=I:IF EXIST J:\CD.txt set CDROM=J:%CDROM%\$oem$\$1\install\start.cmdWho told you that's possible? There is you BIG problem.... Edited August 29, 2004 by Alanoll
Black-Panther Posted August 29, 2004 Author Posted August 29, 2004 hahahah lololololol , anyway i dunno other way to do it ... if i write "%systemdrive%" it says c:\ = %systemdrive% ... i dont know another way can you please teach me anotther way ? ...thankyou,yaniv.and the serial lol hahaha everybody can use it now
Dreadnort Posted August 29, 2004 Posted August 29, 2004 The IF Exist statements are supposed to be at the top of your Start.cmd file. They will also need to be added to any other cmd files you have as well. Remove them from your Winnt.sif and you shouldn't get any more problems.Also don't forget that you'll need a blank txt file called CD.TXT in the root of your XP CD in order for the if exist statements to work correctly.
SiMoNsAyS Posted August 29, 2004 Posted August 29, 2004 @Black-Panther & @viceversa please edit both posts and delete the keys. that key it's the most used for piracy purposes and every admin will delete them and close the thread.the solution to Black-Panther's problem:[GuiRunOnce]%CDROM%\$oem$\$1\install\start.cmdand for start.cmd@echo offIF EXIST D:\CD.txt set CDROM=D:IF EXIST E:\CD.txt set CDROM=E:IF EXIST F:\CD.txt set CDROM=F:IF EXIST G:\CD.txt set CDROM=G:IF EXIST H:\CD.txt set CDROM=H:IF EXIST I:\CD.txt set CDROM=I:IF EXIST J:\CD.txt set CDROM=J:
Black-Panther Posted August 29, 2004 Author Posted August 29, 2004 mate , i did another thing on the start.cmd ... it copies all to %systemdrive%installl and then run from the pc , afterwards deletes it ...but the thing is the %systemdrive% at the winnt.sif ... tells me :cannot find c:\$oem$\s$1\install\start.cmd ...its thinks that %systemdrive% = C:\ I dont know why , can you help me ?
CoffeeFiend Posted August 29, 2004 Posted August 29, 2004 [GuiRunOnce]%CDROM%\$oem$\$1\install\start.cmdand for start.cmd@echo offIF EXIST D:\CD.txt set CDROM=D:IF EXIST E:\CD.txt set CDROM=E:IF EXIST F:\CD.txt set CDROM=F:IF EXIST G:\CD.txt set CDROM=G:IF EXIST H:\CD.txt set CDROM=H:IF EXIST I:\CD.txt set CDROM=I:IF EXIST J:\CD.txt set CDROM=J:Uh, I'm sorry but I do have to say you're wrong here (maybe lacking sleep such as I am?) GUIRunOnce cannot possibly use the %CDROM% variable to call start.cmd which has to set %CDROM% in the first place... There's a better way to set your %CDROM% with a single line of code too (that I've posted a while before).@Black-Panther: I'd definately call microsoft product support for some help with your key
Black-Panther Posted August 29, 2004 Author Posted August 29, 2004 hahahahha -> @Black-Panther: I'd definately call microsoft product support for some help with your key lolololoLOLOLOLOLOL ROFLMAO ...and mate ... please give me that command... :\
visaversa Posted August 29, 2004 Posted August 29, 2004 (edited) [GuiRunOnce]%CDROM%\$oem$\$1\install\start.cmdsorry SiMoNsAyS, but that's never going to work...system variables just don’t work from winnt.sif.As for removal of the key...i know this key is widespread and i see no reason to delete this from my post...for following reasons1) This key will never work with SP22) People should realize that using that key is illegal3) We never should give advice or help people with such keys…If a admin want to delete, ok by me I don’t.Amenand to Black-Panther, please go somewhere else with your problems... Edited August 29, 2004 by visaversa
Alanoll Posted August 29, 2004 Posted August 29, 2004 I'm afraid I'm personally under the impression of not helping people that openly admit to having pirated windows. If you dont' tell us, that's one thing, but.....geeeze....\And for the record, %CDROM% won't work in GUIRunOnce as it's not defined. And the path is wrong, because $OEM$\$1 is copied over to %systemdrive%There is nothing wrong with %systemdrive% being C: as that's the SYSTEMDRIVE. %systemroot% is C:\Windows typically.
Recommended Posts