Hello
Actually I make my first setup script with NSIS and currently I'm looking for the possibility to uninstall my old software before the new version will be installed.
My current problem is I make the detection of my old version in my setup section. At this point the (old) setup directory and the (old) language settings from the previous (old) installation are taken.
I'll use the old uninstall to clean the system befor the new version will be installed. Where do I have to place this version check.
Any ideas?
th_mi
Good way for uninstalling old version before a new installation?
7 posts
Does nobody has this problem?
So I ask in an other way:
How do you all handle the setup of a new software version? I think it makes sense to uninstall an old version before installing the new one.
So I ask in an other way:
How do you all handle the setup of a new software version? I think it makes sense to uninstall an old version before installing the new one.
Uninstall before install
Hi, th_mi.
Check NSIS installation script - you'll find answer
NSIS\Examples\makensis.nsi
Hi, th_mi.
Check NSIS installation script - you'll find answer
NSIS\Examples\makensis.nsi
Hi GAG
Your advice helped me a lot! My setup is now able to install / uninstall / update.
Maybe it would be a good idea to enalbe this feature in this example? I did not recognize that this example contains so much gems...
Thanks
th_mi
Your advice helped me a lot! My setup is now able to install / uninstall / update.
Maybe it would be a good idea to enalbe this feature in this example? I did not recognize that this example contains so much gems...
Thanks
th_mi
It is always enabled.
Originally posted by kichikBut if the 4 defines VER_MAJOR VER_MINOR VER_REVISION and VER_BUILD are not made the update mechanism wont work because this 4 defines are not made.
It is always enabled.
When I compile the makensis.nsi example and install it and than install it again I will not see the mechanism that there is already an installed version...
Anyway. My installscript works and I have only a few small bugs to fix...
NSIS is really cool!
You're right - in official releases it's always enabled.