FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
  • Dr Adam Thorn's avatar
    c8fb58fa
    irfanview: add "if exist" check before running rmdir on removal · c8fb58fa
    Dr Adam Thorn authored
    I was getting:
    
    Exit code returned non-successful value: 2
    Package: Irfanview.
    Command:
    cmd /c rmdir /s /q "%programfiles(x86)%\irfanview"
    Removal of Irfanview successful.
    
    i.e. the rmdir was returning 2 ("directory not found") but because that
    was the final remove cmd and the package check condition was no longer
    satisfied, wpkg was happy that the removal had completed.
    c8fb58fa
    History
    irfanview: add "if exist" check before running rmdir on removal
    Dr Adam Thorn authored
    I was getting:
    
    Exit code returned non-successful value: 2
    Package: Irfanview.
    Command:
    cmd /c rmdir /s /q "%programfiles(x86)%\irfanview"
    Removal of Irfanview successful.
    
    i.e. the rmdir was returning 2 ("directory not found") but because that
    was the final remove cmd and the package check condition was no longer
    satisfied, wpkg was happy that the removal had completed.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.