Jump to content

RISult - Integrating RIS + RyanVM/BTS packs


Fencer128

Recommended Posts


Hi Chiners,

I haven't made any changes to the part concerned with cleanups. I figured that the only way of doing this is to include a cleanup.cmd with the RISult.zip file and add a line to the code to add the following to ristndrd.sif:

[GUIRunOnce]
command11 = cleanup.cmd

Where cleanup.cmd contains:

@echo off
TITLE Unattended Windows XP Service Pack 2 Setup
echo Finalising installation and cleaning up hard disk

del "%systemdrive%\temp\BTS_DPs_cleanup.cmd" /q
rd "%systemdrive%\D" /s /q

shutdown -r -t 60 -c "Computer will now reboot to complete installation"

For the last while I've thought that it should be down to Bashrat to deal with this, and that the C++ version of the DP base may indeed do this.

In the meantime I suggest you keep using cleanup.cmd. If I have time soon I will possibly add it to the pack in the way described above.

Cheers,

Andy

PS - Does anyone else think that cleanup.cmd should be included?

Edited by Fencer128
Link to comment
Share on other sites

Hi Everyone,

I've just released a new version of RISult. Some fairly big changes in this one :thumbup :

v1.1.6 to v1.1.7 (24/03/06)

New features/bug fixes:

- Added support for "BTS_DriverPacks_BASE_Vxxx.exe" extraction and automatic execution of "DriverPacks_Slipstreamer_Vxxx.cmd" for method 2.

- Included folder structure in RISult.zip file to remove need to create structure manually.

- Included most text-mode Ethernet drivers (Broadcom, Intel, Marvell and Realtek cards/on-board chipset).

- Added ability to run custom script to modify "BTS_DriverPacks_finish.cmd" before slipstream.

- Included sample "btscustom.cmd" to disable ATI CCC via edit of "BTS_DriverPacks_finish.cmd".

- Included "Cleanup.cmd" to aid clearing of temp files after build completes.

- Included "Fedit.exe" necessary for BTS file manipulation (Thanks to djbe on MSFN forums).

- Included "7z.exe" necessary for BTS file extraction (Please see CREDITS section at end of RISult batch file and RISult_Instructions.txt).

- Updated variables pointing to RyanVM files to use latest file names.

- Updated enclosed documentation.

Upshot of all of this is that you now no longer need to manually run BTS_DriverPacks_BASE_Vxxx.exe everytime a new version is released or you want to change your driver pack collection. Just drop the new exe in one folder and/or the DPs in another and re-run RISult :).

Also, the whole file structure is now included within RISult.zip. Just extract to the root of C: and copy your files into the appropriate folders.

I've also followed RogueSpears' lead and included text-mode drivers for Broadcom, Intel, Marvell and Realtek so that you can use RIS with these NICs (files are automatically added to your image).

I've added a "btscustom.cmd" that you can choose to use (it doesn't run by default). Currently it alters BTS files so that ATI's CCC applet (the one that requires .NET FW 1.1) doesn't install.

By request I've included a "Cleanup.cmd" that runs at first logon and deletes any TEMP remnants (such as the "D" folder) that are sometimes present due to BTS processes.

Documentation and file names have been updated. Please be sure to re-read them before running RISult.

Thanks especially go out to djbe for allowing me to include Fedit.exe with this version.

Have Fun ;)

Andy

PS - There will be a bit of a feature freeze from this point on. Bug fixes only, as I'm currently re-writing RISult to use VB and have a GUI interface.

Edited by Fencer128
Link to comment
Share on other sites

  • 3 weeks later...

Hi,

I've not noticed this behaviour - are you sure it's down to RISult? Could you post some more details (how you make your build, your SIF file, etc).

Please make sure to remove any licence keys, names, etc.

Cheers,

Andy

Link to comment
Share on other sites

After executing RISult.cmd and waiting awhile the end result creates to folders in the RIS_Install dir, $OEM$ and i386. I place the i386 folder into the dir on the Ris server, but where do I place the $OEM$ folder?

Cheers very much

Link to comment
Share on other sites

Hi,

In the "Images" folder on your RIS server you will need to create a new folder if you haven't already done so (e.g. "My_Build").

Inside this folder you should place the i386 and $OEM$ folders from the "RIS_Install" folder on the machine hosting RISult.

I suggest that you have a read on Microsoft's site concerning RIS and RISETUP if you're unfamiliar with them, as there's a fair amount to learn outside of RISult.

Good luck,

Andy

Edited by Fencer128
Link to comment
Share on other sites

Hi,

In the "Images" folder on your RIS server you will need to create a new folder if you haven't already done so (e.g. "My_Build").

Inside this folder you should place the i386 and $OEM$ folders from the "RIS_Install" folder on the machine hosting RISult.

I suggest that you have a read on Microsoft's site concerning RIS and RISETUP if you're unfamiliar with them, as there's a fair amount to learn outside of RISult.

Good luck,

Andy

Thought as much! Thanks

To my other problem please - After I connect to the server and all files are copied to the machine I am building and just before installation of WinXP I get this message;

C:\D\WatchDriverSigningPolicy.exe

Windows cannot find 'C:\D:\WatchDriverSigningPolicy.exe'. Make

sure you typed the name correctly, and then try again. To search

for a file, click the start button, and then click search.

After which installation of WINXP starts and completes, but does not install any device drivers.

Cheers

Hope you can help

Link to comment
Share on other sites

Hi,

Could you please post the *exact* procedure you went through to produce your build?

It seems to me that something else has occured other than a vanilla XP SP2 disk just running through RISult. The error you specify is something that no-one else has yet produced and I wonder what is different with your build.

Cheers,

Andy

Link to comment
Share on other sites

Hi Fencer,

Just to mention I recieve the following messages at first login to Windows after setup is complete;

C:\D\BTS\_BPs_Finish.cmd

Windows cannot find 'C:\D\BTS\_BPs_Finish.cmd'. Make

sure you typed the name correctly, and then try again. To search

for a file, click the start button, and then click search.

C:\TEMP\BTS_DPs_cleanup.cmd

Windows cannot find 'C:\TEMP\BTS_DPs_cleanup.cmd'. Make

sure you typed the name correctly, and then try again. To search

for a file, click the start button, and then click search.

C:\WINDOWS\Cleanup.cmd

Windows cannot find 'C:\WINDOWS\Cleanup.cmd'. Make

sure you typed the name correctly, and then try again. To search

for a file, click the start button, and then click search.

Just so I'm clear, you would like to know how I build the RISult image?

Cheers for the help!

Edited by AliasPeter
Link to comment
Share on other sites

Hi,

Could you have a look at your completed build and let me know whether the files mentioned in the error messages, along with the "C:\D" folder exist? If not then the messages can be safely ignored.

The reason they appear if because a run once log on script is executing, making sure that these files have been deleted. Occasionally Bashrat's scripts, which should handle this, fail to clean those files properly and so I added a further script to make sure they definately get removed.

If all your systems are having these messages and the files are indeed deleted, then feel free to delete the last "command =" line under the "[GUIRunOnce]" section of your SIF file, before running the RIS build, as this will stop the script executing.

With regard to my earlier question and your previous error, yes, could you please state exactly how you built your RIS image (nlite, any manual file edits, etc.) as you should definately get your drivers installed.

Cheers,

Andy

Link to comment
Share on other sites

Hi,

For the success of the image I have not changed any thing that isn’t part of RISult for obvious reasons. The RyanVM part of the integration is fine and shows on a finished machine, but no look with the BTS's driver packs.

A copy of my custom RISult.cmd file;

REM ********************* USER CUSTOMISABLE SECTION START ***********************

REM Path to folder containing all files/folders required by RISult

SET RISPATH=C:\Unattend\RIS

REM Path to folder containing custom RIS files

SET CUSTOM=%RISPATH%\Custom

REM Name of sif file to use (default is ristndrd.sif)

SET SIF=ristndrd.sif

REM Path to directory containing vanilla RIS i386 folder

SET RISSOURCE=%RISPATH%\RIS_Original

REM Path to directory that will contain integrated RIS i386 folder when RISult has completed

SET RIS=%RISPATH%\RIS_Install

REM Path to i386 directory that will contain integrated RIS file set

SET RISI386=%RIS%\i386

REM Path to folder containing RyanVM packs and integrator

SET RYANVM=%RISPATH%\RyanVM

REM Path to temporary working directory

SET TMP=%RISPATH%\RISult_TMP

REM Path to folder containing BTS Driver Packs

SET BTS=%RISPATH%\BTS

REM Path to folder containing 7-zip program files

SET ZIP=%BTS%

REM Path to folder containing BTS Driver Packs

SET DPSTORE=%BTS%\DriverPacks_Store

REM Path to BTS working folder

SET BTSTEMP=%BTS%\TEMP

REM Path to UWXPCD_ROOT folder within BTS folder

SET BTSU=%BTSTEMP%\UWXPCD_ROOT

REM Path to M2 folder within UWXPCD_ROOT folder

SET BTSUM=%BTSU%\M2

REM Path to folder containing IDENT files (e.g. WIN51, WIN51IP and WIN51IP.SP2)

SET IDENT=%RISPATH%\IDENT_Files

REM Path to FEDIT

SET FEDITPATH=%BTS%

REM Path to log file

SET LOGPATH=%RISPATH%

REM File name for RyanVM Integrator

SET INGR=RVM_Integrator_1.2.2.exe

REM File name for RyanVM main update pack

SET RMAIN=RVMUpdatePack2.0.4.cab

REM Remember to comment out packs that are not required!

REM File name for RyanVM main add-on pack

SET RADD1=RogueSpearDotNET11Addon.cab

REM File name for a RyanVM add-on pack (i.e. WMP10)

SET RADD2=RVMAddonsWMP10_2.4.cab

REM File name for another RyanVM add-on pack

SET RADD3=qt-addon.cab

REM File name for another RyanVM add-on pack

SET RADD4=acrobat-addon.cab

REM File name for another RyanVM add-on pack

REM SET RADD5=

REM File name for BTS DriverPacks Slipstreamer

SET BTSSLIP=BTS_DPs_Slipstreamer_V6034.cmd

REM File name for BTS DriverPacks BASE archive

SET BTSEXE=BTS_DriverPacks_BASE_V*.exe

REM File name for BTS DriverPacks Slipstreamer

SET BTSCUSTOM=btscustom.cmd

REM File name for BTS Finish batch file

SET BTSFINISH=BTS_DPs_finish.cmd

REM Folder containing custom files to be copied to RIS_Install/i386

SET Ci386=%RISPATH%\Custom

REM File name for BTS auto executing batch file

REM This should usually be left as default as it is created by RISult.

SET BTSRUN=BTS_DPs_autocopy.cmd

REM File name for Fedit.exe text editor

REM This should usually be left as default unless you've renamed it within the BTS files.

SET FEDITEXE=FEDIT.EXE

REM File name for log file

SET LOGFILE=RISultLog.TXT

REM ********************* USER CUSTOMISABLE SECTION END *************************

and a copy of my Sif

;SetupMgrTag

[data]

floppyless="1"

msdosinitiated="1"

OriSrc="\\%SERVERNAME%\RemInst\%INSTALLPATH%"

OriTyp="4"

LocalSourceOnCD=1

DisableAdminAccountOnDomainJoin=0

AutoPartition=1

UnattendedInstall="Yes"

[Components]

AccessOpt=Off

chat=off

deskpaper=off

freecell=off

hearts=off

hyperterm=off

media_clips=off

media_utopia=off

minesweeper=off

msnexplr=off

OEAccess=off

pinball=off

solitaire=off

spider=off

templates=off

WMAccess=off

WMPOCM=off

zonegames=off

[setupData]

OsLoadOptions="/noguiboot /fastdetect"

SetupSourceDevice="\Device\LanmanRedirector\%SERVERNAME%\RemInst\%INSTALLPATH%"

[unattended]

AutoActivate=No

DriverSigningPolicy=Ignore

NonDriverSigningPolicy=Ignore

OemPreinstall=No

FileSystem=LeaveAlone

ExtendOEMPartition=0

TargetPath=\WINDOWS

OemSkipEula=Yes

InstallFilesPath=\\%SERVERNAME%\RemInst\%INSTALLPATH%\%MACHINETYPE%

LegacyNIC=1

UnattendMode=FullUnattended

NtUpgrade=No

OverwriteOemFilesOnUpgrade=No

[userData]

FullName="EBD"

OrgName="EBD"

ComputerName=%MACHINENAME%

ProductKey=*****-*****-*****-*****-*****

[GuiUnattended]

OemSkipWelcome=1

OemSkipRegional=1

TimeZone=%TIMEZONE%

AdminPassword=****

EncryptedAdminPassword=Yes

AutoLogon=Yes

AutoLogonCount=1

[Display]

BitsPerPel=16

XResolution=1024

YResolution=768

[Networking]

InstallDefaultComponents=Yes

ProcessPageSections=Yes

[identification]

JoinDomain=%MACHINEDOMAIN%

DoOldStyleDomainJoin=Yes

[RemoteInstall]

Repartition=Yes

UseWholeDisk=Yes

[OSChooser]

Description="1"

Help="RISULT TEST."

LaunchFile="%INSTALLPATH%\%MACHINETYPE%\templates\startrom.com"

ImageType=Flat

Version="5.1 (2600)"

[RegionalSettings]

LanguageGroup=1

SystemLocale=00000809

UserLocale=00000809

InputLocale=0809:00000809

[branding]

BrandIEUsingUnattended=Yes

Home_Page=www.google.co.uk

[Proxy]

Proxy_Enable=0

Use_Same_Proxy=0

[GUIRunOnce]

command9 = "%SystemDrive%\D\BTS_DPs_finish.cmd"

command10 = "%SYSTEMDRIVE%\TEMP\BTS_DPs_cleanup.cmd"

command11 = "%WINDIR%\Cleanup.cmd"

With the [GUIRunOnce] error I can remove this like you have said from the Sif. Does the D dir get created for this to happen?

Thanks again for your continued help

Cheers

Pete

Edited by AliasPeter
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...