Jump to content
Sign in to follow this  
PeteSomnium

Installscript

Recommended Posts

Hi, I'm trying to make a simple installerscript, so the users in our company don't have to go through all the screens.

The script is as follows;

Run("setup.exe", /qb ADDLOCAL=ALL SECURITYMODE=SQL SAPWD="<insertstrongpasswordhere>" )

normally, I would make a .bat file which does all the work for me, but the users aren't allowed to run .bat files, and I don't feel like visiting all 130 of them ^_^

The script above, gives an error, and I'm a complete AutoIT/coding n00b (hoping to improve that, but just not yet :))

Can anyone help me? It comes down to the point that I need an .exe file that is made with autoit, that runs the program --> setup.exe /qb ADDLOCAL=ALL SECURITYMODE=SQL SAPWD="<insertstrongpasswordhere>"

Share this post


Link to post
Share on other sites

Second argument is working dir, so remove the ",". Does this work?

Run('setup.exe /qb ADDLOCAL=ALL SECURITYMODE=SQL SAPWD="<insertstrongpasswordhere>"')

Share this post


Link to post
Share on other sites

Second argument is working dir, so remove the ",". Does this work?

Run('setup.exe /qb ADDLOCAL=ALL SECURITYMODE=SQL SAPWD="<insertstrongpasswordhere>"')

yep, works like a charm, thanks a lot!

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  

×
×
  • Create New...