/build/static/layout/Breadcrumb_cap_w.png

Injecting computer name

I have an app that at first launch pops up a dialog box asking for the computer name. I am looking for a way using installshield 12 to have the msi dredge for the computer name and automatically populate an ini or reg entry. Thanks.

0 Comments   [ + ] Show comments

Answers (3)

Posted by: spartacus 17 years ago
Black Belt
0
No "dredging" necessary. You can just use the standard MSI property ComputerName and reference that property in the registry and/or inifile tables, as needed.


Spartacus
Posted by: jmcfadyen 17 years ago
5th Degree Black Belt
0
you can also access all environment variables using this

[%VariableName]

such as

[%computername]
[%username]

blah blah..
Posted by: turbokitty 17 years ago
6th Degree Black Belt
0
Yes, but you should use [ComputerName].. resolving the enviro variable is a little more complicated.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ