have a question, the "step 1", etc. areas aren't making much sense to me. Sorry i'm a bit of a n00b still. I get all the rest, just not sure what to put in where it says:
; *** put your stuff here for step1 ***
RunWait("notepad.exe step1.txt")
My script is basically to log the user off, login as an admin, install the software:
$INSTALL_STRING = "msiexec.exe /i c:\temp\sqltools\sqlrun_tools.msi /qb"
Then logoff when it's complete. Would I change the 'step 1' line to:
RunWait($INSTALL_STRING)
And then just disregard the other steps since I only need one?
The way I read the lines is that you're opening Notepad and calling it "step1.txt".
Sorry if this is elementary, I'm still learning.