I have wpi.ico, as well as all my wpi scripts and folders in the root directory like the attached image, as well...
WPI.cmd:
@ECHO OFF
REM Example, how to look for CDROM-drive. Must have WPI.ico at the root of the CD.
for %%i in (C 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:\wpi.ico set CDROM=%%i:
echo Found CD-Rom as drive %CDROM%
REM Determine the WPI startup path.
REM if wpi should run off the cd the replace %~dp0 with %cdrom%.
set wpipath=%cdrom%
REM Hide this command window.
%wpipath%\Tools\cmdow.exe @ /hid
REM Force resolution to needed size for wpi interface.
start %wpipath%\Tools\VideoChanger.exe 1024x768x32@60 -q
REM Font installation - the smooth and customizable way.
start /wait %wpipath%\Tools\fonts\fontinstaller.exe
REM Special registry tweak needed.
regedit /s "%wpipath%\common\wpi.reg"
regedit /s "%wpipath%\common\regtweaks.reg"
regedit /s "%wpipath%\common\hackef_files.reg"
REM Make WPI directory the current directory.
for /f "delims=: tokens=1" %%i in ("%wpipath%") do %%i:
cd "%wpipath%"
REM Start WPI and wait for its end
start /wait %windir%\system32\mshta.exe "%cdrom%\wpi.hta"
REM Cleaning up the desktop.
del /s/q "%userprofile%\desktop\*.lnk"
REM Rebooting the sytem to finalize the installation process.
shutdown.exe -r -f -t 60 -c "To finish installations Windows will now reboot in 60 sec..."
exit
:end
Winnt.sif:
;SetupMgrTag [Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes" [Unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes UnattendSwitch="yes" TargetPath=\WINDOWS [GuiUnattended] AdminPassword=* EncryptedAdminPassword=NO AutoLogon=Yes AutoLogonCount=1 OEMSkipRegional=1 TimeZone=10 OemSkipWelcome=1 [UserData] ProductKey=*****-*****-*****-*****-***** FullName="************" OrgName="************" ComputerName="**********" [Display] BitsPerPel=32 Xresolution=1024 YResolution=768 Vrefresh=60 Autoconfirm=1 [RegionalSettings] LanguageGroup=1 SystemLocale=00001009 UserLocale=00001009 InputLocale=1009:00000409 [Networking] InstallDefaultComponents=Yes [Identification] JoinWorkgroup=mshome [Components] msmsgs=off msnexplr=off freecell=off hearts=off minesweeper=off pinball=off solitaire=off spider=off zonegames=off [GuiRunOnce] command1=%systemdrive%\DP\BTS_DPs_Control_Panels.cmd command2=%cdrom%\WPI.cmd
Any suggestions would be greatly appreciated....I've searched but, I'm too tired to find the answer, I think!
Clipboard.jpg (120.64K)
Number of downloads: 118



Help

Back to top









