ClickOnece-ReInstaller is a project mainly written in ..., it's free.
ReInstall VBScript For Click Onece Application