Hello,
2) read value collected in step one via a custom action:ProcessData and find a matching string. I think I can do this but don't know how to test.
- set property based on this. It will be 1 or 0.
To do so you could use indeed our "ProcessData" predefined custom action. To test he results you could display using a "Message Box" predefined action the value of the property (e.g. OUTPUT_PROP) set as output for the "Process Data" action. For instance, after the "Process Data" action add a subsequent "Message Box" action with the "Message" field set like this:
3) install 1 file always
4) install (overwrite) this file with another if the value in step 3 = 1
To do so you could use the approach exposed in our
"Install files with the same name" article. And just make sure that for the first file component (in "Organization" page) use a condition like this:
and for the second file use a condition like this:
Please note that the "Process Data" custom action should be scheduled before the "Paths Resolution" action group.
If you have any questions or doubts just let us know.
All the best,
Daniel
FOLLOW US
Get the latest news in Application Packaging