I have developed a VB application and installer in InstallShield. When i try to install the application, on reboot it screws my PC.
First i get this error:
The procedure entry point SHRegGetValueW could not be located in the dynamic link library SHLWAPI.dll
Basically, simple solution, shlwapi.dll needed to be replaced. I did that, error went away.
Now laptop hangs for several minutes while trying to bring up the login screen and then pops up the message: "The Login User Interface msgina.dll failed to load."
Tried to replace msgina.dll, does nothing.
The laptop is Windows 2000. NO Service Paks installed
I think the document is about how to recover from such failure. I want to know how to aviod reaching a stage where i get this error.
I forgot to mention that my installer do use some MS ocx\dll which depends on SHLWAPI.dll and i am not including SHLWAPI.dll in my setup
no use, just an advertisement. Is there any VB\Installer guru around. Most of the links in found on Google.com were about what to do when you come across problem, no information about how to avoid it.
How did you determine that you do not have any OS dependent files? If you did not include those files... How are they causing a problem unless some file that they are dependent on was replaced.
Then that is most unlikely that caused the problem. If this problem occurred when you installed your app you are including something else and do not know it. Do you have a script or list of files that are included?
Last edited by randem; Jul 29th, 2005 at 04:15 AM.
I see that shlwapi.dll uses OLEAUT32.DLL and this dll if wrong one used (vbruntime file) will definitely cause problems. You could download the correct vbruntime files from here
If this is the one what? I asked what your dates are on the vbruntime files you included. Is that the version of OLEAUT32.DLL? What are the versions of the other files?
You can't use those vbruntime files. they are not universal to all OS's. Those are XP specific and is probably the reason your 2000 system crashed. Here are the correct versions:
Actually, it crashes on XP as well. Particularly on the systems with NO SP and windows updates!
The VB runtimes are provided by Installshield VB runtime object and not collected from my PC.
Since XP comes with vb Runtime files, create your installation without then and try to install on XP. If it does not crash the system then you have your answer.
You must read the lines not between them. If installshield is replacing the files then that's where the problem lies. That is the purpose of checking the vb runtime file versions.
I would also suggest you try a different installer. Check my signature for more info. This time read the info...
InstallShield will not replace the newer files over older one, so if XP oleaut.dll is 5.1.2600.2180 then InstallShield will not replace it.
My XP PRO SP2 shows version 5.1.2600.2180 even when i install my software many time.
Then it has to be something you are doing, some file you are replacing (including in your setup). It won't just crash by itself. You will have to re-check what you are putting into the setup.
So you can use the exe from the installer and the VBP file, i have attached here!
I know winzip could not have reduced the size of the exe so you can get it from the installer.
(no problem with english! just patching up for upload limitations)