Hi Vincent,
Sorry, no, SSO is not a supported source for the bindings file variables. EnvironmentSettingsExporter.exe creates the environment-specific XML settings files, one of which is picked up and merged with PortBindingsMaster.xml by XmlPreprocess.exe. Rather than customize EnvironmentSettingsExporter, if you want to go this route then I suggest writing your own command-line app. You can just store the EXE in a Dependencies folder within your solution folder, and include it in the MSI via the AdditionalFiles ItemGroup or just copying it within the CustomRedist target (as in the Advanced sample app). You just need to have this custom app produce the same environment-specific settings XML file format.
You can easily tie any custom step(s) into the process with a custom target, similar to:
Tom
Sorry, no, SSO is not a supported source for the bindings file variables. EnvironmentSettingsExporter.exe creates the environment-specific XML settings files, one of which is picked up and merged with PortBindingsMaster.xml by XmlPreprocess.exe. Rather than customize EnvironmentSettingsExporter, if you want to go this route then I suggest writing your own command-line app. You can just store the EXE in a Dependencies folder within your solution folder, and include it in the MSI via the AdditionalFiles ItemGroup or just copying it within the CustomRedist target (as in the Advanced sample app). You just need to have this custom app produce the same environment-specific settings XML file format.
You can easily tie any custom step(s) into the process with a custom target, similar to:
<Target Name="ExportSettingsFromSSO" AfterTargets="ExportSettings">
<Exec Command="..\MyExporter.exe" />
</Target>
Thanks,Tom