Help - Search - Members - Calendar
Full Version: Kixtart Plugin
The CD Forum > The CD Forum > Windows PE
ejmyers
Here's how to get Kix working in WinPE:

(See KiXtart Scripting Home Page for details)

kix32.inf
CODE
; PE Builder v3 plug-in INF file
; Created by Bart Lagerweij
; http://www.nu2.nu/pebuilder/
;
; Kix32.inf
; Kixtart scripting language
; Get all Files from: http://www.kixtart.org/downloads/
; Inf by ejmyers


[Version]
Signature= "$Windows NT$"

[PEBuilder]
name="Kixtart - Kix32 Scripting"
Enable=1
Help="kix32.htm"

[WinntDirectories]


[SourceDisksFiles]
kix32.exe=2,,1
wkix32.exe=2,,1
testkix.kix=2,,1

[Append]
nu2menu.xml, kix32menu.xml

[Software.AddReg]
0x1, "Classes\.KIX","","KIXFile"
0x1, "Classes\KIXFile","","Kix Script File"
0x1, "Classes\KIXFile\Shell\Open","","&Open"
0x2, "Classes\KIXFile\Shell\Open\Command","","%SystemRoot%\System32\WKix32.exe ""%1"" %*"
0x1, "Classes\KIXFile\Shell\Open2","","Open &with Command Prompt"
0x2, "Classes\KIXFile\Shell\Open2\Command","","%SystemRoot%\System32\kix32.exe ""%1"" %*"
0x1, "Classes\KIXFile\Shell\Edit","","&Edit"
0x2, "Classes\KIXFile\Shell\Edit\Command","","%SystemRoot%\System32\Notepad.exe %1"


Kix32menu.xml
CODE
<!-- Nu2Menu entry for Windows Scripting Host -->
<NU2MENU>
    <MENU ID="Programs">      
 <MITEM TYPE="POPUP" MENUID="Scripting">Scripting</MITEM>
    </MENU>

    <MENU ID="Scripting">
 <MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetWinDir()\system32\wkix32.exe @GetWinDir()\system32\Testkix.kix">KiXtart Test (WKIX32)</MITEM>
 <MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetWinDir()\system32\kix32.exe @GetWinDir()\system32\Testkix.kix">KiXtart Test (KIX32)</MITEM>
    </MENU>
</NU2MENU>


testkix.kix
CODE
$msg="Welcome to WinPE." + CHR(10) + CHR(13)
$msg=$msg + CHR(10) + CHR(13)
$msg=$msg + "KiXtart is installed properly!"


$Selection = MessageBox($msg, "KiXtart", 64)


No Autostart items required.

-Ed
symphatico
@ED
Very good work and very usefull!
smile.gif
Thank you ED!
ejmyers
my pleasure!
mrbios
Thanks, I just added your plugin and used it with Kixtart scripting version 4.60 it works great! Now *.kix files can by typed on the command line directly or I can double click a *.kix file in a43 file explorer.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.