Why is this.Context.Parameters["SERVERNAME"]in the custom action sometime have a value
and sometime don't. I have a setup project with an Installer custom action and used the this.Context.Parameters["SERVERNAME"]successfully. But on another similar setup project, the servername parameterreturns null !
I am bewildered! Is there a setting/property in the setup project that needed to be set before I can use the parameter in the custom action? Checked the project that worked but didn't find anywhere that set the servername. Tried setting the CustomActionData property to /Servername = ["SERVERNAME"] and InstallerClass to True does not help.
Any idea?
Thanks
benc