Jump to content
Sign in to follow this  
Guest mrloop

Netinstall - AutoIT 3 Fails with all scripts

Recommended Posts

Guest mrloop

Hello,

We deploy our application with Netinstall 5.7. But there are usualy a few applications that do not support silent install. We found AutoIT v3 and thought that this would the solution to all our problems. While at the console the scripts worked fine. Thanks for that!!!

But now, when we run the netinstall scripts, the packages are started by the netinstall service. So there is no console session at all. All our AutoIT Scrips failed. The Netinstall Package includes the autoit.exe and our AutoIT script. Do you have any ideas how to get it run with the netinstall service running the AutoIT Script???

Thanks for any idea.

Best regards

Oliver

Share this post


Link to post
Share on other sites

MrLoop,

Sounds like you might have a user logon problem. Maybe! Check your NetInstall service and find out how it is logging onto the remote machine and make sure that it has the permissions on that machine. Or you may need to use a utility from one of my favorite sites. (http://www.sysinternals.com/)

Look for a set of utils called PSTOOLS. Inside there you will find the psexec utility. This will allow you to start a console app on another machine and run a command or script. It does not open a console window on the remote machine. Keep that in mind. So, you should be able to achieve what you want.

Hopefully, I was able to help. :(


jason7237

Share this post


Link to post
Share on other sites

Hello Oliver,

we also use NetInstall to deploy our Apps.

Did you use the Execute or the RunAs command?

Problem with execute is the hidden gui, so Autoit connot interact with it.

Use the RunAs command instead, usind the NI Service Account

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...