Skip to content
⌘ NSIS Forum Archive

Conditional delete on Uninstall

3 posts

FredLePed#

Conditional delete on Uninstall

Hi,

i'm a noob with NSIS but all is working well except one thing :

Once installed, my application creates a file in the same folder as my main exe file.

How to tell to uninstaller the following :

...
if(FileExists($INSTDIR."lang.ini"))
del($INSTDIR."lang.ini");
...

sorry for my bad english 🙁