i tried triggering to function but it looks it doesnt work if i want to delete additional files. P.S : I already have uninstall section works for installed files as aspected. It just a additional files that does not comes with installing. So any suggestion ?
Thanks
Here are my codes...
NSIS optional component / page for uninstaller
11 posts
Why are you using functions and not sections?
Honestly i dunno how to do it and iwill be happy if u give me an fixed code suggestion bases of my codes.
Thanks
Anders would u mind to open pull request with fixing my code if u dont mind pls ?
Thanks
Anders would u mind to open pull request with fixing my code if u dont mind pls ?
GitHub does not allow me to log in anymore, I can't do PRs. Just change the un functions to be sections...
Anders which functions ? Because i have Function un.DeleteAllReports, Function un.onUninstSuccess, Function un.Uninstall, Function un.CompleteUninstall and also must be section /o un. or section un. or just section /o or section ?
Also i added into repo as collaborators. After approve it then u can create pull request i guess ?
Thanks
Also the second uninstall which is deleting reposts must be optional not required as uninstall.
Also i added into repo as collaborators. After approve it then u can create pull request i guess ?
Thanks
Also the second uninstall which is deleting reposts must be optional not required as uninstall.
I can't use GitHub.
Anyway, Delete instructions are usually placed in sections. Perhaps one section that is always enabled and another you enable based on some condition or user input. Take a look at sections.nsh to help you toggle sections.
Anyway, Delete instructions are usually placed in sections. Perhaps one section that is always enabled and another you enable based on some condition or user input. Take a look at sections.nsh to help you toggle sections.
I tried but its only delete files in first Section un.Uninstall and not deleting files in second Section /o u.CompleteUninstall . optional section not executing i guess.
/o means off by default, you need to enable it based on some condition
Thank you for succession but what kind of condition i need for that ? Because i tried one but it looks selecting it and deleting it dont work.

If you have a components page in the uninstaller then you don't need to handle .OnSelChange. And even if you wanted to, it would be un.onSelChange...
Anders when i leave only normal uninstall section and section /o then it wont trigger to Section /o un.CompleteUninstall for deleting files after uninstall.
I think my problem is triggering the Section /o when selected / checked it .
Anders i solved with " un.onSelChange" . Thanks
Just needed to using selected conditions correct and then done .... Thanks again.
I think my problem is triggering the Section /o when selected / checked it .
Anders i solved with " un.onSelChange" . Thanks
Just needed to using selected conditions correct and then done .... Thanks again.