Page 1 of 2 12>
Topic Options
#22394 - 2002-05-29 10:54 PM Bundle your script and kix32.exe into a single exe?
Anonymous
Unregistered


I want to be able to combine the kix32.exe and kixtart.kix file into one single exe.

KiXscripts Editor has the ablility to do this but you have to buy it. I don't like the kixscripts editor. The only thing I like about it is that it can make a single exe, I prefer to use visual kixtart editor to edit.

Is there any other utility that you know of that will make a single exe?

Top
#22395 - 2002-05-29 11:17 PM Re: Bundle your script and kix32.exe into a single exe?
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Yeah, there sure is, check out Richard Howarth's wonderfull packager here:

UTILITY: KiXcrypt 2.12b - KiXtart encryption

-Shawn

Top
#22396 - 2002-05-30 09:20 AM Re: Bundle your script and kix32.exe into a single exe?
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
Whoa, hold on there Shawn me presumptuous old flower.

KiXcrypt quite deliberately *does not* bundle the Kix32 executables/dlls.

There are a number of reasons for this:
  • It is a potential betrayal / avoidance of Ruuds careware licensing which makes me uneasy.
  • Most people who use KiXcrypt uses it for it's encryption - not for packaging. Including the executables would make the crypted.exe program significantly larger.
  • Where the executable needs to run on a number of different machines a decision would need to be made on which executable / dll was included.

    My policy (from the Unix world) is that a tool should have a single task and do it well.
  • For auto-execution and simple encryption of KiXtart scripts, use KixCrypt.
  • For packaging use an object packager.
  • For both packaging and encryption, use both tools.

    You should be able to combine KiXcrypt with a zip utility to create a self decompressing archive containing encrypted KiXtart scripts. Many Zip utilities have the option to automatically run one of the archived executables when it decompresses.

    [ 30 May 2002, 09:22: Message edited by: Richard Howarth ]
  • Top
    #22397 - 2002-05-30 03:29 PM Re: Bundle your script and kix32.exe into a single exe?
    Shawn Administrator Offline
    Administrator
    *****

    Registered: 1999-08-13
    Posts: 8611
    Richard, my boo, noted ! Can't tell from rshafer0's comments whether it was the encryption (hiding) piece, or the packaging piece that was of interest here. But your right, probably the packaging piece.

    But it sounds like there may be a demand for this type of utility though, if only someone would step-up to developing such a thing [Wink]

    MCA, do you have anything to add to this discussion ?

    -Shawn

    Top
    #22398 - 2002-05-30 03:34 PM Re: Bundle your script and kix32.exe into a single exe?
    BrianTX Offline
    Korg Regular

    Registered: 2002-04-01
    Posts: 895
    I use Iexpress.exe to create .exe packages. You can get this from Microsoft in their IEAK packages. Also, for a little less configurable solution, you can use ZipCentral from http://zipcentral.iscool.net ... It isn't perfect, but I've found it quite adequate for packaging.

    Brian

    Top
    #22399 - 2002-05-30 03:35 PM Re: Bundle your script and kix32.exe into a single exe?
    Sealeopard Offline
    KiX Master
    *****

    Registered: 2001-04-25
    Posts: 11165
    Loc: Boston, MA, USA
    You could use a compression utility for this. For example, create a ZIP file containing the KiXtart executables and the KiXtart script files. Convert the ZIP file to an executable and set to autorun an appropriate command like 'KIX32.EXE KIXSCRIPT.KIX'. Then specify the executable as the logon script. The executable will automatically unpack the enclosed files into e.g. the %TEMP% directory and launch the specified command. When the command is finished, it'll delete the files in %TEMP% and close. Caveat: AFAIK, you will need to but the full version of e.g. Winzip to take advantage of the EXe-creator. Alternatively, it might be possible to create a .MSI package (don't have any experience with those but I believe there is a free one WinInstallLT on one of the Windows 2000 CDS [Server, Resource Kit???])
    _________________________
    There are two types of vessels, submarines and targets.

    Top
    #22400 - 2002-05-30 03:37 PM Re: Bundle your script and kix32.exe into a single exe?
    MCA Offline
    KiX Supporter
    *****

    Registered: 2000-04-28
    Posts: 5152
    Loc: Netherlands, EU
    Dear Shawn,

    Our contribution.

    We are doing following things:
    1. reduce kixtart script code by remove unwanted comment statements and in our situation
      also unwanted print statements with our kixstrip tool.
    2. make script secure with Richard's tool KiXCrypt.
    3. create an iexpress package which runs automatically encrypted result file
      and it is using his own set of kixtart files. Those files are included in
      iexpress package.
    The result is: script is always running with the right kixtart files and no
    files will remain after completion.

    greetings.
    _________________________
    email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

    Top
    #22401 - 2002-05-30 03:42 PM Re: Bundle your script and kix32.exe into a single exe?
    MCA Offline
    KiX Supporter
    *****

    Registered: 2000-04-28
    Posts: 5152
    Loc: Netherlands, EU
    Dear Brian,

    The IExpress package which can also be found on our site is very handy.
    - It is compact.
    - It is enough options for most type of installations.
    - You can create very fast a package.
    - You only need take care of some simple rules.
    Our kix???update.exe and kix???registry.exe are using this
    program also.
    greetings.
    _________________________
    email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

    Top
    #22402 - 2002-05-30 03:46 PM Re: Bundle your script and kix32.exe into a single exe?
    BrianTX Offline
    Korg Regular

    Registered: 2002-04-01
    Posts: 895
    True, MCA.

    I noticed your version is MUCH smaller than downloading the whole IEAK 6. However, the version of Iexpress.exe that I use is 2.0 instead of 1.0. Unfortunately, this isn't well-documented by Microsoft, so I don't know what differences there are between the packages.

    Brian

    Top
    #22403 - 2002-05-30 04:16 PM Re: Bundle your script and kix32.exe into a single exe?
    MCA Offline
    KiX Supporter
    *****

    Registered: 2000-04-28
    Posts: 5152
    Loc: Netherlands, EU
    Dear,

    Thanks for the information. We are already using the latest 2.0 release, but our site contains
    still the iexpress 1.0 release.
    We will update it.

    Your question: what are the differences? We doesn't know, but the microsoft site shows
    all kind of possibilities about "how to use it".
    F.e. another way of running with/without existing temporary directory.

    Search for iexpress on site http://support.microsoft.com

    for more information.
    greetings.
    _________________________
    email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

    Top
    #22404 - 2002-05-30 04:26 PM Re: Bundle your script and kix32.exe into a single exe?
    Shawn Administrator Offline
    Administrator
    *****

    Registered: 1999-08-13
    Posts: 8611
    So what I'm hearing here so far, is that all the tools for doing this are there, whats missing is the written procedure for doing it. yeah ?
    Top
    #22405 - 2002-05-30 04:28 PM Re: Bundle your script and kix32.exe into a single exe?
    Sealeopard Offline
    KiX Master
    *****

    Registered: 2001-04-25
    Posts: 11165
    Loc: Boston, MA, USA
    "The truth is out there!"

    Somebody just has to find it (write it down). I guess you just voluteered for this, Shawn? [Big Grin]
    _________________________
    There are two types of vessels, submarines and targets.

    Top
    #22406 - 2002-05-30 04:47 PM Re: Bundle your script and kix32.exe into a single exe?
    Shawn Administrator Offline
    Administrator
    *****

    Registered: 1999-08-13
    Posts: 8611
    Jens,

    I couldn't bundle a stack of newspapers, let alone an iexpress package ! [Frown]

    -Shawn

    Top
    #22407 - 2002-05-30 04:57 PM Re: Bundle your script and kix32.exe into a single exe?
    MCA Offline
    KiX Supporter
    *****

    Registered: 2000-04-28
    Posts: 5152
    Loc: Netherlands, EU
    Hi guys,

    There is already documentation about IExpress available.

    F.e. IDK99.EXE contains f.e. Navigating The IExpress Configuration Wizard.doc file.

    Be-aware that it will be transform to a 8.3 formatted filename (= NAVIGA~1.DOC).
    We advise you to change it to a TXT file. Our system had problem with opening it
    as a DOC file.
    greetings.

    btw: we will include it in our iexpress 2.0 update.
    _________________________
    email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

    Top
    #22408 - 2002-05-30 05:14 PM Re: Bundle your script and kix32.exe into a single exe?
    MCA Offline
    KiX Supporter
    *****

    Registered: 2000-04-28
    Posts: 5152
    Loc: Netherlands, EU
    Take a look at

    http://home.wanadoo.nl/scripting/download/IExpress.pdf

    for IExpress 2.0 documentation.
    greetings.

    (change TXT to PDF format)

    [ 30 May 2002, 19:27: Message edited by: MCA ]
    _________________________
    email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

    Top
    #22409 - 2002-05-30 05:52 PM Re: Bundle your script and kix32.exe into a single exe?
    BrianTX Offline
    Korg Regular

    Registered: 2002-04-01
    Posts: 895
    What kind of .txt file is that, MCA?

    I tried downloading it and it has a lot of garbage in it that isn't pure txt.

    Brian

    Top
    #22410 - 2002-05-30 06:05 PM Re: Bundle your script and kix32.exe into a single exe?
    MCA Offline
    KiX Supporter
    *****

    Registered: 2000-04-28
    Posts: 5152
    Loc: Netherlands, EU
    Dear,

    Is a document created by Microsoft. It looks indeed very strange, but we get something readable.
    As DOC file (= original extension) we must reboot our system. As TXT is looks a little bit strange.
    greetings.
    _________________________
    email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

    Top
    #22411 - 2002-05-30 07:26 PM Re: Bundle your script and kix32.exe into a single exe?
    MCA Offline
    KiX Supporter
    *****

    Registered: 2000-04-28
    Posts: 5152
    Loc: Netherlands, EU
    Dear,

    We have transfer it to a Acrobat 5.0 PDF document.
    New link is: http://home.wanadoo.nl/scripting/download/IExpress.pdf
    greetings.

    btw: above link also changed.
    _________________________
    email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

    Top
    #22412 - 2002-05-31 02:45 AM Re: Bundle your script and kix32.exe into a single exe?
    jtrainer Offline
    Fresh Scripter

    Registered: 2002-03-06
    Posts: 36
    I havn't used IExpress yet, but will play with it now that I am aware of it. I use the SMS Installer to do this. I find it very powerfull, and some tasks are just easier to do than in kix. I try to do most work in Kix, and now vbscript (evil) but have at times, needed to have other files that can be packaged along with the kix32 and script as well. I use the Res kit utils and other third party utils, as it is easier if they have the right output.

    my 1.2 cents worth, damm IRS.
    _________________________
    Bumped my mouse again, time to reboot Windoze....
    Top
    #22413 - 2002-06-01 11:10 PM Re: Bundle your script and kix32.exe into a single exe?
    MCA Offline
    KiX Supporter
    *****

    Registered: 2000-04-28
    Posts: 5152
    Loc: Netherlands, EU
    Dear,

    We have create a complete new version of IExpress documentation. It includes:
    - the way of creating a new iexpress package
    - the way of recreating an existing one
    - some interesting KB topics like:
    * How to use IExpress to deploy multiple packages with ODK (Q191900)
    * Common command-line switches for self-installing update files (Q197147)
    * Obtain list of files installed by Microsoft IExpress EXE (Q196221)
    * ODK "The disk labeled 'default' is now required" (Q198099)

    The address is still
    IExpress 2.0 documentation
    The related software you can find also on our site.
    greetings.

    (our reaction 2700 to the board)

    [ 01 June 2002, 23:11: Message edited by: MCA ]
    _________________________
    email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

    Top
    Page 1 of 2 12>


    Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
    Hop to:
    Shout Box

    Who's Online
    0 registered and 2220 anonymous users online.
    Newest Members
    Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
    17888 Registered Users

    Generated in 0.076 seconds in which 0.04 seconds were spent on a total of 13 queries. Zlib compression enabled.

    Search the board with:
    superb Board Search
    or try with google:
    Google
    Web kixtart.org