Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000278DriverPacks BASEDPs Finisherpublic2006-11-11 07:482006-11-24 16:51
Reporterruudboek 
Assigned Toruudboek 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version6.10 
Target VersionFixed in Version6.12 
Summary0000278: Error : The Driverpacks root directory in the settings file doesn't contain a valid Drivepack directory structure!
DescriptionThis error occurs if your "documents and settings" folder is not located on the C drive.

In my case i explicitely defined in my winnt.sif that my profilesdir("documents and settings" ) should be created on the D drive, which maked it easier to restore an image of my C drive without the loss of "My documents", "Favorites", etc. , which, as we all know, reside in the "documents and settings" folder.
This is a really handy feature, therefore i really would like to see this problem solved.

How to solve:
I noticed the following lines are responsible for setting the %systemdrive% to %homedir%:
    

In DPsFnshr_funcs starting on line 1060:

if stringInStr($fa_string, "%systemdrive%") then
    $fa_string = stringReplace($fa_string, "%systemdrive%" , @HomeDrive , 0, 0)
endIf

I suggest changing "@HomeDrive" to something like this (have not tested this!):

EnvGet("systemdrive")

I was able to find the variable "@HomeDrive" also on line 76:

if regWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce", "DriverPacks Finisher final cleanup", "REG_SZ", "cmd.exe /c ""del /f /q " & @HomeDrive & "\DPsFnshr.exe""") then

I suggest to make the same change in that line aswell.

Greetings,

Ruud
TagsNo tags attached.
Destination OS Platformnot applicable
Installation Platformnot applicable
DriverPacksnot applicable
DriverPacks Methodnot applicable
DriverPacks Finisher Methodnot applicable
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2006-11-11 07:48 ruudboek New Issue
2006-11-11 07:48 ruudboek Status new => assigned
2006-11-11 07:48 ruudboek Assigned To => BashratTheSneaky
2006-11-11 07:48 ruudboek Destination OS Platform => not applicable
2006-11-11 07:48 ruudboek Installation Platform => not applicable
2006-11-11 07:48 ruudboek DriverPacks => not applicable
2006-11-11 07:48 ruudboek DriverPacks Method => not applicable
2006-11-11 07:48 ruudboek DriverPacks Finisher Method => not applicable
2006-11-24 16:28 ruudboek Assigned To BashratTheSneaky => ruudboek
2006-11-24 16:29 ruudboek Status assigned => resolved
2006-11-24 16:29 ruudboek Resolution open => fixed
2006-11-24 16:48 ruudboek Status resolved => assigned
2006-11-24 16:51 ruudboek Status assigned => resolved
2006-11-24 16:51 ruudboek Fixed in Version => 6.11


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker