Jump to content

%computername% variable?


jimanny

Recommended Posts

I'm trying out WIHU for my unattended install and I really like it.

One question: Say I change the computer name in the GUI. Is there a variable for the computer name that I can send to an application during install?

Thanks

Link to comment
Share on other sites


There are many additional environment variables.

Following variables which are valid within [users] section:
ThisUser, ThisProfile, ThisHome

General variables (see wihu.exe /?)
INIDIR: ini file directory
WIHU: WIHU application directory
CURDIR: current directory
SRCDRIVE: drive of windows installation source
SRCPATH: path of windows installation source

NEWUSERNAME: Name of the newly created account
NEWCOMPUTERNAME: new computername
NEWUSERPASSWORD: new password

Shellfolder variables see example install.ini

Following variables are only valid if /SkipSettings isn't specified:

NewWorkGroupName: new workgroupname
NewOwnerName, NewOrgName

Benjamin Kalytta

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...