|
|
#1 |
|
Junior Member
Join Date: Feb 2007
Posts: 5
|
Components Control
Greetings
This is a really simple question since I'm a complete beginner. I have two sections, both selectable. In the Uninstaller section I'd like to know which sections were selected, in order to uninstall the appropriate parts for each selected section. I tried to use global variable (getting diffrent value in each section), or using SectionGetFlags and it always uninstalled both sections' parts, regardless of my choice. How can I do it. Thanking you all. Dilbertz |
|
|
|
|
|
#2 |
|
Forum King
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
|
Already discussed several times, here is a recent similar thread,
http://forums.winamp.com/showthread.php?threadid=245647 Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Feb 2007
Posts: 5
|
Hi
Thanks for the quick answer. The registry trick works of course. Found it few hours ago but it still seems weird that there is no other way to connect between installer sections and uninstall section. By the same token you can open a file in each installer section and check its existence in the uninstall section. This is clumsy as well. thanks again. Dilbertz |
|
|
|
|
|
#4 |
|
Forum King
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
|
You control the script, you control the installer, the ways you may do it, are endless
![]() For instance, you may combine the registry thing with a components uninstall page which should read the registry and turns installed sections as checked ready for uninstall. Doing that, you're offering the ability to uninstall parts of your software or uninstall completely. For my opinion these are flexible and pro capabilities offered by NSIS. Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|