Hi folks!

I have (possibly) discovered a bug in the routine called when exporting settings from BASE 7.01.1, here goes the story:

The other day I was a victim of my own incompetence (regarding ROE-method of the finisher), in short I managed to call the finisher after one of my own cleanup scripts tongue (ref. this post) *embarrassed

Anyhow, this led to me changing my settings for ROE and exporting new custom settings files. What I observed later was that the integration was performed with the old "Custom start ID" in ROE. After some minor investigations I have found that exporting settings, overwriting an old settings file leads to duplicate entries in the settings file (newest settings towards the bottom). Furthermore I have found that the BASE uses the first settings it finds in the file..

I will try to give instructions to replicate this bug:
1. Paste DPs_BASE.ini settings from the bottom of this post into your own DPs_BASE.ini (I don't know if this bug is caused by my exact pattern of settings or if it's more generic, so replicating youre better of using my settings)
2. Start Base, observe that "Custom start ID" for ROE method is set to "1"
3. Export your settings to a different file than DPs_BASE.ini, for example 1.ini
4. Now change your "custom start ID" in BASE to "2" and export the settings saying yes to overwrite the firsty one (1.ini or whatever)
5. Quit BASE, open your custom ini and realize that the file was not overwritten, the new settings was just added at the bottom of the file(!)

This may of course be some kind of feature in the software that I'm not aware of but normally, when I write programs, and they ask to overwrite they do overwrite tongue

DPs_BASE.ini

[General]
; preferred language
prefLang	= "English"
; yes/no, enable or disable the wizard-style buttons, if not specified: yes
wizardButtons	= "yes"
; yes/no, enable or disable the GUI, if not specified: yes
GUI		= "yes"


[Settings]
; disc/bartpe/multibootDisc
instPlatform	= "disc"
; trailing backslash is allowed, but not necessary
location	= "I:\Unatt\_WinXp\DVD\ENGLISH\XPPRO\PRO1"
; none/all/select, if select, specify them below, if not specified: all
DriverPacks	= "select"
; 1/2, method to install the DriverPacks, if not specified: 2
DPsMethod	= "2"
; GUIRunOnce/RunOnceEx/custom, if not specified: GUIRunOnce
finisherMethod	= "RunOnceEx"


; you should only add this section if you've set [Settings]\finishMethod to "RunOnceEx"
[RunOnceExSettings]
; custom/default, if not specified: default
startID		= "custom"
; anything you wish ...
customStartID	= "002"


; this section is optional!
[OptionalSettings]
; none/all/select/paths/patterns, enable or disable Keep The Drivers (KTD) , if not specified: none
KTD		= "patterns"
; <path>, to specify a custom KTD cache location, if not specified: default (%SystemRoot%\DriverPacks)
KTDlocation	= "%SystemRoot%\DriverPacks"
; yes/no, enable or disable QuickStream Cache (QSC), if not specified: yes
QSC		= "yes"


; you should only add this section if you've set [Settings]\DriverPacks to "select"
[SelectDriverPacks]
DP_Chipset	= "yes"
DP_CPU		= "yes"
DP_Graphics_A	= "yes"
DP_Graphics_B	= "yes"
DP_LAN		= "yes"
DP_MassStorage	= "yes"
DP_Sound_A	= "yes"
DP_Sound_B	= "yes"
DP_WLAN		= "yes"
DP_MassStorage_textmode = "yes"


; you should only add this section if you've set [OptionalSettings]\KTD to "patterns"
[PatternsForKTD]
KTD_patterns	= "1394\;DOT4PRT\;FlashMedia\;HID\;LPTENUM\;Monitor\;PCMCIA\;SERENUM\;USB\;USBPRINT\"


; this section is optional!
[OptionalSettingsOther]
; CCC/CCP, use ATI Catalyst Control Center or ATI Catalyst Control Panel (only relevant when slipstreaming DriverPack Graphics A)
ATI_cpl		= "CCP"

1.ini (the result)

[General]
; preferred language
prefLang	= "English"
; yes/no, enable or disable the wizard-style buttons, if not specified: yes
wizardButtons	= "yes"
; yes/no, enable or disable the GUI, if not specified: yes
GUI		= "yes"


[Settings]
; disc/bartpe/multibootDisc
instPlatform	= "disc"
; trailing backslash is allowed, but not necessary
location	= "I:\Unatt\_WinXp\DVD\ENGLISH\XPPRO\PRO1"
; none/all/select, if select, specify them below, if not specified: all
DriverPacks	= "select"
; 1/2, method to install the DriverPacks, if not specified: 2
DPsMethod	= "2"
; GUIRunOnce/RunOnceEx/custom, if not specified: GUIRunOnce
finisherMethod	= "RunOnceEx"


; you should only add this section if you've set [Settings]\finishMethod to "RunOnceEx"
[RunOnceExSettings]
; custom/default, if not specified: default
startID		= "custom"
; anything you wish ...
customStartID	= "001"


; this section is optional!
[OptionalSettings]
; none/all/select/paths/patterns, enable or disable Keep The Drivers (KTD) , if not specified: none
KTD		= "patterns"
; <path>, to specify a custom KTD cache location, if not specified: default (%SystemRoot%\DriverPacks)
KTDlocation	= "%SystemRoot%\DriverPacks"
; yes/no, enable or disable QuickStream Cache (QSC), if not specified: yes
QSC		= "yes"


; you should only add this section if you've set [Settings]\DriverPacks to "select"
[SelectDriverPacks]
DP_Chipset	= "yes"
DP_CPU		= "yes"
DP_Graphics_A	= "yes"
DP_Graphics_B	= "yes"
DP_LAN		= "yes"
DP_MassStorage	= "yes"
DP_Sound_A	= "yes"
DP_Sound_B	= "yes"
DP_WLAN		= "yes"
DP_MassStorage_textmode = "yes"


; you should only add this section if you've set [OptionalSettings]\KTD to "patterns"
[PatternsForKTD]
KTD_patterns	= "1394\;DOT4PRT\;FlashMedia\;HID\;LPTENUM\;Monitor\;PCMCIA\;SERENUM\;USB\;USBPRINT\"


; this section is optional!
[OptionalSettingsOther]
; CCC/CCP, use ATI Catalyst Control Center or ATI Catalyst Control Panel (only relevant when slipstreaming DriverPack Graphics A)
ATI_cpl		= "CCP"
[General]
; preferred language
prefLang	= "English"
; yes/no, enable or disable the wizard-style buttons, if not specified: yes
wizardButtons	= "yes"
; yes/no, enable or disable the GUI, if not specified: yes
GUI		= "yes"


[Settings]
; disc/bartpe/multibootDisc
instPlatform	= "disc"
; trailing backslash is allowed, but not necessary
location	= "I:\Unatt\_WinXp\DVD\ENGLISH\XPPRO\PRO1"
; none/all/select, if select, specify them below, if not specified: all
DriverPacks	= "select"
; 1/2, method to install the DriverPacks, if not specified: 2
DPsMethod	= "2"
; GUIRunOnce/RunOnceEx/custom, if not specified: GUIRunOnce
finisherMethod	= "RunOnceEx"


; you should only add this section if you've set [Settings]\finishMethod to "RunOnceEx"
[RunOnceExSettings]
; custom/default, if not specified: default
startID		= "custom"
; anything you wish ...
customStartID	= "002"


; this section is optional!
[OptionalSettings]
; none/all/select/paths/patterns, enable or disable Keep The Drivers (KTD) , if not specified: none
KTD		= "patterns"
; <path>, to specify a custom KTD cache location, if not specified: default (%SystemRoot%\DriverPacks)
KTDlocation	= "%SystemRoot%\DriverPacks"
; yes/no, enable or disable QuickStream Cache (QSC), if not specified: yes
QSC		= "yes"


; you should only add this section if you've set [Settings]\DriverPacks to "select"
[SelectDriverPacks]
DP_Chipset	= "yes"
DP_CPU		= "yes"
DP_Graphics_A	= "yes"
DP_Graphics_B	= "yes"
DP_LAN		= "yes"
DP_MassStorage	= "yes"
DP_Sound_A	= "yes"
DP_Sound_B	= "yes"
DP_WLAN		= "yes"
DP_MassStorage_textmode = "yes"


; you should only add this section if you've set [OptionalSettings]\KTD to "patterns"
[PatternsForKTD]
KTD_patterns	= "1394\;DOT4PRT\;FlashMedia\;HID\;LPTENUM\;Monitor\;PCMCIA\;SERENUM\;USB\;USBPRINT\"


; this section is optional!
[OptionalSettingsOther]
; CCC/CCP, use ATI Catalyst Control Center or ATI Catalyst Control Panel (only relevant when slipstreaming DriverPack Graphics A)
ATI_cpl		= "CCP"

EDIT:
I have now confirmed this bug(?) in BASE 7.01.2 also.
(by the way thx for the Mass storage update, will try it this weekend have been waiting for it big_smile )

Hi Bâshrat, thx for quick reply smile

My time on this is limited to a couple of hours in the evenings, but I'm at it again now. I suspect the reason to be my incautiousness regarding the order of which the different programs is executed by RunOnceEx. Currently I'm compiling a new DVD and I'll be back in an hour or so with feedback..

Update:
And my suspicions was right; I'm now running the finisher before any other software and it works like a charm big_smile

As of the problems described earlier in this thread, niche99 should respond to verify that his problem still exists..

From my custom BASE.ini ("009" is before any of my entries):

[RunOnceExSettings]
startID		= "custom"
customStartID	= "009"

Hi guys, when I saw this topic I had to register.
Greets to Bâshrat for this most awesome slipstreamer!

I see this topic has been neglected for some time, I'm getting the same error as the others in this thread and was hoping to bounce it up..

I'm using:
- VMware 5.5
- XP pro SP2
- RVM integrator
- DriverPacks BASE 7.01.1
- All but Graphics pack C
- M2
- ROE finisher method

I have verified that the "%systemdrive%\D"-structure is in place before the Finisher runs.

*) note: I'm aware of the Mass storage bug in 7.01.1 causing the mass storage drivers to not be slipstreamed textmode (the observant can see this from my DPs_BASE.log). As of now I don't care about this, I just want to get a hang of how to use this slipstreamer (hopefylly the bug is corrected by the time I have things in order tongue )


DPs_BASE.log

2007-01-08 22:13:28 : <GUI>  Closed GUI.
2007-01-08 22:13:28 : <SEL>  Selected module: mod_slip_wxp_x86-32_disc_m2.
2007-01-08 22:13:30 : <PREP> Removed all attributes from \I386.
2007-01-08 22:13:30 : <PREP> Created a backup of \I386\winnt.sif.
2007-01-08 22:13:30 : <PREP> Created a backup of \I386\txtsetup.sif.
2007-01-08 22:13:30 : <PREP> Created a backup of \I386\dosnet.inf.
2007-01-08 22:13:41 : <PREP> Cleaned up \$OEM$\cmdlines.txt.
2007-01-08 22:13:41 : <PREP> Created temporary working directory.
2007-01-08 22:13:41 : <SLIP> Created necessary directory structure for method 2.
2007-01-08 22:13:41 : <SLIP> Copied files necessary for method 2.
2007-01-08 22:13:41 : <SLIP> Extracted files necessary for method 2.
2007-01-08 22:13:41 : <SLIP> Created \I386\presetup.cmd file.
2007-01-08 22:13:42 : <SLIP> Updated \I386\txtsetup.sif to support method 2.
2007-01-08 22:13:42 : <SLIP> Updated \I386\dosnet.inf to support method 2.
2007-01-08 22:14:11 : <SLIP> Copied DriverPacks to \OEM.
2007-01-08 22:14:12 : <SLIP> Extracted and deleted \I386\svcpack.in_.
2007-01-08 22:14:12 : <SLIP> Updated \I386\svcpack.inf file to support KB888111 and KB921401.
2007-01-08 22:14:13 : <SLIP> Updated \I386\txtsetup.sif file to support KB888111.
2007-01-08 22:14:14 : <SLIP> Updated \I386\dosnet.inf file to support KB888111.
2007-01-08 22:14:15 : <SLIP> Updated \I386\dosnet.inf file to support KB921401.
2007-01-08 22:14:16 : <SLIP> Extracted DriverPack MassStorage to a temporary working directory.
2007-01-08 22:14:16 : <SLIP> Updated \I386\winnt.sif to support method 2.
2007-01-08 22:14:16 : <SLIP> Updated DPsFnshr.ini to enable KTD.
2007-01-08 22:14:17 : <SLIP> Updated \$OEM$\cmdlines.txt to execute ROE.exe.
2007-01-08 22:14:17 : <SLIP> Slipstream finished in 49 seconds.
2007-01-08 22:14:54 : <CLNP> Temporary working directory successfully deleted.
2007-01-08 22:14:54 : Program terminated.

DPsFnshr.ini (as you see I'm trying to use KTD patterns)

[Settings]
; DO NOT SET THIS MANUALLY, LET THE DriverPacks BASE DO IT FOR YOU! (may NOT contain any spaced, if it does, all exceptions must be adapted to be compatible!)
DPsRoot	= "%SystemDrive%"
; DO NOT SET THIS MANUALLY, LET THE DriverPacks BASE DO IT FOR YOU!
KTD = "patterns:1394\;DOT4PRT\;FlashMedia\;HID\;LPTENUM\;Monitor\;PCMCIA\;SERENUM\;USB\;USBPRINT\"
; system variables supported: %SystemDrive%, %SystemRoot% and %WinDir%, one
; location cannot be used as KTDlocation: the root directory specified in
; [Settings]\DPsRoot
KTDlocation	= "%SystemRoot%\DriverPacks"
; enables/disables debug mode (enabled by default)
debug = "true"

<SKIPPNG THE REST TO SAVE FORUM SIZE>

DPsFnshr.log

2007-01-08 18:25:53 : <INIT> DriverPacks Finisher 7.01.1 initialized.
2007-01-08 18:25:53 : <INIT> Splash screen initialized.
2007-01-08 18:25:53 : <INIT> Detected platform wnt5_x86-32.
2007-01-08 18:25:53 : <INIT> Start logging of the HWIDs for relevant devices present in this system.
2007-01-08 18:25:53 : <INIT> 1. ACPI devices
<SKIPPED TO SAVE FORUM SIZE, STANDARD VMware HWID's>
2007-01-08 18:25:53 : <INIT> 2. PCI devices
<SKIPPED TO SAVE FORUM SIZE, STANDARD VMware HWID's>
2007-01-08 18:25:54 : <INIT> 3. HDAUDIO devices
<SKIPPED TO SAVE FORUM SIZE, STANDARD VMware HWID's>
2007-01-08 18:25:54 : <INIT> 4. USB devices
<SKIPPED TO SAVE FORUM SIZE, STANDARD VMware HWID's>
2007-01-08 18:25:54 : <INIT> Logging of HWIDs complete.
2007-01-08 18:25:54 : <CRIT>    The DriverPacks root directory in the settings file doesn't contain a valid DriverPacks directory structure!
2007-01-08 18:25:59 : <CLNP> Deleted "C:\DPsFnshr.ini"!
2007-01-08 18:25:59 : <CLNP> Deleted "C:\devcon.exe"!
2007-01-08 18:25:59 : <CLNP> Deleted "C:\makePNF.exe"!
2007-01-08 18:25:59 : <CLNP> Deleted "C:\pmtimer.exe"!
2007-01-08 18:25:59 : <CLNP> Deleted "C:\ATICCP.ins"!
2007-01-08 18:25:59 : <CLNP> Deleted "C:\DSPdsblr.exe"!
2007-01-08 18:25:59 : <CLNP> Added new value to the RunOnce key in the registry: the DriverPacks Finisher itself will get deleted after the next reboot.
2007-01-08 18:25:59 : Program terminated.