Jump to content

Add Users Manually When Cmdlines.txt Is Called?


Recommended Posts

Hi,

I wanted to make an automated script to create Users automattically at unattended install using a responce file on the D:\ drive of the machine it's installing on.

That works like a charm, but i also wanted to have the option to create users manually if the responce file isn't found. The script is attached (KiXtart)

I just don't seem to be able to let the install wait until the script is finished (the user inserted the user info)

What am i doing wrong?

cmdlines.txt:

[COMMANDS]
"install.cmd"
"useraccounts.cmd"

useraccounts.cmd:

start /wait %systemdrive%\Install\kix32.exe addusers.kix

addusers.kix.txt

Link to comment
Share on other sites


i dont know what kix files are.. but u could do this easily with if exist via batch file, or u can do

if statements in autoit

That could be so, but it's not the script that's not working. It works fine if i start it up now. But at that stage of installation i cannot get a prompt that waits for user input!

So it's not the question how to manually input users when i get a prompt, the question is HOW do i get a prompt that waits for user input at that stage of setup.

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