Hi Steve,
When extracting the registration info from the file, the registry entries are added automatically in the "Registry" page. Also, these registry entries are added in the component of the file. Unfortunately, what you need is not supported directly by Advanced Installer. However, you can try one of these workarounds:
1) Use duplicate registry entries:
- register only one copy of the file
- for the registry keys created in the "Registry" page use an approach similar to the one explained in the
Install 32-bit/64-bit registry entries how-to
- instead of the "VersionNT64" property you can use a custom property to condition the component of the DLL; this custom property can be set through
control events scheduled for your custom buttons
- after the registry entries of the first DLL are set, you can register the second DLL and condition its component with the custom property
This way you would have two sets of registry entries: one for the first DLL and the other for the second DLL. When one of the features is installed, its corespondent DLL and registry entries will also be installed.
2) Another approach is to use the same registry entries, but duplicate the values which use a reference to the file:
- register both DLLs
- duplicate the registry entries which use reference to the file by using the approach from the first method
- make sure that each duplicate file has two copies: one should reference the first DLL and the other should reference the second DLL
- in the "Organization" page move the common registry entries into a new component
- share this component between features (use drag and drop while the SHIFT key is pressed)
- make sure that the components of the duplicate registry entries are placed in the correct features and condition them with a custom property (set like in the first method)
Regards,
Cosmin
FOLLOW US
Get the latest news in Application Packaging