installshield - How to set the install path of a merge module from a registry key? -


I have created an installer (using InstallShield 2012 spring) which uses a merge module that I created and I want to install files.

From both the main installer and the merge module for the path stored in the registry. In a separate installer, the user is able to specify the install location and I save this path in the registry to be used by subsequent installers.

In the merge module, 'INSTALLDIR \ folder' is close to my components. In the main installer, I have changed the destination property from 'Instaltered' to 'RedirectionistBrushation Panel' from '(Default destination of user merge module)'. This allows me to set the files of the merge module in the same path as the installer is in the main installer, but if I change the destination during the run time (via custom action or the Destination folder dialog) only The main installer files are installed for the desired route.

I'm using System Search to get the path from the registry and store it in a property. After that I have a custom action which sets INSTALLDIR to the path read from the registry.

If I go to the direct editor of the merge module and edit the directory table, then I can convert INSTALLDIR.GUID to INSTALLDIR and I get the desired result, but due to this' component 'and' Files and folders' to become penny unnecessarily

Is there a better way of doing this?

I saw these answers and they started me but I can not get the destination of the merge module to make changes during the time.

I ran into a similar situation If you remove the GUID from INSTALLDIR to the Directory_Parent column, then the files and folders , etc., become unusable. You need to make sure that you delete the GUID from the INSTALLDIR to the directory column. Then the merge module will get from the directors you created in your merge module.

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -