Page 1 of 1 1
Topic Options
#14287 - 2001-11-14 05:16 PM login speed
tr6boy Offline
Starting to like KiXtart

Registered: 2001-10-24
Posts: 131
Is it advisable to copy the Kix executables to a user's hard disk the first time if they don't already exist so the kix script can execute locally rather than running the executables from the netlogon share? Or what is the best method for fastest performance?

I have a wide mix in my WAN - everything from 10/100 to 56K frame.

Thanks!

Top
#14288 - 2001-11-14 06:27 PM Re: login speed
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
copying the exe and dll's to the local HD the first time and executing from there is a method that many people use. kix32.exe and the dll's are about 300k, and executing them across a 56kwan can be slow VS executing local files.

Bryce

Top
#14289 - 2001-11-14 06:36 PM Re: login speed
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
For reasons of stability rather than speed, it is advisable that the .exe and .dll files be copied to %windir% on all Win9x/ME systems. On NT/2K/XP only the .exe files are required, and unless the user is accessing via dial-up, for version management, it would be simpler to leave them in NetLogon.

For dial-up users, CHECKRAS.EXE from the ResKit could be used from within the logon.bat to ascertain which script (if any) to run. If you modularize your script, it could be done from within KiX with @RAS.

_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#14290 - 2001-11-15 05:45 AM Re: login speed
MCA Offline
KiX Supporter
*****

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

We advise you to install your kixtart binaries on your clients.

Questions: how?

A way of installing/updating kixtart of your clients: with only one additional statement

For the installation of kixtart at your local workstation we see many version of doing it.
Most statements in your BATch file are using for this duty.
But there is also a way of doing it with a single statement, which doesn't only copy
the required files, but also compare file version information. After completion a logfile
will be created at your local workstation.

Another way of installing/updating kixtart on your clients:

For installing or updating of your clients you can download our packages kix363update.exe
or kix400update.exe from our site http:\\home.wanadoo.nl\scripting .


Possible calls in your logon procedure can be:

As first line of your logon procedure you can use one of following formats:

  • x:\kixtart\kix363update.exe /q
  • %0\..\kix363update.exe /q
  • if not exist c:\kix363.ok %0\..\kix363update.exe /q

Second line can be something like:
  • kix32 %0\..\your_script.kix

Results of your BATCH can be:

code:

@echo off
%0\..\kix363update.exe /q
kix32 %0\..\your_script.kix
@echo off


or for dial-up environments (= update package will transfer only once)
code:

@echo off
if not exist c:\kix363.ok %0\..\kix363update.exe /q
kix32 %0\..\your_script.kix
@echo off

After using above programs there will be created a control
file c:\kix363.ok or c:\kix400.ok. So it isn't necessary to
run the installation process again, but we advise to update
(or better: verify) kixtart files always. Reason: a security
leak for running kixtart from clients.

remarks: performance

  • only 150 KBytes will be transfered to your workstation. the package has been compressed.
  • always the correct set of kixtart files will be used. during the execution of scripts
    the user can already starts working.
  • during installation or updating kixtart you will not get share violation error or busy file
    error. the install.kix scripts runs with his own kixtart version.
  • for RAS users we create additional authorizations which will run minimum set of script code.
    for them the logon procedure containts as statement:
    if not exist c:\kix363.ok %0\..\kix363update.exe /q

Greetings.

btw: related kixtart topic http://kixtart.org/board/Forum2/HTML/000583.html

_________________________
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
#14291 - 2001-11-15 05:46 AM Re: login speed
MCA Offline
KiX Supporter
*****

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

Your script can looks like:

code:

IF @ras = 1
CALL "%0\..\modem_script.kix"
ELSE
CALL "%0\..\network_script.kix"
ENDIF


Another way in reducing your script by removing unused spaces and comment
statements. It can be done with our programs kix363strip.exe or
kix400strip.exe.
See topic for more information
http://kixtart.org/cgi-bin/ultimatebb.cgi?ubb=get_topic&f=2&t=001943
greetings.


btw: symbol on our homepage has been linked to related http://kixtart.org topic.

_________________________
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
#14292 - 2001-11-15 05:27 PM Re: login speed
tr6boy Offline
Starting to like KiXtart

Registered: 2001-10-24
Posts: 131
great suggestions - thanks!
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 1607 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

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