Jump to content
Sign in to follow this  
maclovin

script question

Recommended Posts

maclovin

Nice scripting tool!

What I wonder is this:

Posted Image

bigger picture

How can I turn off ask toolbar and so on? Considering multiple computers, multiple screen resolutions and so on.

Pleased for any help!

Maclovin

Edited by maclovin

Share this post


Link to post
Share on other sites
Country73

I just finished up an install that had the Ask.com install.

Since it was a streamline install, there weren't any switches to omit the Ask.com installation.

What I did was simply run:

RunWait('msiexec /X{86D4B82A-ABED-442A-BE86-96357B70F4FE} /qb!',@SystemDir,@SW_HIDE)

I had that at the very end of my installation.

**If you don't want a User Interface to show at all, for this uninstall, then use the switch /qn


If you try to fail and succeed which have you done?AutoIt Forum Search

Share this post


Link to post
Share on other sites
maclovin

I have to admit that I don't understand what the RunWait (msiexec bla bla bla bla) mean.

What does it do ?

Share this post


Link to post
Share on other sites
sleepydvdr

Run starts the application you want and then goes to you next command.

Runwait starts the application you want but does not go to your next command until the application you started has terminated.

Msi installers are not run directly. You must use msiexec to call msiexec.exe in your Windows system folder. The msiexec.exe installs the .msi file.

Edited by sleepydvdr

#include <ByteMe.au3>

Share this post


Link to post
Share on other sites
Country73

Run starts the application you want and then goes to you next command.

Runwait starts the application you want but does not go to your next command until the application you started has terminated.

Msi installers are not run directly. You must use msiexec to call msiexec.exe in your Windows system folder. The msiexec.exe installs the .msi file.

Took the words right out of my mouth...


If you try to fail and succeed which have you done?AutoIt Forum Search

Share this post


Link to post
Share on other sites
sleepydvdr

Just to note, that program's website has different installers (and even a portable version). The .exe installer has the Ask toolbar, but the .msi installer did not have it.


#include <ByteMe.au3>

Share this post


Link to post
Share on other sites
maclovin

The file i am trying to install is a .exe-file.

Big difference?

Thanks for the advice on the msiexec though. Useful info in the future.

Share this post


Link to post
Share on other sites
Country73

All really depends on how the EXE was put together. Some may take command line switches, some won't at all.

Generally I'll go out to http://www.appdeploy.com/ whenever I start working on packaging up an application.

You'll find a lot of useful info on automating installations.

Command lines used, etc...


If you try to fail and succeed which have you done?AutoIt Forum Search

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  

×