[Issue 20489] Installer deleting files after install

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 10 23:03:52 UTC 2020


https://issues.dlang.org/show_bug.cgi?id=20489

--- Comment #3 from Simen Kjaeraas <simen.kjaras at gmail.com> ---
Tested at home today, and I'm unable to recreate the issue. Looking at the
install folder uninstall.exe is deleted within a quarter second of the
uninstaller completing, while this would take several seconds at work.

Looking at the .nsi script there is a 1s sleep after the uninstaller returns
before the uninstaller is invoked again in an Exec statement, which doesn't
wait for its completion.

Conceivably this could be an ExecWait, or uninstall.exe's existence could be
tested before the copying of files starts.

--


More information about the Digitalmars-d-bugs mailing list