Help - Search - Members - Calendar
Full Version: silent avant browser?
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   


Google Internet Forums Unattended CD/DVD Guide
Tecia
Who know it?
thx
webwilli
i use

absetup.exe /S

it will bring an error, but it works...
diesel_98a
it worked for me but w/ out the error.
Bachus
What version were you installing when you didn't get the error? smile.gif
Tecia
w/ doesn't work... i have last version 8.02 build 112
Bachus
I just emailed the author and asked him if anything could be done. We'll see what he says (if anything).
KonuS
CODE
Set WshShell = WScript.CreateObject("WScript.Shell")

'uruchomienie instalacji
WshShell.Run app & "absetup.exe"
WScript.Sleep 2500
WshShell.SendKeys "N"
WScript.Sleep 500
WshShell.SendKeys "%A"
WScript.Sleep 500
WshShell.SendKeys "N"
WScript.Sleep 500
'odznaczanie menu w starcie
WshShell.SendKeys "{TAB}"
WshShell.SendKeys "{TAB}"
WshShell.SendKeys "{ }"
WshShell.SendKeys "N"
WScript.Sleep 500
'odznaczenie skrotow
WshShell.SendKeys "{TAB}"
WshShell.SendKeys "{TAB}"
WshShell.SendKeys "{ }"
WshShell.SendKeys "I"
'start kopiowania
WScript.Sleep 5000
WshShell.SendKeys "{TAB}"
WshShell.SendKeys "{ }"
WshShell.SendKeys "F"
WScript.Sleep 500

WScript.Quit

I use this vbs script.
Tecia
How works vb script? i create a new file .vbs? and in the batch file what command i have to use for run vbs script?
Bachus
Call the vbs by type the path to the file followed by the filename

eg: %systemdrive%\install\apps\avant\avant.vbs
Tecia
i have an error...
i put avant.vbs in:
c:\install\Applications\AvantBrowser\
in avant.vbs directory there's absetup.exe

my cmd:
CLS
@echo off
ECHO.
ECHO Installing Avant Browser 8.02 build 112
ECHO Please wait...
start /wait %systemdrive%\install\Applications\AvantBrowser\avant.vbs
ECHO.
EXIT

if i run cmd i have the error
if i run avant.vbs i have no error
why?
Tecia
up smile.gif
Tecia
QUOTE (Bachus @ Nov 11 2003, 02:23 AM)
I just emailed the author and asked him if anything could be done.  We'll see what he says (if anything).

Is he says something?
Bachus
Not yet. The page said he's very busy and it might be awhile before he gets around to responding.
Tecia
up smile.gif
Aaron
up?
squallgreg
I posted a message on their forum and they said AB installer doesnt support any silent install.

And I dont understand that vbs script ? what does it suppose to do ? wacko.gif
No1Spec
Hello all. Avant is one of my favorite broswers also. I was a little dissappointed not to find a switch for a silent install. But as KonuS posted, using the vbs script is kinda nice. I had to alter it a little to fit my ver. but it work at least for me when I was testing it on my box. I tried it once on my very first install but I had an typing error. newwink.gif . Anyways heres the one I edited from his to get mine to work.

---------------------------------Begin Code--------------------------------------------
Set WshShell = WScript.CreateObject("WScript.Shell")

'To Simulate Keystrokes
WshShell.Run app & "avant.exe"
WScript.Sleep 2500
WshShell.SendKeys "{ENTER}"
WScript.Sleep 500
WshShell.SendKeys "{ENTER}"
WScript.Sleep 500
WshShell.SendKeys "{ENTER}"
WScript.Sleep 500
WshShell.SendKeys "{TAB}"
WshShell.SendKeys "{TAB}"
WScript.Sleep 500
WshShell.SendKeys " "
WScript.Sleep 2000
WshShell.SendKeys "{TAB}"
WshShell.SendKeys "{TAB}"
WshShell.SendKeys "{TAB}"
WshShell.SendKeys "{TAB}"
WScript.Sleep 2500
WshShell.SendKeys "{ENTER}"
WScript.Sleep 2500
WshShell.SendKeys "{ENTER}"
WshShell.SendKeys "{TAB}"
WshShell.SendKeys " "
WScript.Sleep 2500
WshShell.SendKeys "{TAB}"
WshShell.SendKeys "{TAB}"
WshShell.SendKeys "{ENTER}"

WScript.Quit
---------------------------------End Code--------------------------------------------
Just copy and paste that in notepad and save it as "Avant.vbs".

BTW, I love this site. All the guides are right on the money. I got my CD ready in a matter hours really. And it ran ran almost flawlessy Runoncex and all.(If it wasnt for my bad typing, I think it wouldve been).
tcsdoc
I modified No1spec's avant.vbs file to work with Avant 9.01.113. I guess they changed the prompts a bit. Since I use a launch bar (Winbar) I don't place any shortcuts on the desktop or quicklaunch bar. In addition, I don't add a Start Menu entry either. Here is the documented code. Modify it down to fit your needs. The delay's are a little long but should work on most systems.

Thanks to No1spec for his great help in making Avant work for me in my unattended install.

Here is the code:
_______________Begin Code________________________________


Set WshShell = WScript.CreateObject("WScript.Shell")

'To Simulate Keystrokes
WshShell.Run app & "avant.exe"
WScript.Sleep 2500

'Agree to license agreement
WshShell.SendKeys "{ENTER}"
WScript.Sleep 1000

'Accept default destination folder
WshShell.SendKeys "{ENTER}"
WScript.Sleep 1000

'Deselect creating Start Menu folder
WshShell.SendKeys "{TAB}"
WScript.Sleep 500
WshShell.SendKeys "{TAB}"
WScript.Sleep 500
WshShell.SendKeys " "
WScript.Sleep 500
WshShell.SendKeys "{TAB}"
WScript.Sleep 500
WshShell.SendKeys "{TAB}"
WScript.Sleep 500
WshShell.SendKeys "{ENTER}"
WScript.Sleep 500

'Deselect desktop-quick-start shortcuts
WshShell.SendKeys " "
WScript.Sleep 500
WshShell.SendKeys "{TAB}"
WScript.Sleep 500
WshShell.SendKeys " "
WScript.Sleep 500
WshShell.SendKeys "{TAB}"
WScript.Sleep 500
WshShell.SendKeys "{TAB}"
WScript.Sleep 500
WshShell.SendKeys "{TAB}"
WScript.Sleep 500
WshShell.SendKeys "{ENTER}"
WScript.Sleep 3000

'Installing Program...Prompt to install Roboform (not selected)
WshShell.SendKeys "{ENTER}"
WScript.Sleep 1000

WshShell.SendKeys " "
WScript.Sleep 1000
WshShell.SendKeys "{TAB}"
WScript.Sleep 1000
WshShell.SendKeys "{TAB}"
WScript.Sleep 1000
WshShell.SendKeys "{ENTER}"
WScript.Sleep 1000

WScript.Quit

________________End Code_________________________
MCT
thanks for the vbs script, i have 1 question tho, anyway 2 hide the installation progress?
johann83
I just installed the latest Avant Browser (9.02 build 26) using the following command line:
CODE
absetup.exe /S

Note that the /S must be capitalized, and even though this uses the Nullsoft NSIS installer, none of the other switches I tried have worked (e.g. /D=directory). Using the /S, it shows no window or progress of any kind, and it installed successfully with no user interaction.

Of course it installs with all the default options selected (i.e. installs in %ProgramFiles%\Avant Browser, creates desktop and QuickLaunch icons etc), but since the installer itself doesn't give you too many other options, I didn't have a problem with this. I can always delete icons manually in a script etc.

Regards,
Matt
Strat79
/S works fine for me too.
Strat79
Wow, I have 2 stars by my name now. Finally a "member". I'm so happy. biggrin.gif thumbup.gif
Winxptwker
Or you can use the $OEM$ means of installing Avant Browser. All you have to do is install Avant Browser as normal and get it to create a shortcut on your desktop.

Now go to the c:/Program Files and then copy the folder Avant Browser to $Progs under $OEM$. When unattended installing XP, this will also install Avant Browser. As well. No registry is needed for Avant Browser.

Place the shortcut in the $DOCS\All Users\Start Menu\Programs\ so it will be in the Start Menu after installing XP.

Yes, this works. Avant Browser will generate a new profile for the current user in C:\Documents and Settings\name\Application Data\Avant Browser and set it up for the user.

Pros: No setup required, thus no adding to batch file required, thus saving you time.

Cons: Requires you to perform the above steps for each new version of Avant Browser.
nolookingca
Another sort-of con: manual uninstall necessary (although it can be done with script)
prathapml
For avant browser, and many other IE-shells (browsers), the best and quickest way to install unattended would be the one Winxptwker describes above.
tcsdoc
I downloaded the latest version of Avant today and included it with my unattended install. I used the /s and had no problems.

I would like to get the settings for the registry to remove the donation screen and possibly set some default settings like the web email I use and to turn off the system tray (among others).

Anyone figured this out yet?
Unwonted
Go to your %userprofile%\Application Data\Avant Browser folder on your computer. Just copy that and add a batch (or winrar installer) file after the silent Avant install to copy that entire folder over the original. I use "%currentuser%\Application Data\Avant Browser" for the path in the batch.
jbright
I FIGURED THIS OUT! There is no need for vbs scripts!

You all who can't get the silent install to work need to use /S rather than /s <-- THE SWITCH IS CASE SENSITIVE.

Just use /S and all is smooth! thumbup.gif




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.