How do I pass custom action data from a Visual Studio Setup MSI to an output project via a Merge mod
Posted
by Lex
on Stack Overflow
See other posts from Stack Overflow
or by Lex
Published on 2010-04-07T14:18:56Z
Indexed on
2010/04/07
14:23 UTC
Read the original article
Hit count: 194
I have a fully working Setup project within Visual Studio 2008 that takes inputs from a UI and passes them via a Custom Action to the output - this works perfectly.
Now I have to change this so that the UI is still in a setup project but that the output is within a merge module.
The current Custom Action Data looks much like the following with EditHostUrl coming from a UI dialog editbox.
/HostUrl="[EditHostUrl]"
I now need to pass this value to the merge module and then from there use it as an input for the custom action data to the project output but there does not seem to be any documentation on how to achieve this.
To be clear Wix/InstallShield etc... are not currently options. I would also rather not embed the UI within the merge module (for reasons of separation and also it's not supported out of the box with visual studio).
© Stack Overflow or respective owner