<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Cyann &#187; kixtart</title>
	<atom:link href="http://www.cyann.net/tag/kixtart/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cyann.net</link>
	<description>En prévision du futur</description>
	<lastBuildDate>Thu, 27 Oct 2011 09:17:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>De KiXtart à Python: les commandes</title>
		<link>http://www.cyann.net/2010/02/09/kixtart-commands-to-python/</link>
		<comments>http://www.cyann.net/2010/02/09/kixtart-commands-to-python/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 13:29:26 +0000</pubDate>
		<dc:creator>Flavien</dc:creator>
				<category><![CDATA[développement]]></category>
		<category><![CDATA[kixtart]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.cyann.net/?p=650</guid>
		<description><![CDATA[Petit guide en anglais de traduction de scripts KiXtart vers Python. Commands Functions Macros Commands KiXtart Python equivalent [cci lang="kixtart"]?[/cci] [cci lang="python"]print()[/cci] [cci lang="kixtart"];[/cci] [cci lang="python"]#[/cci] [cci lang="kixtart"]Call[/cci] [cci lang="python"]subprocess.Popen([sys.executable, "script.py"])[/cci] [cci lang="kixtart"]CD[/cci] [cci lang="python"]os.chdir()[/cci] [cci lang="kixtart"]Copy[/cci] [cci lang="kixtart"]Debug[/cci] [cci &#8230; <a href="http://www.cyann.net/2010/02/09/kixtart-commands-to-python/">Lire la suite <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Petit guide en anglais de traduction de scripts KiXtart vers Python.</p>
<ul>
<li><a href="http://www.cyann.net/2010/02/09/kixtart-commands-to-python/#kixtart-commands">Commands</a></li>
<li><a href="http://www.cyann.net/2010/02/12/kixtart-functions-to-python/#kixtart-functions">Functions</a></li>
<li><a href="http://www.cyann.net/2010/02/12/kixtart-macros-to-python/#kixtart-macros">Macros</a></li>
</ul>
<p><span id="more-650"></span></p>
<h2><a name="kixtart-commands"></a>Commands</h2>
<table style="border-collapse: collapse;" border="1">
<tbody>
<tr>
<th>KiXtart</th>
<th>Python equivalent </th>
</tr>
<tr>
<td><a title="Display output to console">[cci lang="kixtart"]?[/cci]</a></td>
<td><a href="http://docs.python.org/library/functions.html#print">[cci lang="python"]print()[/cci]</a></td>
</tr>
<tr>
<td title="Comments">[cci lang="kixtart"];[/cci]</td>
<td><a href="http://docs.python.org/reference/lexical_analysis.html#comments">[cci lang="python"]#[/cci]</a></td>
</tr>
<tr>
<td title="Execute a separate script">[cci lang="kixtart"]Call[/cci]</td>
<td><a href="http://docs.python.org/library/subprocess.html">[cci lang="python"]subprocess.Popen([sys.executable, "script.py"])[/cci]</a></td>
</tr>
<tr>
<td title="Change current directory">[cci lang="kixtart"]CD[/cci]</td>
<td><a href="http://docs.python.org/library/os.html#os.chdir">[cci lang="python"]os.chdir()[/cci]</a></td>
</tr>
<tr>
<td title="Copy files">[cci lang="kixtart"]Copy[/cci]<strong> </strong></td>
<td></td>
</tr>
<tr>
<td title="Enables/disables debug mode during runtime">[cci lang="kixtart"]Debug[/cci]</td>
<td><a href="http://docs.python.org/library/pdb.html">[cci lang="python"]pdb.set_trace()[/cci]</a></td>
</tr>
<tr>
<td title="Delete files">[cci lang="kixtart"]Del[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Dimension a variable">[cci lang="kixtart"]Dim[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Loop the loop">[cci lang="kixtart"]Do Until[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Exit current script/function, optionally with return code">[cci lang="kixtart"]Exit[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Remove any keystrokes from keyboard buffer">[cci lang="kixtart"]FlushKb[/cci]</td>
<td></td>
</tr>
<tr>
<td>[cci lang="kixtart"]For Each[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Control statements to conditionally execute a set of statements">[cci lang="kixtart"]For Next[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Definition of user defined functions">[cci lang="kixtart"]Function[/cci]</td>
<td><a href="http://docs.python.org/reference/compound_stmts.html#function-definitions">[cci lang="python"]def[/cci]</a></td>
</tr>
<tr>
<td title="Wait for single keystroke">[cci lang="kixtart"]Get[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Accept a string of chars">[cci lang="kixtart"]GetS[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Declare one of more global variables">[cci lang="kixtart"]Global[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Change current drive">[cci lang="kixtart"]Go[/cci]</td>
<td><a href="http://docs.python.org/library/os.html#os.chdir">[cci  lang="python"]os.chdir()[/cci]</a></td>
</tr>
<tr>
<td title="Call subroutine at label">[cci lang="kixtart"]GoSub[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Jump to label">[cci lang="kixtart"]GoTo[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Standard if/else construct">[cci lang="kixtart"]If Else EndIf[/cci]</td>
<td><a href="http://docs.python.org/reference/compound_stmts.html#the-if-statement">[cci  lang="python"]if &#8230;:<br />
    elif &#8230;:<br />
    else &#8230;:[/cci]</a></td>
</tr>
<tr>
<td title="Combines multiple=">[cci lang="kixtart"]Include[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Create new directory">[cci lang="kixtart"]MD[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Moves files and renames files and directories">[cci lang="kixtart"]Move[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Exit script, optionally with an exitcode">[cci lang="kixtart"]Quit[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Remove directory">[cci lang="kixtart"]RD[/cci]</td>
<td><a href="http://docs.python.org/library/shutil.html#shutil.rmtree">[cci lang="python"]shutil.rmtree()[/cci]</a></td>
</tr>
<tr>
<td title="Re-declares arrays">[cci lang="kixtart"]Redim[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Exits a subroutine or script">[cci lang="kixtart"]Return[/cci]</td>
<td></td>
</tr>
<tr>
<td title="WinExec's a program (script continues)">[cci lang="kixtart"]Run[/cci]</td>
<td></td>
</tr>
<tr>
<td title="'CASE' statement">[cci lang="kixtart"]Select Case EndSelect[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Sets variables in environment of CURRENT_USER">[cci lang="kixtart"]Set[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Sets variables in local environment">[cci lang="kixtart"]SetL[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Sets variables in environment of LOCAL_MACHINE">[cci lang="kixtart"]SetM[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Synchronize local time with time on server">[cci lang="kixtart"]SetTime[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Executes a program, and waits for completion">[cci lang="kixtart"]Shell[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Suspends script for xx seconds">[cci lang="kixtart"]Sleep[/cci]</td>
<td></td>
</tr>
<tr>
<td title="(Dis-)connect to/from network share">[cci lang="kixtart"]Use[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Loop the loop">[cci lang="kixtart"]While Loop[/cci]</td>
<td></td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.cyann.net/2010/02/09/kixtart-commands-to-python/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Packager KiXtart et KiXforms en MSI</title>
		<link>http://www.cyann.net/2008/05/29/package-kixtart-kixforms-msi-wix/</link>
		<comments>http://www.cyann.net/2008/05/29/package-kixtart-kixforms-msi-wix/#comments</comments>
		<pubDate>Thu, 29 May 2008 13:14:46 +0000</pubDate>
		<dc:creator>Flavien</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[guid]]></category>
		<category><![CDATA[kixforms]]></category>
		<category><![CDATA[kixtart]]></category>
		<category><![CDATA[msi]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[wix]]></category>

		<guid isPermaLink="false">http://www.cyann.net/2008/05/29/packager-kixtart-et-kixforms-en-msi/</guid>
		<description><![CDATA[Article technique qui explique comment faire un package MSI contenant KiXtart et KiXforms Classic. Ce fichier Microsoft Installer permettra ensuite de faire un déploiement avec Active Directory ou SMS/SCCM. [download#4#size#nohits] English version available on the KiXtart forum: HOWTO: Package KiXtart &#8230; <a href="http://www.cyann.net/2008/05/29/package-kixtart-kixforms-msi-wix/">Lire la suite <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Article technique qui explique comment faire un package MSI contenant KiXtart et KiXforms Classic. Ce fichier Microsoft Installer permettra ensuite de faire un déploiement avec Active Directory ou SMS/SCCM.<br />
 [download#4#size#nohits]</p>
<p><small><em>English version available on the KiXtart forum: <a href="http://kixtart.org/forums/ubbthreads.php?ubb=showflat&amp;Number=187723#Post187723">HOWTO: Package KiXtart and KiXforms for internal distribution</a></em></small></p>
<h3>Avantages:</h3>
<ul>
<li>Le fichier MSI crée est 100% conforme et passe tous les tests de validation <a title="MSDN: Internal Consistency Evaluators - ICEs" href="http://msdn.microsoft.com/en-us/library/aa369554(VS.85).aspx" target="_blank">ICEs</a></li>
<li>N&#8217;a pas d&#8217;interface utilisateur à l&#8217;exception de la barre d&#8217;avancement.</li>
<li>Peut être réparé et désinstallé.</li>
<li>Supporte les mises-à-jour et ne permet pas de passer à une version précédente à moins de désinstaller la verison la plus récente.</li>
<li>S&#8217;affiche dans le panneau de contrôle d&#8217;ajout et suppression de programmes avec une icône spécifique.</li>
<li><img src="http://www.cyann.net/wp-content/uploads/2008/05/kixtartdocument.png" alt="KiXtart script icon" align="right" />Associe avec un nouvel icône de type document les scripts avec des extensions <em>.kix</em> et <em>.kx</em>. Par contre aucune action par défaut n&#8217;est associée pour éviter les problèmes de sécurité.</li>
<li>Copie les fichiers (<em>exe </em>et <em>dll</em>) dans <code>%SystemRoot%</code> pour permettre aux scripts non-dynamique de fonctionner sans problème.</li>
</ul>
<p>Testé sous Windows XP x86 et x64 anglais, laissez un commentaire si ça ne marche pas avec Vista ou une autre langue.<span id="more-263"></span></p>
<h3>Procédure</h3>
<ol>
<li>Créer un répertoire, par exemple <code>C:\kix460</code>, où on va copier tous les fichiers requis.</li>
<li>Télécharger la dernière version des librairies WiX version 3 depuis la page <a href="http://sourceforge.net/project/showfiles.php?group_id=105970&amp;package_id=168888" target="_blank">Windows Installer XML (WiX)</a> de SourceForge (fichier nommé <code>Wix-3.0.xxxx.0.msi</code>) et installer le MSI.</li>
<li>Télécharger <a href="http://www.kixtart.org/binary/distrib/KiX2010_460.zip" target="_blank">KiXtart 4.60</a> et extraire <code>kix32.exe</code> et <code>wkix32.exe</code> du fichier ZIP dans <code>C:\kix460</code>.</li>
<li>Télécharger <a href="http://www.kixforms.org/assets/files/kixforms/KiXforms_246.zip" target="_blank">KiXforms Classic 2.46</a> et extraire <code>kixforms.dll</code> du fichier ZIP dans <code>C:\kix460</code>.</li>
<li>Télécharger [download#4] et extraire les fichiers dans <code>C:\kix460</code>.</li>
<li>Vérifier que le répertoire <code>C:\kix460</code> contienne ces fichiers:
<ul>
<li><code>kix32.exe</code></li>
<li><code>wkix32.exe</code></li>
<li><code>kixforms.dll</code></li>
<li><code>kixtart.application.ico</code></li>
<li><code>kixtart.document.ico</code></li>
<li><code>build_msi_from_wxs.cmd</code></li>
<li><code>kixtart_kixforms_460.wxs</code></li>
</ul>
</li>
<li>Exécuter le fichier <code>build_msi_from_wxs.cmd</code> pour obtenir après compilation par WIX le fichier <code>kixtart_kixfroms_460.msi</code>. Il devrait faire 454 KB.</li>
</ol>
<h3>Fichiers</h3>
<p>Fichier ZIP contenant les icônes et le fichier XML:</p>
<p>[download#4#image]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cyann.net/2008/05/29/package-kixtart-kixforms-msi-wix/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

