|
|
#1 |
|
Member
Join Date: Sep 2005
Location: Martinsicuro -Teramo- Italy
Posts: 76
|
Hello,
I have 3 items in the components page and for them 3 distinct sections. I would want to have their 3 corrispective uninstaller sections that only delete files installed in their respective installer sections if checked. Then how to write the code to have automatically an unistaller section that delete files only if its respective components page section has been checked ? I have tried to use global variables with SectionGetFlags but this does not work giving always Section Selected flag causing the uninstaller sections to uninstall however. Massimo |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Global variables are seperate in the installer and uninstaller. Their values are not transferred because they are seperate executables. You need to store the section states in the registry on installer, and read them with ReadRegStr on uninstall.
-Stu |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|