I am trying to install a folder to multiple folders referenced in the registry. Currently i've searched the according registry values and have them set as referenced to a folder. This part works fine as it correctly finds and refers to the directories. Next i added my sub folder references as this folder i am installing is not in the root of the folder in registry but a few folders under. I THINK i did this right by adding the referenced search to a new property in the Install Parameters area to do something like this.
If my search reference is called [darkloc] and refers to this directory C:\Dark\
And i need to install to C:\Dark\news\mods\ i simply made a new property called
[darkmod] that the value is [darkloc]\news\mods\
i also have a search refering to a registry key labeled light which is refering to an install at C:\Light\ and made an according property key
[lightmod] that the valuie is [lightloc]\news\mods\
now i have my default appdir installing to darkmod
and in the files area i made a new folder linked to the property lightmod and tried to sync it to the same folder that the darkmod install uses to install. I have 2 features created.
I am getting errors when i try to sync and a vb error. this is a fresh install with a fresh windows installation and all required dependencies.
If this was at all confusing to you let me simply tell you what i am trying to acheive and perhaps you can describe a better way to me or one that is not bugged or broken.
i would like to install the same files to multiple directories on a machine, those directories need to be linked to a registry key that another program created, however i would like to minimize my install file size as best as possible. each install directory thats linked needs to be customizable just in case the user has multiple installs on multiple drives and its only finding one registry key that might be old or incorrect.
When the program is uninstalled they need to have the option to remove only 1 feature or all. (which i think is there by default)
Hope this made some sense to someone. If you need to ask me questions fire away, i'm very willing to get this solved and i would also be willing to perhaps write a tutorial for other users so that they might be able to benefit from this knowledge.
btw i did search the forums for an answer but didnt find anything remotely close to the errors im getting or solution i need. Thanks in advance.
~ Corrupter