Archive: Duplicate of Registry on each section


Duplicate of Registry on each section
Hi again,

I've made the installer that allows user to choose the install option by creating the section. For each section, I have put in the uninstall registry. So if I have 4 sections, I will have 4 long duplicate uninstall registries.

The question is, Can I have only one uninstall registry that can be used for each section instead of having it on each sections?

BTW: THis is my second post today, and I dont want to spam this forum with my silly post.
So can I ask one more question on file exist case? I want to skip the file if the installer found that the file is already exist in the target directory.

Thai will be it.
Thank you very much.


Unable to get the point of the 1st part of your post.
For the 2nd part should use SetOverWrite off.


thx for the reply.

For the first part, I want to store the same uninstall reg for every install option. Now I'm putting the same uninstall reg to each section individually. Is there a way to define one uninstall reg to be used on every section.


Use a !macro and !insertmacro,

Edit: Or if the code is identical, put it in a Function.

Stu


Oh right, I see. So I still need to put in the uninstall reg for every section right?

Thank you


Assuming that one of the uninstall sections cannot be unchecked, can't you put it in there?

Stu


Oh right I see what u mean. Thank you.

Now, I'm using

Section -Ghost

and i works great ^^