Jump to content

AutoIt problem with Run (..)


Srowi

Recommended Posts

hi,

i'm trying to automate the installation of some prog with AutoIt.

But i always get some error (i guess with the syntax):

Run ("progA.msi")

works fine, but while the follwing works fine on command line, it breaks the script:

Run ("progA.msi TRANSFORMS=progA.mst /qr")

doesn't work. Already tried quoting the mst, but didn't work. (all files in the same directory)

I already search for examples, but couldn't find anyting...

thx!

Link to comment
Share on other sites


You're welcome :)

It will work without the msiexec (generally) if you have no parameters, but it is always better to use the msiexec - maybe some system will not have the correct (or corrupted) file-associations (I know people that disable all assocs except for the critical ones) and so your installer would fail.

SP

Link to comment
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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...