MSFN Forum: I dont get delete to work - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

I dont get delete to work Rate Topic: -----

#1 User is offline   jonas_sth 

  • Newbie
  • Group: Members
  • Posts: 21
  • Joined: 08-November 04

  Posted 09 December 2004 - 05:13 AM

Hi all,

do i need to have plugin so delete command will work ?

if so, can i find it on the internet ?


<item display='Delete temporary files'>
<delete source='%SYSTEMROOT%\windows\temp' mask='*.*' />
<delete source='%SYSTEMROOT%\windows\registration' mask='*.*' />
<delete source='%SYSTEMROOT%\windows\registeredpackages' mask='*.*' />
<delete source='%SYSTEMROOT%\drivers' mask='*.*' />
<delete source='%SYSTEMROOT%\drivers' />
<delete source='%SYSTEMROOT%\install' mask='*.*' />
<delete source='%SYSTEMROOT%\install' />
</item>

Thanks, Jonas


#2 User is offline   MCT 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,288
  • Joined: 19-May 04

Posted 09 December 2004 - 05:17 AM

try replacing %SYSTEMROOT% with #WinDir# this works 4 me

#3 User is offline   jonas_sth 

  • Newbie
  • Group: Members
  • Posts: 21
  • Joined: 08-November 04

Posted 09 December 2004 - 05:20 AM

thanks

but how should i do with %ALLUSERSPROFILE% :unsure:

#4 User is offline   MCT 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,288
  • Joined: 19-May 04

Posted 09 December 2004 - 05:22 AM

#AllUsersProfile# works 4 me

#5 User is offline   jonas_sth 

  • Newbie
  • Group: Members
  • Posts: 21
  • Joined: 08-November 04

Posted 09 December 2004 - 05:47 AM

:unsure: but way can i use %SYSTEMROOT% on my installation

<item display='Installing Windows Update'>
<execute display='Windows Journal Viewer' program='%SYSTEMROOT%\install\JournalViewer\JournalViewer.msi' arguments='/qb' />
</item>

#6 User is offline   MCT 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,288
  • Joined: 19-May 04

Posted 09 December 2004 - 05:58 AM

%systemroot% = %windir%

just try removing the % & replacing with #

#7 User is offline   jonas_sth 

  • Newbie
  • Group: Members
  • Posts: 21
  • Joined: 08-November 04

Posted 09 December 2004 - 08:33 AM

thanks but it didn’t help with # :}

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy