Wineboot should process RunOnceEx Entries

Shachar Shemesh wine-devel at
Fri Feb 6 01:22:13 CST 2004

Hi Geoffrey,

I'm sorry, I may just still be jetlagged from wineconf. I failed to 
understand your bug report.

Is that "wineboot does not handle RunOnceEx", does handle it but doesn't 
run DLLs when using the pipe, runs everything, but the windows version 
is set incorrectly, or doesn't handle RunOnceEx\Setup?


Geoffrey Antos wrote:

>I saw early postings about RunOnceEx in this mailing list circa 
>January 2003, however the problems they presented were never fixed.
>Some programs come with simple INF installers because
>people can cheaply create an INF file, and use a free Setup.exe
>bootstrap file that reads the name of an INF file from Setup.ini or
>something similar. These programs do not have any way of processing
>RunOnceEx themselves.
>In the distant past before I had converted to Linux and wine, I used to
>deal with such programs quite a bit;
>RunOnceEx was Microsoft's way of allowing simple installers to register
>files, especially if a reboot and wininit was necessary to overwrite files.
>The basic structure of the registry format is:
>"Number"="program.exe arguments"
>Number is nothing more than a number. All commands are processed in
>sequential order, first by key, then by value.
>If there is no pipe symbol in the line ('|'), the data of the value is
>executed as a program, with all following tokens passed on as arguments.
>However, if the pipe symbol is included, the portion to the left is treated
>as a DLL, and calls the exported function of the name to the right of the 
>Once all values in a key are processed, the key is deleted, and the 
>process starts with the next key.
>There is one subkey that has a special meaning: All keys/values in
>are not processed at boot-up. Rather, they are read by the program
>runonce.exe, not included in wine. It is through this key that one
>gets the annoying "Updating Windows" box in the upper left corner of
>the screen, listing tasks being performed. I believe Powertoys for
>Windows 98 utilized this feature, but I do not remember how.
>However, these days RunOnceEx still has one important feature:
>Some people, like me, have programs that fail to load objects
>because the OS version is not set to XP. When the OS is set to
>xp, the install-ie6 script does not automatically process the
>RunOnceEx keys, failling to register all of the DLL's, including
>the Crypto support needed for programs such as Steam.
>As such, for IE6 alone, users have to process 50+ lines by hand,
>in something that SHOULD be processed at bootup, via wineboot.

Shachar Shemesh
Lingnu Open Systems Consulting

More information about the wine-devel mailing list