Seany Posted August 3, 2005 Share Posted August 3, 2005 Hi all,Excellent site and forums btw. I have a question regarding the execution of the WPI.cmd batch file.In the \$OEM$\$1\Install\ I have a folder called WPI with all the WPI files and folders inside it.Would I be correct in adding the line ".\$1\Install\WPI\WPI.cmd" to cmdlines.txt and this would execute the WPI.cmd batch file?Also, I have cmdlines.txt in the $OEM$ folder but what executes that file ?Thanks in advanceSeany Link to comment Share on other sites More sharing options...
SiNNuT Posted August 3, 2005 Share Posted August 3, 2005 The normal way is to call wpi.cmd from winnt.sifJust add a line like this in your winnt.sif:[GuiRunOnce]%systemdrive%\install\wpi\wpi.cmdWPI is used to replace other methods like RunOnceEX and batch scripting. Possible cleanup scripts or stuff like that can be called from wpi.hta like other programs or you can call them from within wpi.cmd after wpi.hta has finished. Link to comment Share on other sites More sharing options...
Seany Posted August 4, 2005 Author Share Posted August 4, 2005 ok thanks for the reply, what I really should have asked is how do I get WPI to run from my particular setup I have.Here is my cmdlines.txt :[COMMANDS] ".\useraccounts.cmd" "REGEDIT /S .\RegTweaks.reg"".\$1\Install\WPI\WPI.cmd"".\cleanup.cmd"Here is some of my winnt.sif :;SetupMgrTag [Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes" AutomaticUpdates=yes[Unattended] UnattendMode=ProvideDefaultOemSkipEula=Yes OemPreinstall=YesTargetPath=\WINDOWS KeyboardLayout="Irish"[GuiUnattended] EncryptedAdminPassword=NO OEMSkipRegional=1 [UserData] ProductID=XXXXX-XXXXX-XXXXX-XXXXX-XXXXXFullName="" OrgName="" [Identification] JoinWorkgroup=WORKGROUP [Networking] InstallDefaultComponents=Yes [Components]Msmsgs=offMsnexplr=offFreecell=onHearts=onMinesweeper=onPinball=onSolitaire=onDeskpaper =onCalc=onCharmap=onAutoUpdate=onHypertrm=onMousepoint=onPaint=on[Shell]CustomDefaultThemeFile = "%WinDir%\Resources\Themes\Royale\Royale.theme" Link to comment Share on other sites More sharing options...
Lost Soul Posted August 4, 2005 Share Posted August 4, 2005 you seem to have it right, there are various ways to call wpi from, runonceex, cmdlines, guirunonce, 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