#65655 - 2002-05-23 07:44 AM
Re: bat file to start my kix file
|
mschipper
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
|
|
|
|
#65657 - 2002-05-23 02:20 PM
Re: bat file to start my kix file
|
kennyboy5
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
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!
-Shawn
|
Top
|
|
|
|
#65659 - 2002-05-23 03:18 PM
Re: bat file to start my kix file
|
kennyboy5
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
|
|
|
|
#65662 - 2002-05-24 07:34 AM
Re: bat file to start my kix file
|
MCA
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 ]
|
Top
|
|
|
|
#65663 - 2002-05-24 07:40 AM
Re: bat file to start my kix file
|
MCA
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
|
Top
|
|
|
|
#65664 - 2002-05-27 03:10 AM
Re: bat file to start my kix file
|
mschipper
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
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 ]
|
Top
|
|
|
|
#65666 - 2002-05-27 08:28 AM
Re: bat file to start my kix file
|
mschipper
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.
Thanks. MARK.
|
Top
|
|
|
|
#65667 - 2002-05-27 09:26 AM
Re: bat file to start my kix file
|
MCA
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.
|
Top
|
|
|
|
#65670 - 2002-07-07 03:13 AM
Re: bat file to start my kix file
|
MCA
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.
|
Top
|
|
|
|
#65671 - 2002-07-07 03:14 AM
Re: bat file to start my kix file
|
MCA
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.
|
Top
|
|
|
|
#65673 - 2002-07-07 03:25 AM
Re: bat file to start my kix file
|
MCA
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.
|
Top
|
|
|
|
Moderator: Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 761 anonymous users online.
|
|
|