Jump to content











Photo
- - - - -

Can't delete files created by Winbuilder


  • Please log in to reply
No replies to this topic

#1 jasfree

jasfree
  • Members
  • 5 posts
  •  
    Germany

Posted 31 August 2009 - 09:06 AM

Hi All,

Problem:

Files created with Winbuilder76/77 can't be deleted, because they are created without an owner. :whistling:

Steps completed:

System: Vista Ultimate
User: jasper (no UAC), administrator (no UAC)

Install Director: C:\WinBuilder077_RC2

C:\>dir /Q WinBuilder077_RC2
Volume in Laufwerk C: hat keine Bezeichnung.
Volumeseriennummer: 3852-F2B4

Verzeichnis von C:\WinBuilder077_RC2

30.08.2009 19:42 <DIR> VGN-AR51SU\jasper .
30.08.2009 19:42 <DIR> NT SERVICE\TrustedInsta..
30.08.2009 14:45 <DIR> VORDEFINIERT\AdministraCustom
14.07.2009 18:30 7.416 VGN-AR51SU\jasper History_077.txt
30.08.2009 14:45 <DIR> VORDEFINIERT\AdministraISO
31.08.2009 10:53 70.218 VORDEFINIERT\Administralog.html
30.08.2009 14:39 <DIR> VORDEFINIERT\AdministraProjects
30.08.2009 19:41 <DIR> VORDEFINIERT\AdministraTarget
30.08.2009 19:43 <DIR> VORDEFINIERT\AdministraTemp
14.07.2009 16:23 905.216 VGN-AR51SU\jasper WinBuilder.exe
31.08.2009 10:53 803 VORDEFINIERT\AdministraWinBuilder.ini
30.08.2009 19:42 <DIR> VORDEFINIERT\AdministraWorkbench
(shows directories owned by Predefined Administrator account)


Logon as normal user.
Start WinBuilder as Administrator
Error:

[Script] Clear Target Folder

[Info] File [%BaseDir%\Projects\VistaPE-CAPI\Base\02-clear.script] Version[12]

[Success] IF - Directory exists: [%BaseDir%\Target\VistaPE-CAPI] evaluated string: [If,ExistDir,"%TargetDir%",Echo,"Deleting [%targetdir%]"]
[Info] Deleting [%BaseDir%\Target\VistaPE-CAPI]
[Success] IF - Directory exists: [%BaseDir%\Target\VistaPE-CAPI] evaluated string: [If,ExistDir,"%TargetDir%",DirDelete,"%TargetDir%"]
[Failed] DirDelete - Failed to delete directory [%BaseDir%\Target\VistaPE-CAPI]
[Warning] Halt
[Clock] Script time: 299 miliseconds

[Done] Finished processing script: Clear Target Folder

C:\WinBuilder077_RC2\Target\VistaPE-CAPI>dir /Q "boot.tmp\Program Files"
Volume in Laufwerk C: hat keine Bezeichnung.
Volumeseriennummer: 3852-F2B4

Verzeichnis von C:\WinBuilder077_RC2\Target\VistaPE-CAPI\boot.tmp\Program Files


31.08.2009 07:36 <DIR> VGN-AR51SU\jasper .
31.08.2009 07:36 <DIR> VGN-AR51SU\jasper ..
30.08.2009 19:42 <DIR> VGN-AR51SU\jasper MapDrive
0 Datei(en), 0 Bytes
3 Verzeichnis(se), 109.820.502.016 Bytes frei

C:\WinBuilder077_RC2\Target\VistaPE-CAPI>dir /Q "boot.tmp\Program Files\MapDrive
"
Volume in Laufwerk C: hat keine Bezeichnung.
Volumeseriennummer: 3852-F2B4

Verzeichnis von C:\WinBuilder077_RC2\Target\VistaPE-CAPI\boot.tmp\Program Files
\MapDrive

30.08.2009 19:42 <DIR> VGN-AR51SU\jasper .
30.08.2009 19:42 <DIR> VGN-AR51SU\jasper ..
18.10.2007 20:21 262.664 ... MapNetworkDrive.exe
1 Datei(en), 262.664 Bytes
2 Verzeichnis(se), 109.820.502.016 Bytes frei

As you can see the MapNetworkDrive.exe is not owned by any user. Trying to delete this file doesn't help.

I've tried building with the administrator account with the same results.

Is there a reason why such files are being created without an owner? Is there a way that I can create the files with an owner?

Regards,

Jasper




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users