Page 1 of 1 1
Topic Options
#23482 - 2002-06-19 10:35 AM Displaying a dot when installing
Raceeend Offline
Starting to like KiXtart

Registered: 2002-05-09
Posts: 129
Loc: The Netherlands
Hi,

How do i display a dot when installing something via the login script? So that the user do think it is stopped.

Regards,
Martijn
_________________________
regards, Martijn

Top
#23483 - 2002-06-19 10:46 AM Re: Displaying a dot when installing
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Martijn,

a single dot ?

"."

or even :

at(x,y)"."

Or do I miss something ?

[Big Grin]

Jochen
_________________________



Top
#23484 - 2002-06-19 10:50 AM Re: Displaying a dot when installing
Raceeend Offline
Starting to like KiXtart

Registered: 2002-05-09
Posts: 129
Loc: The Netherlands
No not a single dot i could have made that one myself [Smile]

But just like when you start a service, a continuos dot which stops when ready installing.
_________________________
regards, Martijn

Top
#23485 - 2002-06-19 11:10 AM Re: Displaying a dot when installing
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Well,

how about a spinner ?

this one uses xnet as service checker (run it with V 4.10)

code:
break on

$ = setoption("HideCursor","on")

at(5,10) "Starting Spooler ..."

run '%ComSpec% /c net start Spooler >nul'

shell '%ComSpec% /c xnet list Spooler |find /C "Running" >nul'
while @error
$c = $c + 1
select
case $c = 1 at(5,31)'\'
case $c = 2 at(5,31)'|'
case $c = 3 at(5,31)'/'
case 1 at(5,31)'-' $c = 0
endselect
sleep 0.050
shell '%ComSpec% /c xnet list spooler |find /C "Running" >nul'
loop

at(5,31)"done"


get $

(Maybe replace spooler service with one that takes more time to start [Roll Eyes] )
_________________________



Top
#23486 - 2002-06-19 11:11 AM Re: Displaying a dot when installing
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear,

Take a look at the topic
http://81.17.37.55/board/ultimatebb.php?ubb=get_topic;f=12;t=000079
http://81.17.37.55/board/ultimatebb.php?ubb=get_topic;f=12;t=000170
http://81.17.37.55/board/ultimatebb.php?ubb=get_topic;f=12;t=000173
It shows different kind of progress bars.
greetings.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
#23487 - 2002-06-19 11:16 AM Re: Displaying a dot when installing
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Yeah , progress bars !

To get the complete story you might want to have a look at the mother of all progress bar discussions here [Big Grin]

[ 19 June 2002, 13:10: Message edited by: jpols ]
_________________________



Top
#23488 - 2002-06-19 03:09 PM Re: Displaying a dot when installing
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Progress bar would be great. However, it seems to me that this is still "eye candy." Meaning, that the progress is not "real-time" or, am I missing the point?

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#23489 - 2002-06-19 03:33 PM Re: Displaying a dot when installing
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Here's one approach I use.

code:
? "We have now to install IBM CA but first cleanup from prior installs"
SHELL 'deltree /Y "%TEMP%\_ISTMP*.DIR"'
CLS
? "Launching the main install"
run '"\\ffsms\Seed\IBM Client Access\Express\Setup.exe" -S'

;? "Waiting for the core install to start"
sleep 3

? "Waiting for the core install to finish" ?
$Index = 0
while exist("%temp%\_ISTMP1.DIR")
"."
sleep 10
$Index = $Index + 1
if $index > 20
$RC = MessageBox("NOTICE!" + Chr(13) + "Installation did not complete within a reasonable time!"
+ Chr(13) + "Please notify the FF HelpDesk at ext. 1864","IBM Client Access Express",48,60)
goto finish
endif
Loop



[ 19 June 2002, 15:33: Message edited by: LLigetfa ]
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#23490 - 2002-06-19 03:43 PM Re: Displaying a dot when installing
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
les, why you clean up the prior installs?

I use CA upgrade and it works just great.
_________________________
!

download KiXnet

Top
#23491 - 2002-06-19 03:59 PM Re: Displaying a dot when installing
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Jooel,
In the above example, I use RUN to start the install and then check for the existence or "%temp%\_ISTMP1.DIR". If I didn't clean up from prior installs, and a folder called "_ISTMP1.DIR" already existed, the folder used by this install would not be called "_ISTMP1.DIR". I would then be waiting on a folder that is not destined to go away.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#23492 - 2002-06-19 08:03 PM Re: Displaying a dot when installing
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Les,

That is an interesting approach..

Maybe another way to look at this.. Look for the SETUP.EXE or INSTALL.EXE in memory.

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

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
1 registered (Allen) and 466 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.061 seconds in which 0.024 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