Jump to content

%computername% variable?


Recommended Posts

Posted

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


Posted

Hey that works perfect! Thanks for the quick reply. This is now my favorite post-installer. Are there other useful variables? Is there a list somewhere?

-jimanny

Posted

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

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...