|
|
#1 |
|
Junior Member
|
Riched20.dll missing on Target machine
Hi all,
I am deploying several NSIS installers successfully since more than two years, but now I encountered a "new", never seen before, error: After the welcome page, when changing to the license page, the installer suddenly skips, and disappears. The behaviour only occured on machines that did not have a copy of riched20.dll available. Is there any way how to make sure this problem cannot occur? I mean, either extract the file before it is needed (I don't know how to do this), or make NSIS link the produced exe-setup statically against the missing dll. Thank you for your help in advance, best regards, thegrinch |
|
|
|
|
|
#2 | |
|
Forum King
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
|
Re: Riched20.dll missing on Target machine
Quote:
Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS |
|
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Dec 2005
Location: Glow
Posts: 285
|
If riched20.dll is not available NSIS trys to use riched32.dll Which should be available on any "virgin" system from Windows 95 to Vista...
So it should still work if the system has riched32.dll... Unless there's a bug in NSIS or something. |
|
|
|
|
|
#4 |
|
Junior Member
|
Hmm,
I unfortunately cannot look into that pc that brought the error. But the guy definitely said, the riched20.dll was mentioned in the message box. Concerning this .oninit thing, I never had to use this function. Could you give an example, please? Thank you for your help in advance, best regards, thegrinch |
|
|
|
|
|
#5 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,337
|
Was it Windows x64? Did you disable redirection in .onInit?
Could be the same as: http://forums.winamp.com/showthread....hlight=license NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#6 |
|
Junior Member
|
no, I did not. I actually don't even use the onInit function. Would installing (or: making sure, it is installed) in .onInit be possible? I mean, it's a question at which time the riched20.dll is loaded.
kind regards, thegrinch |
|
|
|
|
|
#7 |
|
Senior Member
Join Date: Dec 2005
Location: Glow
Posts: 285
|
Better description of the error message would help a lot...
To me it seems that the the system isn't missing riched20.dll, but the riched20.dll is corrupted or something. Googling quickly reveals that corrupted riched20.dll file isn't that far-fetched that it may sound. |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|