Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Custom Action "DeleteDir" not working on Windows7


2 replies to this topic

D28Player

D28Player
  • Full Members
  • 6 posts

Posted 17 May 2012 - 20:04

I've an install which puts files in a folder, C:\Program Files\Configs.
In a Custom Action, I use DeleteDir ALLCONTENTS to remove the Configs folder. Works great when installed on an XP system, but not on Windows7. MSI log files shows the CA kicked off and returns a 1, but the folder is not deleted...thoughts???

Thanks!
Van

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 18 May 2012 - 09:08

Needs to be "deferred in system context". Or use RemoveFile table instead.

D28Player

D28Player
  • Full Members
  • 6 posts

Posted 24 May 2012 - 14:43

Stefan,
Thanks! My CA is now working fine!