#164638 - 2006-07-19 08:28 PM
New Kix2Exe version available!
|
Senser
Fresh Scripter
   
Registered: 2005-05-26
Posts: 32
Loc: The Netherlands
|
I just completed the first beta release of Kix2Exe (v1.00 BETA), based on Nullsoft Installer (NSIS). The previous release was based on WinRARS. Since NSIS is freeware, using Kix2Exe is now completely free.
The feature list of Kix2Exe is also extended. Here's a list of the parameters it accepts:
Code:
(/infile mykixscript.kix)(/outfile myexepackage.exe)(/icon myiconfile.ico) (/kix wkix32|kix32)(/include @file|file1,file2)(/consoletitle title) (/consolehide on|off)(/consoleclose on|off)(/consolesize w,h) (/runasuser username)(/runaspassword password)(/runasinteractive on|off) (/package-name name string) (/package-desc description string) (/package-version version string)(/package-copyright copyright string) (/batchmode on|off)(/help)(/?)
Features:
- Creates single executable packages from your kix script
- Adds CRC check to the package to prevent tampering
- Uses LZMA compression and UPX header compression to create small executables
- Pretokenises and passoword protects the kix script with a random strong password
- Add the ability to auto include additional files into your package
- Select your own icon file to use for the exe package
- Set the title of the console window
- Resize the console window to a size that suits your script output
- Create silent installers to run background tasks, no console output is shown to the end-user
- Run your script with administrator rights by using CPAU
- Read values from the command-line utilities by using the GetK2EParam() function inside your script
- Automate the packaging process by using batchmode, no console window is shown and errorlevels are set afther the build process
- $EXEPath, $EXEName and $EXEParam variables are available in the packaged KIX script
- Brand your package with name, description, version and copyright strings
Hope you like it. I've added a little help file with the installation explaining how it all should work, but I hope most of it is self-explaining. :-)
Considering this is a beta release, please test before using Kix2Exe or the packaged scripts in a production enviroment. If you find any bugs, please let me know!
Download URL: http://kix2exe.ramonitor.nl/kix2exe-v100B-installer.exe
Regards, Senser
|
|
Top
|
|
|
|
#164639 - 2006-07-21 09:45 AM
Re: New Kix2Exe version available!
|
Senser
Fresh Scripter
   
Registered: 2005-05-26
Posts: 32
Loc: The Netherlands
|
Anybody tried it yet?
I've just put up a new version online that fixed a bug regarding paths containing spaces. Download URL:
kix2exe-v100B02-installer.exe
Senser
|
|
Top
|
|
|
|
#164640 - 2006-07-22 06:03 PM
Re: New Kix2Exe version available!
|
Allen
KiX Supporter
   
Registered: 2003-04-19
Posts: 4562
Loc: USA
|
Not yet... but a number of people have asked for it. Sometimes the only time you get any feedback is when it doesn't work... so if its all quiet you know you've either made something no one is using, OR you did a fine job, and no is complaining... 
Regardless, thank you for contributing this. I've added it to my tool chest... waiting for a rainy day when I need it.
|
|
Top
|
|
|
|
#164641 - 2006-07-25 08:44 PM
Re: New Kix2Exe version available!
|
Senser
Fresh Scripter
   
Registered: 2005-05-26
Posts: 32
Loc: The Netherlands
|
Thanks for your reply Allen! I assume I just did a fine job.  Tell me what you think when it starts to rain eventually..
|
|
Top
|
|
|
|
#164642 - 2006-08-11 01:01 PM
Re: New Kix2Exe version available!
|
Muesli
Fresh Scripter
Registered: 2006-07-17
Posts: 26
|
This might sound silly, but where do I fill in de parameters?
|
|
Top
|
|
|
|
#164643 - 2006-08-11 04:44 PM
Re: New Kix2Exe version available!
|
masken
MM club member
   
Registered: 2000-11-27
Posts: 1222
Loc: Gothenburg, Sweden
|
Senser, does it support packing KiXforms scripts? Have you tried it?
Seems like a rock solid application!
|
|
Top
|
|
|
|
#164644 - 2006-08-11 08:09 PM
Re: New Kix2Exe version available!
|
Senser
Fresh Scripter
   
Registered: 2005-05-26
Posts: 32
Loc: The Netherlands
|
@Muesli, You have to open a DOS box and and type in the parameters there. Click on Start - Run - Cmd <enter>. From there call Kix2Exe with the right set of parameters. You can add the Kix2Exe installation path to your PATH environment. This prevents you to type in the full path to the Kix2Exe executable everytime you run it.
BTW. A frontend GUI application is being developed and will be ready within a few weeks.
Edited by Senser (2006-08-11 08:35 PM)
|
|
Top
|
|
|
|
#164646 - 2006-09-02 07:18 PM
Re: New Kix2Exe version available!
|
Senser
Fresh Scripter
   
Registered: 2005-05-26
Posts: 32
Loc: The Netherlands
|
Update: I've just put online a the 1.00 final version of Kix2Exe. There are quite a few changes.
Here are the release notes:
added support for nsis 2.19 changed package internal folder structure dropped the on and off parameter values, specifying a parameter equals on, else it's off renamed parameter /infile to /script renamed parameter /outfile to /package renamed parameter /consoleclose to /keepconsoleopen parameter renamed parameter /package-name to /branding-name renamed parameter /package-desc to /branding-desc renamed parameter /package-version to /branding-version renamed parameter /package-copyright to /branding-copyright changed runas default logon type to network logon, specify /runasinteractive to do local logon changed console behaviour of kix32 and wkix32; selecting wkix32 no longer creates a console by default renamed the GetParam() UDF to K2E_GetParam() UDF improved user input routines to detect conflicting parameters improved the errorlevel routine fixed a bug regarding macro @CURDIR pointing to @SCRIPTDIR instead of current directory when using runas (/runasuser) fixed a bug with the $EXEName variable containing the full path instead of just the filename of the executable fixed a bug that caused the /consoleclose parameter with value on being not interpreted correctly fixed a bug with passing parameters with spaces In them when using runas fixed a bug that caused $EXEParam to display 0 instead of "" if empty fixed a bug in the GetParam() UDF fixed a few cosmetic issues
Check http://kix2exe.ramonitor.nl/download to download the new version.
|
|
Top
|
|
|
|
#164647 - 2006-09-04 02:38 AM
Re: New Kix2Exe version available!
|
Witto
MM club member
   
Registered: 2004-09-29
Posts: 1828
Loc: Belgium
|
I tried your program with a simple script, something "Hello World" alike. If someone asks me for a tool to create executables from scripts, I will (also) certainly link to your page. What about feeding parameters to the exe? You know: Code:
wkix32 HelloWorld.kix $A=123 /I /F
could maybe become Code:
HelloWorld.exe $A=123 /I /F
|
|
Top
|
|
|
|
#164650 - 2006-09-08 05:32 PM
Re: New Kix2Exe version available!
|
Senser
Fresh Scripter
   
Registered: 2005-05-26
Posts: 32
Loc: The Netherlands
|
I just put released a new version of Kix2Exe online, v1.01.
This release contains a few small bugfixes regarding passing parameters to the package. Check http://kix2exe.ramonitor.nl/download.php
|
|
Top
|
|
|
|
Moderator: Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart
|
1 registered
(Allen)
and 1172 anonymous users online.
|
|
|