|
|
|
|
#1 |
|
Senior Member
Join Date: Aug 2007
Location: Frankfurt, Germany
Posts: 187
|
Dynamic Selection of Uninstall Sections does not work
Hi all,
i have a problem with my uninstaller, every section i execute on install, places a reference in the registry using. WriteRegStr HKLM "${REGKEY}\Components" "Component1" 1 now on uninstall i have code: Now i get all the needed MessageBoxes from the macro telling me the section is selected but it never executes the section.... Any ideas? |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Dec 2005
Location: Glow
Posts: 285
|
The way you pass the section ID to the SelectSection and UnselectSection macro is wrong. You call the macros with the name of the define, that contains the section ID, instead of calling the macros with the value of the define.
Either call your macro this way: code: Or, change you macro to call the SelectSection and UnselectSection this way: code: PaR |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Aug 2007
Location: Frankfurt, Germany
Posts: 187
|
PaR
we have a saying here that roughly translates to "I didn't see the forest because of all the trees..." I was so convinced that the last parameter is right that i didn't even bother to look into it, now that you have mentioned it i remember having other installers where i work with sections and ${} around the ID. Thanks a lot! x |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|