Page 2 of 2 <12
Topic Options
#65655 - 2002-05-23 07:44 AM Re: bat file to start my kix file
mschipper Offline
Fresh Scripter

Registered: 2002-05-07
Posts: 10
Loc: Adelaide
Hey dudes,

This is the one i use to detect NT/2K/XP/9x machines.. it works great, they are normal OS commands to so you dont need any third party apps.

@echo off
echo Please Wait ... Installing/Running in progress...
if not exist c:\kix402.ok %0\..\kix402update.exe /q

ver | find "NT" > nul
if not errorlevel 1 goto win_nt

ver | find "2000" > nul
if not errorlevel 1 goto win_nt

ver | find "XP" > nul
if not errorlevel 1 goto win_nt

ver | find "98" > nul
if not errorlevel 1 goto win_9x

ver | find "95" > nul
if not errorlevel 1 goto win_9x

goto unknown_os

:win_nt
call %windir%\kix32.exe logon.kix
goto end

:win_9x
%windir%\kix32.exe %0\..\logon.kix
goto end

:unknown_os
:end

Thanks,
MARK.

Top
#65656 - 2002-05-23 09:11 AM Re: bat file to start my kix file
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11624
Loc: CA
The batch file I wrote above handles all of the OS types. I found that by using errorlevels on every OS check would sometimes lead to problems.

Once in a while I would get one of the systems that would read or set the errorlevel incorrectly.

Top
#65657 - 2002-05-23 02:20 PM Re: bat file to start my kix file
kennyboy5 Offline
Fresh Scripter

Registered: 2002-05-21
Posts: 11
Ok first things first. Sorry Shawn for jumpin the gun and my foot does taste a little sour this am. Thanks for all the replies. So many options to try. I think I'm gonna do the one liner bat file and try it.
%0\..\kix32.exe %0..\logon.kix that NTDOC had mentioned and run my kix from that.

Thanks all....hmmmm toe lint in teeth...must floss now

Kennyboy
_________________________
Kennyboy Systems Administrator A+,MCP,CNA, soon CLP

Top
#65658 - 2002-05-23 03:08 PM Re: bat file to start my kix file
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Kenny, no problems mate ! I was sincerely just trying to be helpfull. In fact, i think you will find that this board, more so than many, is very tolerant and extremely friendly (a fact you already appreciate based on your comments).

Plus, you got way too many credentials after your name for me to be shutting you down! [Wink]

-Shawn

Top
#65659 - 2002-05-23 03:18 PM Re: bat file to start my kix file
kennyboy5 Offline
Fresh Scripter

Registered: 2002-05-21
Posts: 11
Man do I feel like a loser. I'm gonna go sit in the corner for awhile.

Kennyboy5
_________________________
Kennyboy Systems Administrator A+,MCP,CNA, soon CLP

Top
#65660 - 2002-05-23 06:24 PM Re: bat file to start my kix file
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
I want my own certificate!!! Baaah! [Mad] [Eek!]

Maybe KXCSP (KiXtart Certified Solutions Provider)
or CKP (Certified KiXtart Professional)

Anybody have other certification ideas?
_________________________
There are two types of vessels, submarines and targets.

Top
#65661 - 2002-05-23 06:29 PM Re: bat file to start my kix file
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Jens,
In my book you're a VSP (Very Smart Person) [Big Grin]
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#65662 - 2002-05-24 07:34 AM Re: bat file to start my kix file
MCA Offline
KiX Supporter
*****

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

We were missing the moment you were reaching the second millenium. Congratulations
to reach this new milestone.

About your note:
The cookie method is fine, provided the cookie is dropped only on success. MCA's package
will drop the cookie even if it fails to drop the binaries. KiXCheck will however, remove
the cookie if it fails to find the binaries.
I tried talking MCA into updating KiXCheck to do a CRC to verify the version and/or detect
trojans. I also thought a duplicate file checker would be nice. Guess he didn't like my
ideas 'cause he stopped answering my emails.


Les, are you using the latest package. This one is removing all previous 'cookies' before
start installing or updating kixtart binaries. Only one cookie will be there by a successful
installation.
The previous releases of our packages let 'cookies' from other kixtart installation
untouched.

Les about the KiXCheck tool. It doesn't mean: we doesn't like your input and we aren't doing
something with it, but the update of kixtart board (UBB 6.2.1) and scriptlogic functionlib page
requires a lot of changes on the summary pages on our site those days. After that we make
updates for KiXtart 4.10 beta release. Elements from your mail was incorporated in the
new scripts used by the packages. At least our main computer get damage which cost a period
of doing nothing.

Your mail is still there in the TO-DO folder.
  • your input about "c:\*.ok" (users doesn't have write access) will also be implemented.
    will high on our priority list.
    Changes to it gives us also input for document attention for KiXcheck. KiXcheck returns
    an ERRORLEVEL value which can be used instead of checking 'cookie'.
  • 'cookies' doesn't have any relation with previously iexpress packages. The only impact
    can one unnecessary update installation. Contents is only usefull for debugging reasons:
    - which files were installed or updated
    - where are those files located
    - which type of package was installed
  • the /Q switch by package usage is based on the documentation from Microsoft.
    We doesn't see also no difference.
  • your idea about CRC for KiXCheck we like and will be implemented in a newer release.
  • your idea about snapshot to make KiXCheck flexible we like also. During above re-
    design we will implement this too.
  • finding duplicates of KiXtart files with KiXCheck may this verification phase
    slowdown. Searching through all directories cost in our opinion too much time.
  • KiXCheck must stay backward compatible when we add switches to it.
The rest of your mail we will answer soon. Your mail wasn't lost.
Sorry for the delay.
greetings.
btw: first for handling the TO-DO list after such doing nothing period we are reading the new
and updated topics on kixtart forum.

(TO_DO)

[ 24 May 2002, 12:06: Message edited by: MCA ]
_________________________
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
#65663 - 2002-05-24 07:40 AM Re: bat file to start my kix file
MCA Offline
KiX Supporter
*****

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

We advise you to use the KiXCheck.exe tool too. It
is more flexible and kixtart version independent.
Your code may something like
code:
@echo off 
echo Please Wait ... Installing/Running in progress...
%0\..\kixcheck.exe
if not exist 1 %0\..\kix402update.exe /q
ver | find "NT" > nul
if not errorlevel 1 goto win_nt
ver | find "2000" > nul
if not errorlevel 1 goto win_nt
ver | find "XP" > nul
if not errorlevel 1 goto win_nt
ver | find "98" > nul
if not errorlevel 1 goto win_9x
ver | find "95" > nul
if not errorlevel 1 goto win_9x
goto unknown_os
:win_nt
call %windir%\kix32.exe logon.kix
goto end
:win_9x
%windir%\kix32.exe %0\..\logon.kix
goto end
:unknown_os
:end
@echo off

greetings.

Related topic http://81.17.37.55/board/ultimatebb.php?ubb=get_topic;f=2;t=001950
_________________________
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
#65664 - 2002-05-27 03:10 AM Re: bat file to start my kix file
mschipper Offline
Fresh Scripter

Registered: 2002-05-07
Posts: 10
Loc: Adelaide
Dear MCA,

Seems when i make those changes to my logon.bat file everytime the user logs on it reinstalls kixtart.

Do you have any ideas.

MARK.

Top
#65665 - 2002-05-27 07:17 AM Re: bat file to start my kix file
MCA Offline
KiX Supporter
*****

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

Can you put the output of file(s) c:\kix402.ok on the board. Different files for
different OS versions.
Please return also for which OS version you have this problem.
greetings.

[ 27 May 2002, 07:24: Message edited by: MCA ]
_________________________
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
#65666 - 2002-05-27 08:28 AM Re: bat file to start my kix file
mschipper Offline
Fresh Scripter

Registered: 2002-05-07
Posts: 10
Loc: Adelaide
kix402.ok ---->

[Kixtart W98]
kix32.exe 4.02=2002/05/27 10:37:26 -> 2002/01/18 00:00:00 204800 (build 071)
kx16.dll 4.02=2002/05/27 10:37:26 -> 2001/11/19 00:00:00 47104
kx32.dll 4.02=2002/05/27 10:37:26 -> 2001/11/19 00:00:00 49152
kx95.dll 4.02=2002/05/27 10:37:26 -> 2001/11/19 00:00:00 49152
Kixtart 4.02=installation completed at 2002/05/27 10:37:26 (=kix32.exe =kx16.dll =kx32.dll =kx95.dll) to "c:\windows\"
Kixtart 4.02 mode=update

This was on a WIN98 SE machine.. my test box. [Smile]

Thanks.
MARK.

Top
#65667 - 2002-05-27 09:26 AM Re: bat file to start my kix file
MCA Offline
KiX Supporter
*****

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

We see that indeed kix402update is running, but the four files aren't be replaced.
Reason:
- symbol = in (=kix32.exe =kx16.dll =kx32.dll =kx95.dll) means files are
the same.
- f.e. symbol + in (+kix32.exe =kx16.dll =kx32.dll +kx95.dll) means that
the files "kix32.exe" and "kx95.dll" has been added to or updated in the directory "c:\windows\".
code:
[Kixtart W98]
kix32.exe 4.02=2002/05/27 10:37:26 -> 2002/01/18 00:00:00 204800 (build 071)
kx16.dll 4.02=2002/05/27 10:37:26 -> 2001/11/19 00:00:00 47104
kx32.dll 4.02=2002/05/27 10:37:26 -> 2001/11/19 00:00:00 49152
kx95.dll 4.02=2002/05/27 10:37:26 -> 2001/11/19 00:00:00 49152
Kixtart 4.02=installation completed at 2002/05/27 10:37:26 (=kix32.exe =kx16.dll =kx32.dll =kx95.dll) to "c:\windows\"
Kixtart 4.02 mode=update

Can you return the output of call kixcheck.
An example is:
code:
KixCheck 1.05 (c) scripting@wanadoo.nl 2001

Found as C:\WINDOWS\KIX32.EXE (18-01-2002 00:00:00 204800 bytes)
+ C:\WINDOWS\KX16.DLL (19-11-2001 00:00:00 47104 bytes)
+ C:\WINDOWS\KX32.DLL (19-11-2001 00:00:00 49152 bytes)
+ C:\WINDOWS\KX95.DLL (19-11-2001 00:00:00 49152 bytes)

path c:\windows;c:\windows\command

KiXtart environment: complete.

When a file is missing f.e. kx95.dll the output can be
code:
KixCheck 1.05 (c) scripting@wanadoo.nl 2001

Found as C:\WINDOWS\KIX32.EXE (18-01-2002 00:00:00 204800 bytes)
+ C:\WINDOWS\KX16.DLL (19-11-2001 00:00:00 47104 bytes)
+ C:\WINDOWS\KX32.DLL (19-11-2001 00:00:00 49152 bytes)

path c:\windows;c:\windows\command

KiXtart environment: incomplete. remove "c:\kix*.ok" files.

Give following code also a try
code:
@echo off
kixcheck
if errorlevel 1 echo -incomplete installation-
if errorlevel 1 goto next
if errorlevel 0 echo -correct installation-
:next
echo completed.
@echo off

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
#65668 - 2002-07-07 02:46 AM Re: bat file to start my kix file
MCA Offline
KiX Supporter
*****

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

The tool kixcheck is now also compliant with new iexpress packages.
Related topic is:
http://81.17.37.55/board/ultimatebb.php?ubb=get_topic;f=2;t=001950
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
#65669 - 2002-07-07 02:48 AM Re: bat file to start my kix file
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
mca, seems like you have been busy writing new versions of your tools.

good to have them, thanks!
_________________________
!

download KiXnet

Top
#65670 - 2002-07-07 03:13 AM Re: bat file to start my kix file
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
It isn't the latest input for this week.
This week we will also release the kixstrip documentation.
Still no time to sleep?
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
#65671 - 2002-07-07 03:14 AM Re: bat file to start my kix file
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
It isn't the latest input for this week.
This week we will also release the kixstrip documentation.
Still no time to sleep?
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
#65672 - 2002-07-07 03:18 AM Re: bat file to start my kix file
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
my roommate came home drunk with a gal who is in same condition. music is going on...
time is not more than 04:15 so no hurry sleeping.

have some updates still to come up with.

coding, coding...

have you ever thought how much better your life or uttleast the social side of it would have been if there weren't no computers? [Big Grin]
_________________________
!

download KiXnet

Top
#65673 - 2002-07-07 03:25 AM Re: bat file to start my kix file
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Indeed the world will look very different without having computers, but the problem they are there.
Also we must not forget that a lot of people is enjoying working with computers to keep their
relations intact. Mostly relations oversea.

At the night period we get always the most nice ideas about "how will I solve this in mine program".
At night you concentration will not be gone by telephone calls or other things you doesn't like.
At night no manager is there.
At night only your wife will tell "come to bed", but she knows already better with kixtart guys.

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
Page 2 of 2 <12


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

Who's Online
0 registered and 370 anonymous users online.
Newest Members
Timothy, Jojo67, MaikSimon, kvn317, kixtarts2025
17874 Registered Users

Generated in 0.149 seconds in which 0.1 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