Plz be patient bcoz I am writing all the method of my creating an unattended xp cd.
1: I copied the the windows xp sp1 to c:\xpcd
2: I applied SP2 to it through this command : C:\XPSP2.EXE -s:C:\XPCD
3: I integrated the hotfixes through /INTEGRATE SWITCH:
"C:\xpupdates\KB911562.exe"/INTEGRATE:C:\myxp
4: I created a basic unattended setup through setupmgr tool.
5: I burned it to an iso image through CDIMAGEGUI.EXE Software and tested in VMWARE and works fine uptil here.
As i want other softwares to be installed so i made modifications to OEMPreInstallation=Yes and UnattendedSwitch="Yes".
PROBLEM:
Now when windowsxp is installed and on first boot its gives error :
Cannot find c:\Software\start.cmd
and none of the applications are installed.
Basically there are two methods mentioned in the PDF Document %systemdrive% variable (for applications to be installed from harddisk) and %cdrom% variable (for applications to be installed from CDROM).
I have tried both of them and havig the same error, mentiond above.
When i check this file manually using the %CDROM% by going to CDROM->Software->start.cmd it works fine there. But when i check this file manually using the %systemdrive% it gives the error:
Cannot find c:\Software\start.cmd
Plz Note that i have followed both the methods by using the %CDROM% variable as well as %systemdrive% variable and made changes to the files accordingly.
In case of %CDROM% used the :
FOR %%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:\CD.txt SET CDROM=%%i:
in all cmd files and moved my applications from $OEM$\$1\install to Software folder outside the i386 folder and created an empty file CD.txt as illustrated in the pdf document.
In case of %systemdrive% removed the :
FOR %%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:\CD.txt SET CDROM=%%i:
from all cmd files and moved my applications from Software to i386\$OEM$\$1\install folder and removed empty file CD.txt . Also moved start.cmd to i386\$OEM$\$1\install folder and RunOnceEx.cmd to i386\$OEM$\ folder.
I have tried this application installation atleast 10-20 times but still with no result.
If anyone can help me out of this problem or tell me another simple way of doing it or give me any tutorial link, i would be very thankful.
Few Questions to clear my concept:
Q: Can i integrate softwares like Media Player 10 using the /INTEGRATE Switch as we did with hotfixes ?
Q: How to create .cat files? Are they created itself when integrated ?
Q: Improper use of switches can cause failure of installation of softwares ?
Thanks in Advance and Hope to hear!
This post has been edited by ashrafzia: 29 August 2006 - 03:25 AM



Help
Back to top









