Hannes16
(Lurker)
2007-01-16 11:57 AM
Problems installing KiXtart

Hi everyone,
I'm new in the whole scripting scene and i tried too install kixtart but the kix32.exe file just doesn't do anyting at all...
Can any1 help me out a bit?

Thx


Witto
(MM club member)
2007-01-16 12:17 PM
Re: Problems installing KiXtart

Well...
Copy this to a file
Code:
If NOT @LOGONMODE
	Break On
Else
	Break Off
EndIf
Dim $RC
$RC=SetOption("Explicit", "On")
$RC=SetOption("NoMacrosInStrings", "On")
$RC=SetOption("NoVarsInStrings", "On")
$RC=SetOption("WrapAtEOL", "On")

$RC = MessageBox("Hello World","My First Script")
? "Hello World"
? "KiX version: " + @KiX

and name it something like MyScript.kix
Put kix32.exe in the same directory
Run the following command in the directory
Code:
kix32 MyScript.kix


Hannes16
(Lurker)
2007-01-16 12:23 PM
Re: Problems installing KiXtart

That isn't possible because i haven't installed kix 32 yet... thats the problem.. The manual sais you should execute the exe to install but when I run it it just doesn't do anything...

Mart
(KiX Supporter)
2007-01-16 12:35 PM
Re: Problems installing KiXtart

You can’t and do not have to install kixtart. Just copy the kix32.exe or wkix32.exe and run your script like shown below. You can write scripts in notepad, editplus, ASE, Kixtarter (do a search on kixtarter) or whatever editor you want. The advantage of kix aware editors is the syntax highlighting.

Code:
kix32 yourscript.kix

or

wkix32 yourscript.kix


Witto
(MM club member)
2007-01-16 12:53 PM
Re: Problems installing KiXtart

You do not really have to "install" kix. Just copy it where you need it.
If you want to use kix for logon scripts, IIWY, I would just copy kix32.exe and/or wkix32.exe to the \\domain\netlogon share.
If you still have Win9x computers (or older?) in your domain (which I hope you have not anymore), you should also copy the needed DLL files to the netlogon share and install kxrpc.exe on your domain controllers.


Hannes16
(Lurker)
2007-01-16 01:17 PM
Re: Problems installing KiXtart

Thx all of you, info really helped me!

Greats Hannes


Verne
(Fresh Scripter)
2007-01-17 12:28 AM
Re: Problems installing KiXtart

Not wishing to hijack this thread but it is related. I am trying to upgrade to the latest version of Kix but I am having problems replacing kix32.exe. The file is in a folder within the netlogon share of our DCs. When I try to overwrite it with the latest version I get an error that the file is in use. I have waited until late in the day when no one will be logging in but the file is still locked. I am going to try bouncing the server to see if that helps. Anyone got any other ideas?

Les
(KiX Master)
2007-01-17 12:45 AM
Re: Problems installing KiXtart

Bouncing the server is one way. Look to see who has a lock on the file and clear the connection. Sometimes you can rename an in-use file even if you cannot delete it. You can then delete the renamed file at a later time.

Verne
(Fresh Scripter)
2007-01-17 01:21 AM
Re: Problems installing KiXtart

Thanks Les. You were right, someone did have the file locked. Clearing the connection did the trick. Thanks again.

Witto
(MM club member)
2007-01-17 07:12 AM
Re: Problems installing KiXtart

kix32.exe in use maybe shows that certain logon scripts "hang" or loop? Maybe check the scripts used for the user that locked the file.