Sign in to follow this  
Followers 0
Igor Barinov

Auto-it script in group policy deployment

4 posts in this topic

Hello!

I have an autoit script, let it be only one command:

RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Test", "Test", "REG_SZ", "1")

i pack it into executable and place in msi script.

Then i start it by executinig .msi everything goes ok, but then i place it in active directory deployment -package executes and get installed , but packed script in it doesnt (i chek the registry).

Do the Auto-It compiled script need to have an logged user to execute or something..??

Thank You!

Share this post


Link to post
Share on other sites



nope, I run autoit scripts all the time on machines that have no-one logged on as long as the script doesn't have to inter-act with and windows, i.e. install application that can't be done silent then the script if written correctly will wait till a user logs in and continues on.

We do silent installs and registry updates regardless of user(s) logged on or not.

Gary


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

Thanks Gary, thinks i need to dig a msi package then.

Share this post


Link to post
Share on other sites

Well found why. Scripts didnt start then u put it in UI sequence in msi, just put it somewhere in exec sequence and everything works fine.

Share this post


Link to post
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
Sign in to follow this  
Followers 0