Jump to content
Sign in to follow this  

Using Autoit to call a .MSP is just not working

Recommended Posts

Hello all, I seem to have hit a roadblock and cant seem to get around it.

i started using Auto it to well.... automate the long tedious parts of my two man Army Helpdesk.

here is what im trying to do.

what i want to do with with script is automate the entire install and update process of installing adobe acrobat and its pletera of updates. setting the script for installed adobe acrobat was mostly simple. im stuck at getting it to run the updates which are a .MSP

idealy i would like to make my script produce a msgbox that asks me or the installer if we want to continue on and install updates/ if yes is selected it will either continue on with the script, or Call a different script entirely. not sure if thats possible.

i have tried putting the script in the same directory as the msp, ive tried creating a .bat file with the sole purpose of silently running the .bat. ive only been able to get it to work once with this method.

ive tried: (pound)RequireAdmin

Run(@ScriptDir & 'AcroProStdUpd910_T1T2_incr.msp')

Run(@ScriptDir & 'call1.bat') -> this method worked once. never again.

If i just execute the .bat it launches the .msp fine. i try to run the bat from auto it it runs the .bat but then gets stuck and leaves the command windows up.

Share this post

Link to post
Share on other sites

It needs to be Run(@ScriptDir & '\AcroProdStdUpd910_T1T2_incr.msp'). You're missing a \

Edit: same mistake with running the bat file, should be @‌ScriptDir & "\call1.bat"

Edited by JLogan3o13

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

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