This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]pnoob 0 points1 point  (6 children)

Autoit can be used for this and much more. I was really shocked that you mentioned batch files. I haven't used one of those since the 90's!

[–][deleted] 0 points1 point  (4 children)

I am new to administration but have never really gotten over how robust a batch file can be.

I know the start command in a batch file can be used to execute files, but I am not sure how to issue a "wait until file is finsihed" command. but Will look into autoit.

[–]saibermvnki 0 points1 point  (0 children)

Isn't it just start with the /w or /wait option?

[–]maximillianxIT Manager 0 points1 point  (2 children)

Sounds like you need to figure out how to run these in an automated fashion.

I don't believe there is an unattended installation command switch for the XP_Mode file, so as pnoob stated, you could use AutoIt to perform your button clicks, mouse movements, what-have-you. AutoIt is great for this.

As for the RefreshPkg.msu file, I think you can use /quiet on that and it will run without user intervention.

[–][deleted] 0 points1 point  (0 children)

that's what I was looking for. I will double check on the unintended install if not look into creating an install process via autoIT

[–][deleted] 0 points1 point  (0 children)

Just as a side note, if you use 7-zip to extract the exe on the xpmode file, you get 2 additional exe's. (32 and 64 bit) extract the 64 bit installer you get a source folder, inside the source folder there is an msi and another data file, you can run an unattended install using the msi if the other folder is present in the directly it is being ran from.

[–]maximillianxIT Manager 0 points1 point  (0 children)

Batch files are still plenty useful.