You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by abskulkarni January 1, 2024
Hi
I am using WixSharp to build msi for our product.
I have a custom UI dialog where I am giving facility to user to change installation directory for a feature. (I am having multiple features those may have different installation directories/paths)
How can I make managed project to take this user defined path while installing that feature?
The text was updated successfully, but these errors were encountered:
Hallo, i come across following link in wix toolset V3. https://wixtoolset.org/docs/v3/xsd/wix/feature/
"...
ConfigurableDirectory | String | Specify the Id of a Directory that can be configured by the user at installation time. This identifier must be a public property and therefore completely uppercase.
"
This does not tell me that "change installation directory for a feature" is possible. This is my understanding that the ConfigurableDirectory is the directory that is one of your predefined dirs. Though the documentation (that link you provided) is shockingly bad. It does not say what it the purpose of this attribute or when and how to use it.
However, if you feel that it is what you are looking for then you can use it. Just set this attribute to whatever you want. It's available in both WiX3 and WiX4 streams.
morning, @oleg-shilo was right. MSI doesnt allow to change Path of Features. I think only way to achieve that is , build custom BA Installer with custom Feature selection dialog where each feature is own msi File triggert one after another.
Like install main files, go to feature selection and so on. Never tried it , looks complcated. 😐😐😐
Discussed in #1412
Originally posted by abskulkarni January 1, 2024
Hi
I am using WixSharp to build msi for our product.
I have a custom UI dialog where I am giving facility to user to change installation directory for a feature. (I am having multiple features those may have different installation directories/paths)
How can I make managed project to take this user defined path while installing that feature?
The text was updated successfully, but these errors were encountered: