SoKoOLz
15th May 2007 09:22 UTC
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.
Red Wine
15th May 2007 16:37 UTC
Unable to get the point of the 1st part of your post.
For the 2nd part should use SetOverWrite off.
SoKoOLz
15th May 2007 18:22 UTC
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.
Afrow UK
15th May 2007 18:23 UTC
Use a !macro and !insertmacro,
Edit: Or if the code is identical, put it in a Function.
Stu
SoKoOLz
15th May 2007 18:38 UTC
Oh right, I see. So I still need to put in the uninstall reg for every section right?
Thank you
Afrow UK
15th May 2007 19:38 UTC
Assuming that one of the uninstall sections cannot be unchecked, can't you put it in there?
Stu
SoKoOLz
16th May 2007 03:25 UTC
Oh right I see what u mean. Thank you.
Now, I'm using
Section -Ghost
and i works great ^^