Wednesday, November 26, 2014

Uninstall Folder removal custom action


This custom action does flash up the command window during the uninstall.  However, if the package is designed for silent SCCM installation it will not be seen.


Custom Action
0x0462

  0x022 - local target exe and arguments
  0x040 - continue on Return - ignore exit code
0x0400 - Deferred

Source - SystemFolder

Target - [SystemFolder]cmd.exe /c rd /s /q "[DirTableRef]"