PDA

View Full Version : Injecting Computername



mrdpmn
03-10-2007, 12:48 PM
I have an app that at first launch brings up a dialog box asking for the computer name. As being new to this I am having a tough time figuring this out. How can I check the computer name during install and populate the computer name data either in the registry or an ini file. Thanks.

Christopher Painter
03-10-2007, 08:56 PM
You put []'s around property names. Since ComputerName happens to be an MSI property, you say [ComputerName].

http://msdn2.microsoft.com/en-us/library/aa368009.aspx

mrdpmn
03-11-2007, 10:24 AM
That is one that I wish I could have figured out myself......Thanks again...