Delete other program files
I need to delete other program in my program uninstall. I coded:
Delete "$PROGRAMFILES\ProgramX\*.*"
RMDir "$PROGRAMFILES\ProgramX"
in the section "Uninstall" but the files stay there after the uninstalling. What´s up?
Archive: Delete other program files
Delete other program files
I need to delete other program in my program uninstall. I coded:
Delete "$PROGRAMFILES\ProgramX\*.*"
RMDir "$PROGRAMFILES\ProgramX"
in the section "Uninstall" but the files stay there after the uninstalling. What´s up?
If you have subfolders in the ProgramX directory they will not be deleted; use this:
RMDir /r "$PROGRAMFILES\ProgramX"