I've created a dialog that allows users to set a custom Property called EnvironmentName and this dialog is invoked early on in the 'First Time Install' set of dialogs. The default value of EnvironmentName is "ProductionEnvironment".
I also create and start a new Service and use the EnvironmentName as part of the name of the new Service. However, the service always seems to get the default value for EnvironmentName instead of the one that the user has set. Looking at the log file, it appears that the Services are dealt with quite a while after my custom dialog is invoked.
Is there better way to do this? Or is there a way to set the name of the Service dynamically at a certain piont in the process?
thanks,
Mark
FOLLOW US
Get the latest news in Application Packaging