Uninst.exe not removed when run silently


When uninstalling a package silently by executing “Uninst.exe /s” in a command prompt, all files are removed but the Uninst.exe file itself. If the “/s” flag is not used, the Uninst.exe file is removed during installation.

PB version: 2018.1

Why this difference? It looks like the problem does not occur in packages built with PB 3.

In any case, I could observe that Uninst.exe forks a pbuXXXX.tmp process which actually performs the uninstallation, so the Uninst.exe file could be removed in any case. Am I missing something?

We’ll check the problem, thanks!