Is there a way to specify to uninstall only installed files instead of providing a list of installed files in the uninstall section?
Thanks,
Tieum
Uninstall installed files
7 posts
You should have searched the Wiki first.
-Stu
-Stu
nope, the installer currently just does the same thing as the installer:
executing your script commands.
you need so specify the files by hand.
but you can code some routines that parse config files your installer created. and based on them you'll uninstall.
executing your script commands.
you need so specify the files by hand.
but you can code some routines that parse config files your installer created. and based on them you'll uninstall.
Could be a nice feature to have this automated!
The idea of NSIS is to be as customisable as possible. Something like this may not be implemented because if you can support it via already existing NSIS code, then why should built in support be needed?
-Stu
-Stu
I don't make your point.
This feature would be nice and easy cuistomization.
This feature would be nice and easy cuistomization.
I would like this kind of feature too... I would like to have it like:
Instead of deleting all files and displaying a warning message 🙂
and record the installed files to a special var, i.e. $INSTALLEDFILES and then:
Section "Some section"
File "*.*"
SectionEnd
Or like
Section "un.Some section"
Delete "$INSTALLEDFILES"
SectionEnd
would come in handy
Section "some section"
File "*.*"
Record "*.*" $R0
SectionEnd
Section "un.some section"
Delete $R0
SectionEnd
Instead of deleting all files and displaying a warning message 🙂