Skip to content
⌘ NSIS Forum Archive

Problem with delete on reboot

3 posts

Kerzh#

Problem with delete on reboot

Hi guys.

I have one more question:

I have one uninstaller and i can't change it's code.
I need to run this uninstaller in silent mode (i do it by passing /S in command line). Uninstaller has DELETE /REBOOT
call. And if it cnnot delete file message "In order to complete uninstall you need to restart ...."

My code is like:

.....
ExecWait '"C:\unistaller.exe" /S'
.....

Can i switch off this message box?
i can't set SetRebootFlag, bacause i can't modify uninstaller.exe code.

Thank you.
kichik#
Best you can do, aside from having the uninstaller changed, is deleting or moving the file yourself.