<div><span class="gmail_quote">On 5/9/06, <b class="gmail_sendername">Vitaliy Margolen</b> &lt;<a href="mailto:wine-devel@kievinfo.com">wine-devel@kievinfo.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Tuesday, May 9, 2006, 7:12:29 AM, Uwe Bonnes wrote:<br>&gt; Hallo,<br><br>&gt; the error<br>&gt;&gt; err:menubuilder:extract_icon32 LoadLibraryExW\
<br>&gt;&gt; (L&quot;C:\\altera\\quartus60\\win\\quartus.exe&quot;) failed, error 126<br>&gt; with varying file targets seems to be a common one. The one above happened<br>&gt; with the current 0.9.12 and Altera's quartusii_60_web_edition.exe, running
<br>&gt; with XP-native ole32,oleaut32 and rpcrt4. Without these native dlls,<br>&gt; installation hangs at an early stage.<br><br>&gt; &quot;Error 126&quot; is<br>&gt;&gt; include/winerror.h:#define ERROR_MOD_NOT_FOUND 126
<br>&gt; so I guess that winemenubuilder is invoked in an too early stage where the<br>&gt; executables are not already deployed.<br><br>It's misleading. It first tries to extract icon from file as PE. Then it<br>tries that file as an .ico file. If that fails, it queues itself into
<br>RunOnce to be started by wineboot.<br><br>But it looks like something really broke that part. We now trying to<br>create links to &quot;c:\&quot;c:\Program Files\Prog\App.exe&quot;&quot;. Which wasn't the<br>case before.
<br><br>That's on top of lots of other problems that are still exists in<br>winemenubuilder and still not fixed.<br><br><br>Vitaliy.</blockquote>
<div>&nbsp;</div>
<div>I recall seeing this&nbsp;problem with the deprecated wineshelllink script, although it didn't give this error, as that was not a part of the script.&nbsp; What happens (although not in this case, because of what Vitality explained with the double &quot;C:\&quot;) is that under windows, an installer can create a link before the executable, dll, or ico is actually properly extracted.&nbsp; This works because of the way that windows lnk files work.&nbsp; Under wine, since we are actually trying to extract the icon, the executable has to be there, and when it isn't we fall back to running it on the next invocation of wine by the user, by putting it in runonce.&nbsp; As for the &quot;C:\&quot; being doubled, I dunno, but it def wont work at all that way.
</div><br>&nbsp;</div>