Page 1 of 1 1
Topic Options
#167101 - 2006-09-08 05:49 PM Install program?
cwhitmore Offline
Starting to like KiXtart

Registered: 2001-05-23
Posts: 102
Loc: Austin, Texas, USA
I need to install a program (.exe file). If it was an .msi I could use AD for that. Is there a way to easily install a small app with a script?
Top
#167102 - 2006-09-08 06:08 PM Re: Install program?
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
it totally depends on the app.
if the exe is simple extractor registry writer, simply shelling will do:
shell "c:\theInstaller.exe"

Top
#167103 - 2006-09-08 06:26 PM Re: Install program?
cwhitmore Offline
Starting to like KiXtart

Registered: 2001-05-23
Posts: 102
Loc: Austin, Texas, USA
Guess I should have explained that I want to install this program without the user having to choose any options or having the ability to cancel out of it.
I found a freeware program called Advanced Installer in the HOW-TO section that allows me to build an msi, but I'm not sure how to make this a silent install?

Top
#167104 - 2006-09-08 06:38 PM Re: Install program?
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
how about calling the exe with /s or /q switch?
Top
#167105 - 2006-09-08 07:07 PM Re: Install program?
Gargoyle Offline
MM club member
*****

Registered: 2004-03-09
Posts: 1597
Loc: Valley of the Sun (Arizona, US...
What are you trying to install and we can provide much more help
Top
#167106 - 2006-09-08 07:15 PM Re: Install program?
cwhitmore Offline
Starting to like KiXtart

Registered: 2001-05-23
Posts: 102
Loc: Austin, Texas, USA
I am trying to install Formatta Filler which is an equivalent to PDF reader. You can find it at http://www.formatta.com
Top
#167107 - 2006-09-08 07:29 PM Re: Install program?
cwhitmore Offline
Starting to like KiXtart

Registered: 2001-05-23
Posts: 102
Loc: Austin, Texas, USA
I can get the following code to install the .exe, but it asks the user to agree to the install and asks to hit NEXT for the default install directory.
How can I get it to bypass those questions?

Code:

If Exist('C:\Program Files\Formatta 7.0\filler.exe')
Return
Else
'Formatta Filler is being installed. Please wait..'
Sleep 3

Run("\\Oak2003\Publicdr\AI Download\Filler\fillerSetup.exe")
Return
EndIf


Top
#167108 - 2006-09-08 07:34 PM Re: Install program?
Witto Offline
MM club member
*****

Registered: 2004-09-29
Posts: 1828
Loc: Belgium
It is possible to extract an MSI from the Adobe Reader Package, make an MST for the package and distribute it in your AD via GPO.
Look on www.appdeploy.com, there is a movie which explains

Top
#167109 - 2006-09-08 07:38 PM Re: Install program?
cwhitmore Offline
Starting to like KiXtart

Registered: 2001-05-23
Posts: 102
Loc: Austin, Texas, USA
Yea, I really want to keep it in the script, but I may have to do that instead.
I've had problems with GPO not working consistently over the WAN. (sometimes it installs and sometimes it doesn't)

Top
#167110 - 2006-09-08 07:55 PM Re: Install program?
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
witto, adobe reader sucks

cwHitMore, dude, you must know that you need to do something yourself too.
as starters, you need to check out does the installer support silent-installation switches.
secondly, if the setup only has so many files, you may consider doing a simple copy of the files instead of installing them.

but I can tell you this, there is no silent installation mechanism that suites all installers and none is built in to kixtart. it just needs to be figured out.

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 879 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.058 seconds in which 0.023 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org