<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[DriverPacks.net Forum - [BUG] Driver folder "D\" was not deleted...]]></title>
	<link rel="self" href="http://forum.driverpacks.net/extern.php?action=feed&amp;tid=2892&amp;type=atom"/>
	<updated>2008-08-05T21:59:20Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.driverpacks.net/viewtopic.php?id=2892</id>
		<entry>
			<title type="html"><![CDATA[Re: [BUG] Driver folder "D\" was not deleted...]]></title>
			<link rel="alternate" href="http://forum.driverpacks.net/viewtopic.php?pid=22977#p22977"/>
			<content type="html"><![CDATA[<p>Well, well, it&#039;s just that this was on my testing machine, which has worked perfectly fine in the same HW config before, so unless it came by one of the three DPG nightlies (which got updated from the last try), I am clueless to what factor got changed that may lead to deviating results.</p>]]></content>
			<author>
				<name><![CDATA[Helmi]]></name>
				<uri>http://forum.driverpacks.net/profile.php?id=25</uri>
			</author>
			<updated>2008-08-05T21:59:20Z</updated>
			<id>http://forum.driverpacks.net/viewtopic.php?pid=22977#p22977</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [BUG] Driver folder "D\" was not deleted...]]></title>
			<link rel="alternate" href="http://forum.driverpacks.net/viewtopic.php?pid=22973#p22973"/>
			<content type="html"><![CDATA[<p>I&#039;ve noticed that too.&nbsp; Sometimes an instance of &quot;msiexec&quot; is left running, but normally a restart clears the issue.</p>]]></content>
			<author>
				<name><![CDATA[mr_smartepants]]></name>
				<uri>http://forum.driverpacks.net/profile.php?id=1602</uri>
			</author>
			<updated>2008-08-05T17:18:14Z</updated>
			<id>http://forum.driverpacks.net/viewtopic.php?pid=22973#p22973</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [BUG] Driver folder "D\" was not deleted...]]></title>
			<link rel="alternate" href="http://forum.driverpacks.net/viewtopic.php?pid=22968#p22968"/>
			<content type="html"><![CDATA[<p>i am begining to suspect that one of our installers that is called by the finisher is still running after teh finisher completes<br />(running in the background) causeing a file in use error for the delete.</p><p>this issue should be resolvved when i fix the backup delete routine with the next release of base...</p>]]></content>
			<author>
				<name><![CDATA[OverFlow]]></name>
				<uri>http://forum.driverpacks.net/profile.php?id=1097</uri>
			</author>
			<updated>2008-08-05T16:25:26Z</updated>
			<id>http://forum.driverpacks.net/viewtopic.php?pid=22968#p22968</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [BUG] Driver folder "D\" was not deleted...]]></title>
			<link rel="alternate" href="http://forum.driverpacks.net/viewtopic.php?pid=22964#p22964"/>
			<content type="html"><![CDATA[<p>Strangely enough, I seem to be experiencing the same problem on my current test install...</p><div class="codebox"><pre><code>2008-08-05 02:18:34 : &lt;KTD&gt;  KTD will not be applied, the DriverPacks will be deleted.
2008-08-05 02:20:13 : &lt;CLNP&gt; Could not delete the DriverPacks, which are located in &quot;C:\D&quot;.
2008-08-05 02:20:13 : &lt;CLNP&gt; Added new value to the RunOnce key in the registry: the cleanup of the &quot;C:\D&quot; directory will be retried (through CLI, not through the Finisher) after a reboot.
2008-08-05 02:20:13 : &lt;CLNP&gt; Deleted &quot;C:\hwids.dat&quot;!
2008-08-05 02:20:13 : &lt;CLNP&gt; Deleted &quot;C:\DPsFnshr.ini&quot;!
2008-08-05 02:20:13 : &lt;CLNP&gt; Deleted &quot;C:\devcon.exe&quot;!
2008-08-05 02:20:14 : &lt;CLNP&gt; Deleted &quot;C:\makePNF.exe&quot;!
2008-08-05 02:20:14 : &lt;CLNP&gt; Deleted &quot;C:\pmtimer.exe&quot;!
2008-08-05 02:20:15 : &lt;CLNP&gt; Deleted &quot;C:\*.ins&quot;!
2008-08-05 02:20:15 : &lt;CLNP&gt; Deleted &quot;C:\DSPdsblr.exe&quot;!
2008-08-05 02:20:16 : &lt;CLNP&gt; Deleted &quot;C:\DriverPack_*.ini&quot;!
2008-08-05 02:20:16 : &lt;CLNP&gt; Deleted &quot;C:\mute.exe&quot;!
2008-08-05 02:20:16 : &lt;CLNP&gt; Added new value to the RunOnce key in the registry: the DriverPacks Finisher itself will get deleted after the next reboot.
2008-08-05 02:20:16 : Program terminated.</code></pre></div><p>D folder still present even after two reboots.<br />Never happended before and I did not deviate from my ususal settings at all!</p><p>The stuff on %systemroot% got all deleted, though...</p>]]></content>
			<author>
				<name><![CDATA[Helmi]]></name>
				<uri>http://forum.driverpacks.net/profile.php?id=25</uri>
			</author>
			<updated>2008-08-05T10:01:26Z</updated>
			<id>http://forum.driverpacks.net/viewtopic.php?pid=22964#p22964</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [BUG] Driver folder "D\" was not deleted...]]></title>
			<link rel="alternate" href="http://forum.driverpacks.net/viewtopic.php?pid=22611#p22611"/>
			<content type="html"><![CDATA[<p>Here the same problem , the D folder stays on C</p>]]></content>
			<author>
				<name><![CDATA[bomen1]]></name>
				<uri>http://forum.driverpacks.net/profile.php?id=2618</uri>
			</author>
			<updated>2008-07-26T20:17:04Z</updated>
			<id>http://forum.driverpacks.net/viewtopic.php?pid=22611#p22611</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [BUG] Driver folder "D\" was not deleted...]]></title>
			<link rel="alternate" href="http://forum.driverpacks.net/viewtopic.php?pid=22489#p22489"/>
			<content type="html"><![CDATA[<p>I don&#039;t use the directory or do anything that would cause it to happen.&nbsp; The strange thing is it only happens on real hardware.&nbsp; I can&#039;t reproduce it in a VM with the same exact installation image.&nbsp; Another thing I noticed is that &quot;\D&quot; folder varies in the amount of files successfully deleted.&nbsp; In one installation it was basically full, in another it only had one folder left.</p><p>I have an idea for a workaround, just a simple retry in the AU3 code.&nbsp; I&#039;ll try something out later and see if it works.</p>]]></content>
			<author>
				<name><![CDATA[ophielx]]></name>
				<uri>http://forum.driverpacks.net/profile.php?id=235</uri>
			</author>
			<updated>2008-07-21T07:45:47Z</updated>
			<id>http://forum.driverpacks.net/viewtopic.php?pid=22489#p22489</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [BUG] Driver folder "D\" was not deleted...]]></title>
			<link rel="alternate" href="http://forum.driverpacks.net/viewtopic.php?pid=22480#p22480"/>
			<content type="html"><![CDATA[<p>First post updated</p><p>edited the Title wording and added [BUG]&nbsp; <br />I clarified the first line of the post to reflect the issue clearly.</p>]]></content>
			<author>
				<name><![CDATA[OverFlow]]></name>
				<uri>http://forum.driverpacks.net/profile.php?id=1097</uri>
			</author>
			<updated>2008-07-20T20:14:24Z</updated>
			<id>http://forum.driverpacks.net/viewtopic.php?pid=22480#p22480</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [BUG] Driver folder "D\" was not deleted...]]></title>
			<link rel="alternate" href="http://forum.driverpacks.net/viewtopic.php?pid=22476#p22476"/>
			<content type="html"><![CDATA[<p>normaly the d folder is deleted before the reboot and that &quot;backup&quot; mechanisim is not needed as the primary function of deleteing the d\ folder is preformed by the finisher itself and not by the registry entry.</p><p>this is indeed a bug and as such should be reported at bugtracker, there is a link in the main forum.</p><p>I am still curious why it is not deleteing it - <br />is it possable you are doing something else that is causeing this folder to be in use?<br />very strange that this has never been reported before - <br />i would really like to know how this occurs / how to reproduce it... <br />the primary delete from finisher should work and i am sure is why you alone found that the &#039;backup mechanisim&#039; for deleteing the files has a bug.</p><p>anyway it is an easy fix and i will implement it</p>]]></content>
			<author>
				<name><![CDATA[OverFlow]]></name>
				<uri>http://forum.driverpacks.net/profile.php?id=1097</uri>
			</author>
			<updated>2008-07-20T18:36:48Z</updated>
			<id>http://forum.driverpacks.net/viewtopic.php?pid=22476#p22476</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [BUG] Driver folder "D\" was not deleted...]]></title>
			<link rel="alternate" href="http://forum.driverpacks.net/viewtopic.php?pid=22273#p22273"/>
			<content type="html"><![CDATA[<p>Well, I figured it out.&nbsp; I installed again and took a look at the runonce key that gets set and it doesn&#039;t work.<br />cmd.exe /c &quot;if exist C:\D&nbsp; then rd /s /q C:\D&quot;<br />returns: &#039;then&#039; is not recognized as an internal or external command, operable program or batch file.</p><p>I&#039;ve updated the autoit script and created a sample DPsFnshr.exe with the changes.</p><div class="codebox"><pre><code>Const $_FINISHERDIR = StringReplace(@ScriptDir, &quot;\&quot;, &quot;&quot;)

changed to:

If StringRight(@ScriptDir,1)==&quot;\&quot; Then
Const $_FINISHERDIR = StringTrimRight(@ScriptDir,1)
Else
Const $_FINISHERDIR = @ScriptDir
EndIf

____________________________________________________________________

RegWrite(&quot;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce&quot;, &quot;retry cleanup of the DriverPacks&quot;, &quot;REG_SZ&quot;, &#039;cmd.exe /c &quot;if exist &#039; &amp; $SET_DPSROOT &amp; &quot;\D  then rd /s /q &quot; &amp; $SET_DPSROOT &amp; &#039;\D&quot;&#039;)

changed to:

RegWrite(&quot;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce&quot;, &quot;retry cleanup of the DriverPacks&quot;, &quot;REG_SZ&quot;, &#039;cmd.exe /c rd /s /q &quot;&#039; &amp; $SET_DPSROOT &amp; &#039;\D&quot;&#039;)

____________________________________________________________________

RegWrite(&quot;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce&quot;, &quot;retry cleanup of the DriverPacks Finisher temp dir&quot;, &quot;REG_SZ&quot;, &#039;cmd.exe /c &quot;if exist &#039; &amp; $_DPSTMP &amp; &quot;  then rd /s /q &quot; &amp; $_DPSTMP &amp; &#039;&quot;&#039;)

changed to:

RegWrite(&quot;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce&quot;, &quot;retry cleanup of the DriverPacks Finisher temp dir&quot;, &quot;REG_SZ&quot;, &#039;cmd.exe /c rd /s /q &quot;&#039; &amp; $_DPSTMP &amp; &#039;&quot;&#039;)

____________________________________________________________________

forfilled changed to fulfilled ;)</code></pre></div><p>I changed the $_FINISHERDIR constant to what I think the actual intent of the coder was.&nbsp; The original was kind of a hack and this is more future-proof.</p><p>The other two changes produce output similar to this: cmd.exe /c rd /s /q &quot;C:\D&quot;<br />Tested and working on real hardware.&nbsp; Directory is no longer left behind.</p><p><a href="http://www.megaupload.com/?d=M0LR1DYL">http://www.megaupload.com/?d=M0LR1DYL</a></p>]]></content>
			<author>
				<name><![CDATA[ophielx]]></name>
				<uri>http://forum.driverpacks.net/profile.php?id=235</uri>
			</author>
			<updated>2008-07-12T09:56:14Z</updated>
			<id>http://forum.driverpacks.net/viewtopic.php?pid=22273#p22273</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [BUG] Driver folder "D\" was not deleted...]]></title>
			<link rel="alternate" href="http://forum.driverpacks.net/viewtopic.php?pid=22268#p22268"/>
			<content type="html"><![CDATA[<p>I don&#039;t add/change users with nlite and I haven&#039;t modified anything.&nbsp; It&#039;s just a standard point and click DriverPacks integration.&nbsp; AFAIK I&#039;ve had this issue with Base for a long time now, but I never really cared enough to report it since it&#039;s not that big of a deal.<br /></p><div class="codebox"><pre><code>If exist &quot;%systemroot%\system32\setupold.exe&quot; DEL /F &quot;%systemroot%\system32\setupold.exe&quot;

REM +==========================================================================+
REM |   Finding CD/DVD driveletter.                                            |
REM |--------------------------------------------------------------------------|
SET TAGFILE=\OEM
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) DO IF EXIST &quot;%%i:%TAGFILE%&quot; SET CDDRIVE=%%i:


REM +==========================================================================+
REM |   Decompressing the DriverPacks to the harddisk - using un7zip.exe.      |
REM |--------------------------------------------------------------------------|
%CDDRIVE%\OEM\bin\un7zip.exe %CDDRIVE%\OEM\DP*.7z %SystemDrive%\


REM +==========================================================================+
REM |   Copying/decompressing the files to finish the installation.            |
REM |--------------------------------------------------------------------------|
%CDDRIVE%\OEM\bin\un7zip.exe %CDDRIVE%\OEM\bin\*.7z %SystemDrive%\
COPY /Y %CDDRIVE%\OEM\bin\DPsFnshr.ini %SystemDrive%\
IF EXIST %CDDRIVE%\OEM\*.ins COPY /Y %CDDRIVE%\OEM\*.ins %SystemDrive%\


REM +==========================================================================+
REM |   Scanning for driverdirectories.                                        |
REM |--------------------------------------------------------------------------|
%CDDRIVE%\OEM\bin\DevPath.exe %SystemDrive%\D


REM +==========================================================================+
REM |   Disable Driver Signing Policy and keep it disabled.                    |
REM |--------------------------------------------------------------------------|
START %SystemDrive%\DSPdsblr.exe

EXIT</code></pre></div>]]></content>
			<author>
				<name><![CDATA[ophielx]]></name>
				<uri>http://forum.driverpacks.net/profile.php?id=235</uri>
			</author>
			<updated>2008-07-12T06:39:52Z</updated>
			<id>http://forum.driverpacks.net/viewtopic.php?pid=22268#p22268</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [BUG] Driver folder "D\" was not deleted...]]></title>
			<link rel="alternate" href="http://forum.driverpacks.net/viewtopic.php?pid=22266#p22266"/>
			<content type="html"><![CDATA[<p>i second that <br />lets see presetup.cmd too... i suspect it has been altered</p>]]></content>
			<author>
				<name><![CDATA[OverFlow]]></name>
				<uri>http://forum.driverpacks.net/profile.php?id=1097</uri>
			</author>
			<updated>2008-07-12T05:51:40Z</updated>
			<id>http://forum.driverpacks.net/viewtopic.php?pid=22266#p22266</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [BUG] Driver folder "D\" was not deleted...]]></title>
			<link rel="alternate" href="http://forum.driverpacks.net/viewtopic.php?pid=22264#p22264"/>
			<content type="html"><![CDATA[<p>Whoa, OK.&nbsp; That&#039;s odd.<br />\D\ directory shouldn&#039;t be tagged as read-only.&nbsp; Do you change/delete users through nlite?</p>]]></content>
			<author>
				<name><![CDATA[mr_smartepants]]></name>
				<uri>http://forum.driverpacks.net/profile.php?id=1602</uri>
			</author>
			<updated>2008-07-12T05:34:31Z</updated>
			<id>http://forum.driverpacks.net/viewtopic.php?pid=22264#p22264</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [BUG] Driver folder "D\" was not deleted...]]></title>
			<link rel="alternate" href="http://forum.driverpacks.net/viewtopic.php?pid=22256#p22256"/>
			<content type="html"><![CDATA[<p>Thanks, but I can read too. I&#039;ve rebooted no less than 5 times and the directory remains.&nbsp; Same thing happened on my last install.</p><p>With the same installation image the directory is removed in VM.&nbsp; But on real hardware the directory is not removed.</p>]]></content>
			<author>
				<name><![CDATA[ophielx]]></name>
				<uri>http://forum.driverpacks.net/profile.php?id=235</uri>
			</author>
			<updated>2008-07-11T19:46:37Z</updated>
			<id>http://forum.driverpacks.net/viewtopic.php?pid=22256#p22256</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [BUG] Driver folder "D\" was not deleted...]]></title>
			<link rel="alternate" href="http://forum.driverpacks.net/viewtopic.php?pid=22254#p22254"/>
			<content type="html"><![CDATA[<p>The finisher loaded two reg entries to delete those items:</p><div class="codebox"><pre><code>2008-07-10 23:28:44 : &lt;CLNP&gt; Added new value to the RunOnce key in the registry: the cleanup of the &quot;C:\D&quot; directory will be retried (through CLI, not through the Finisher) after a reboot.
;
2008-07-10 23:28:44 : &lt;CLNP&gt; Added new value to the RunOnce key in the registry: the DriverPacks Finisher itself will get deleted after the next reboot.</code></pre></div><p>If you had done nothing but reboot, that directory would have been deleted automatically. <img src="http://forum.driverpacks.net/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[mr_smartepants]]></name>
				<uri>http://forum.driverpacks.net/profile.php?id=1602</uri>
			</author>
			<updated>2008-07-11T18:46:54Z</updated>
			<id>http://forum.driverpacks.net/viewtopic.php?pid=22254#p22254</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[[BUG] Driver folder "D\" was not deleted...]]></title>
			<link rel="alternate" href="http://forum.driverpacks.net/viewtopic.php?pid=22249#p22249"/>
			<content type="html"><![CDATA[<p>Base (multiple versions) Leaves my drivers behind at %systemdrive%\D</p><p>KTD is off, and they don&#039;t exist at the KTD location.<br />winnt.sif has DPsFnshr.exe listed and it does run.</p><div class="quotebox"><cite>DPsFnshr.ini wrote:</cite><blockquote><p>[Settings]<br />; 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!)<br />DPsRoot&nbsp; &nbsp; = &quot;%SystemDrive%&quot;<br />; DO NOT SET THIS MANUALLY, LET THE DriverPacks BASE DO IT FOR YOU!<br />KTD = &quot;false&quot;<br />; system variables supported (see remarks for a list) one location cannot be used as<br />; KTDlocation: the root directory specified in[Settings]\DPsRoot<br />KTDlocation&nbsp; &nbsp; = &quot;%SystemRoot%\DriverPacks&quot;<br />; system variables supported (see remarks for a list)<br />logLocation = &quot;%SystemRoot%&quot;<br />; enables/disables debug mode (enabled by default)<br />debug = &quot;true&quot;</p></blockquote></div><div class="quotebox"><cite>DPsFnshr.log wrote:</cite><blockquote><p>2008-07-10 23:27:16 : &lt;INIT&gt; Detected a method 2 driver installation, the DevicePath value in the registry has been reset.<br />2008-07-10 23:27:16 : &lt;FLTR&gt; Collected the HWIDs for this system.<br />2008-07-10 23:27:16 : &lt;FLTR&gt; Verifying requirements for exception [NV3] (1 of 1 exceptions).<br />2008-07-10 23:27:16 : &lt;FLTR&gt; &nbsp; &nbsp; 2. +hwids (ANY +hwids must be matched)<br />2008-07-10 23:27:16 : &lt;FLTR&gt; &nbsp; &nbsp; &nbsp; &nbsp; ! Could not match any of the +hwids.<br />2008-07-10 23:27:16 : &lt;FLTR&gt; &nbsp; &nbsp; =&gt; This exception will not be applied.<br />2008-07-10 23:27:16 : &lt;FLTR&gt; Finished filtering exceptions.<br />2008-07-10 23:27:16 : &lt;DBG&gt;&nbsp; 0 exceptions have forfilled the requirements to be executed!<br />2008-07-10 23:27:16 : &lt;KTD&gt;&nbsp; KTD will not be applied, the DriverPacks will be deleted.<br />2008-07-10 23:28:44 : &lt;CLNP&gt; Could not delete the DriverPacks, which are located in &quot;C:\D&quot;.<br />2008-07-10 23:28:44 : &lt;CLNP&gt; Added new value to the RunOnce key in the registry: the cleanup of the &quot;C:\D&quot; directory will be retried (through CLI, not through the Finisher) after a reboot.<br />2008-07-10 23:28:44 : &lt;CLNP&gt; Deleted &quot;C:\hwids.dat&quot;!<br />2008-07-10 23:28:44 : &lt;CLNP&gt; Deleted &quot;C:\DPsFnshr.ini&quot;!<br />2008-07-10 23:28:44 : &lt;CLNP&gt; Deleted &quot;C:\devcon.exe&quot;!<br />2008-07-10 23:28:44 : &lt;CLNP&gt; Deleted &quot;C:\makePNF.exe&quot;!<br />2008-07-10 23:28:44 : &lt;CLNP&gt; Deleted &quot;C:\pmtimer.exe&quot;!<br />2008-07-10 23:28:44 : &lt;CLNP&gt; Deleted &quot;C:\DSPdsblr.exe&quot;!<br />2008-07-10 23:28:44 : &lt;CLNP&gt; Deleted &quot;C:\DriverPack_*.ini&quot;!<br />2008-07-10 23:28:44 : &lt;CLNP&gt; Deleted &quot;C:\mute.exe&quot;!<br />2008-07-10 23:28:44 : &lt;CLNP&gt; Added new value to the RunOnce key in the registry: the DriverPacks Finisher itself will get deleted after the next reboot.<br />2008-07-10 23:28:44 : Program terminated.</p></blockquote></div><p>forfilled <img src="http://forum.driverpacks.net/img/smilies/lol.png" width="15" height="15" alt="lol" /></p><p>C:\D is read-only but rd /s /q takes care of it...</p><p>... Edit: title and first line by OverFlow ...</p>]]></content>
			<author>
				<name><![CDATA[ophielx]]></name>
				<uri>http://forum.driverpacks.net/profile.php?id=235</uri>
			</author>
			<updated>2008-07-11T08:31:26Z</updated>
			<id>http://forum.driverpacks.net/viewtopic.php?pid=22249#p22249</id>
		</entry>
</feed>
