Web Setup Project - Getting the Current Machine Name
- by Shane Kenney
I've got a web setup project with a custom screen in it that asks for a machine name. Is there anyway to prepopulate this field with the current machines name?
For the case that I need it for just including "Localhost" does not meet my requirements.
"Environment.MachineName" will return the machine name within a code block which would be fine if I was needing it in a custom action. But it seems custom actions don't excecute until after you go through the installation wizard... So I cant actually use it. Anyway let me know what you think.