XLLoop Without the INI File

The following post shows you how you can customize the XLLoop XLL addin without having to deploy the INI file along-side the XLL. It involves embedded the INI file inside the XLL addin.

The steps are:

1. Download WinRun4J from winrun4j.sourceforge.net.

2. Unpack the zip file and grab RCEDIT.exe

3. If you run RCEDIT without any arguments you will see the following usage information:

WinRun4J Resource Editor v1.0 (winrun4j.sf.net)

Edits resources in executables (EXE) and dynamic link-libraries (DLL).

RCEDIT <option>  [resource]

  filename      Specifies the filename of the EXE/DLL.
  resource      Specifies the name of the resource to add to the EXE/DLL.
  /I            Set the icon as the default icon for the executable.
  /A            Adds an icon to the EXE/DLL.
  /N            Sets the INI file.
  /J            Adds a JAR file.
  /E            Extracts a JAR file from the EXE/DLL.
  /S            Sets the splash image.
  /H            Adds an HTML file the EXE/DLL.
  /C            Clears all resources from the EXE/DLL.
  /L            Lists the resources in the EXE/DLL.
  /P            Outputs the contents of the INI file in the EXE.
  /R            Loads a script file listing resource settings.
  /W            Same as /R but clears all resources first.
  /D            Further help on /R command.

The option you need is /N. This allows you to embed your INI file inside the XLL.

4. Run the following command:

RCEDIT.exe /N xlloop.xll xlloop.ini

Where “xlloop.xll” is the name of the XLLoop XLL file and “xlloop.ini” is the name of the INI file.

Advertisements

One Response to XLLoop Without the INI File

  1. Weber says:

    Hi,
    i really like WinRun4J. Its nearly the best Exe-Generator currently available.
    There is just one little request:
    The VM Search-Functionality of JSmooth!
    If you could choose where the exe searches for the Java VM like it can be done in JSmooth, that would be just great 🙂

    If you are interessted:
    http://jsmooth.sourceforge.net/features.php
    Detects the location of any Sun JVM installed. The wrappers use several strategies to detect all the JVM available on a computer, using windows registry, environment variables, windows path.

    Thank you

%d bloggers like this: