-
VB application - installer problem
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:
Quote:
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
-
Re: VB application - installer problem
-
Re: VB application - installer problem
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
-
Re: VB application - installer problem
-
Re: VB application - installer problem
mayurvb,
Look in my signature for Installer Problems.
-
Re: VB application - installer problem
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.
-
Re: VB application - installer problem
mayurvb,
That so call "advertisement" gives you info on how to avoid the problem in the first place.
-
Re: VB application - installer problem
randem,
i have not included those files (shlwapi.dll, msgina.dll etc) which are causing the problems. Moreover i dont have any OS dependent files as well.
-
Re: VB application - installer problem
mayurvb,
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.
What files did you include?
-
Re: VB application - installer problem
I have included just the VB runtimes. Nothing else.
-
Re: VB application - installer problem
mayurvb,
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?
-
Re: VB application - installer problem
I have some custom VC++ dll which i copy in my target dir.
Earlier i used to include:
comdlg32.ocx
scrrun.dll
psapi.dll
Both these files are already present with XP and 2000, so i have removed those.
Plus these VB files:
mscomct2.ocx
mscomctl.ocx
msstdfmt.dll
-
Re: VB application - installer problem
mayurvb,
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
What are the dates on your vbruntime files?
-
Re: VB application - installer problem
Actually i use the VB runtime object provided with Installshield. the version is 2.40.4277.1
Let me know if this is the one!
Randem, i am really thankful to you for the efforts you are putting to resolve my problem.
-
Re: VB application - installer problem
mayurvb,
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?
-
Re: VB application - installer problem
mayurvb,
On what OS did you make your install on?
-
Re: VB application - installer problem
I prepare my installer on XP SP2 and the one i mentioned is the version # of OLEAUT32.dll
Here are the other runtime files and their versions:
Msvbvm60.dll
6.0.89.64
Oleaut32.dll
2.40.4277.1
Olepro32.dll
5.0.4277.1
Stdole2.tlb
2.40.4277.1
Asycfilt.dll
2.40.4277.1
Comcat.dll
4.71.1460.1
Vb5db.dll
6.0.81.69
Vb6de.dll
6.0.89.88
Vb6jp.dll
6.0.89.88
-
Re: VB application - installer problem
mayurvb,
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:
6.0.97.82 - MSVBVM60.DLL
2.40.4275.1 - OLEAUT32.DLL
5.0.4275.1 - OLEPRO32.DLL
2.40.4275.1 - ASYCFILT.DLL
2.40.4275.1 - STDOLE2.TLB
4.71.1460.1 - COMCAT.DLL
Now, if you took the "advertisement" serious... ;)
-
Re: VB application - installer problem
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.
-
Re: VB application - installer problem
mayurvb,
OK, then that should tell you something...
-
Re: VB application - installer problem
mayurvb,
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.
XP's version of OLEAUT32.DLL is 5.1.2600.2180
-
Re: VB application - installer problem
actually, we are coming to square one. The problem is with both XP and 2000 and not just XP!
-
Re: VB application - installer problem
It seems like Installashield is the problem. Time to try Inno Setup and Inno Script.
-
Re: VB application - installer problem
mayurvb,
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... ;)
-
Re: VB application - installer problem
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.
-
Re: VB application - installer problem
mayurvb,
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.
-
Re: VB application - installer problem
I think i have mentioned what i am including:
comdlg32.ocx
scrrun.dll
psapi.dll
Both these files are already present with XP and 2000, so i have removed those.
Plus these VB files:
mscomct2.ocx
mscomctl.ocx
msstdfmt.dll
And some VC++ DLL, which i copy into the application path. ( these are not COM)
-
Re: VB application - installer problem
mayurvb,
Some system file is being replaced or installshield would not ask you to restart.
-
Re: VB application - installer problem
mayurvb,
If you send me the vbp file I will take a look.
-
Re: VB application - installer problem
here is the vbp file
Type=Exe
Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#..\..\..\WINNT\system32\STDOLE2.TLB#OLE Automation
Reference=*\G{6B263850-900B-11D0-9484-00A0C91110ED}#1.0#0#..\..\..\WINNT\system32\MSSTDFMT.DLL#Microsoft Data Formatting Object Library 6.0 (SP4)
Reference=*\G{F5078F18-C551-11D3-89B9-0000F81FE221}#3.0#0#..\..\..\WINNT\system32\msxml3.dll#Microsoft XML, v3.0
Object={831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0; mscomctl.ocx
Object={BDC217C8-ED16-11CD-956C-0000C04E4C0A}#1.1#0; tabctl32.ocx
Object={86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0; mscomct2.ocx
Object={F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0; Comdlg32.ocx
Object={3B7C8863-D78F-101B-B9B5-04021C009402}#1.2#0; RICHTX32.OCX
Object={4413781C-C3FE-46C6-A95C-6EEF755A400F}#2.0#0; ciplImageList.ocx
Object={DA03C784-D04D-4E5A-B63C-BF6B02F07590}#2.0#0; ciplListBar.ocx
Form=frmMail.frm
Form=frmAbout.frm
Form=frmAdvReplayOptions.frm
Form=frmAlert.frm
Form=frmBeaware.frm
Form=frmCha****ch.frm
Form=frmEnterPassword.frm
Form=frmErrors.frm
Form=frmGettingStarted.frm
Form=frmHelp.frm
Form=frmLaunchedApplications.frm
Form=frmLogin.frm
Form=frmMessageBox.frm
Form=frmOptions.frm
Form=frmPicture.frm
Form=frmReplay.frm
Form=frmSlideShow.frm
Form=frmSplash.frm
Form=frmUploadInfo.frm
Form=frmURLHistory.frm
Form=frmWelcome.frm
Module=CIPLGeneral; CIPLGeneral.bas
Module=Crypto; Crypto.bas
Module=DiskSpaceRoutines; DiskSpace.bas
Module=General; General.bas
Module=Globals; Globals.bas
Module=gzip; gzip.bas
Module=Hook; Hook.bas
Module=HTML2RTF; HTML2RTF.bas
Module=ModDIBSection; ModDIBSection.bas
Module=modERRORS; modErrors.bas
Module=modToolTip; modToolTip.bas
Module=MSocketSupport; MSocketSupport.bas
Module=PictureStuff; PictureStuff.bas
Module=ProcKill; ProcKill.bas
Module=Registry; Registry.bas
Module=serial; serial.bas
Class=CApplicationPaths; CApplicationPaths.cls
Class=cDIBSection; cDIBSection.cls
Class=clsError; clsError.cls
Class=clsTooltip; clsTooltip.cls
Class=cReadWriteEasyReg; cReadWriteEasyReg.cls
Class=CSocket; CSocket.cls
Class=INIService; INIFile.cls
Class=Region; Region.cls
Form=frmWaitProcessing.frm
Form=frmMDIForm.frm
Form=frmPrivateTime.frm
IconForm="frmMDIForm"
Startup="Sub Main"
HelpFile=""
Title="BeAware"
ExeName32="BeAware.exe"
Command32=""
Name="BEAWARE"
HelpContextID="0"
CompatibleMode="0"
MajorVer=6
MinorVer=0
RevisionVer=72
AutoIncrementVer=0
ServerSupportFiles=0
CompilationType=-1
OptimizationType=2
FavorPentiumPro(tm)=0
CodeViewDebugInfo=-1
NoAliasing=0
BoundsCheck=0
OverflowCheck=0
FlPointCheck=0
FDIVCheck=0
UnroundedFP=0
StartMode=0
Unattended=0
Retained=0
ThreadPerObject=0
MaxNumberOfThreads=1
DebugStartupOption=0
[MS Transaction Server]
AutoRefresh=1
[CodeSMART]
Task_UID=12_01_04_12_53_21
-
Re: VB application - installer problem
mayurvb,
I meant zip and upload it. Could you include the vbp and the exe also.
-
Re: VB application - installer problem
what do you want exactly? the installer?
-
Re: VB application - installer problem
mayurvb,
No, Just the vbp file and the exe file you created from the vbp file.
-
Re: VB application - installer problem
-
Re: VB application - installer problem
mayurvb,
OK, let me put this in english... ;) My spanish must be rusty.
The vbp and the exe you created when you compiled your code. You know the one you compiled in VB.
-
Re: VB application - installer problem
when i try to upload it says it is too large!
-
1 Attachment(s)
Re: VB application - installer problem
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)
-
Re: VB application - installer problem
mayurvb,
Is BeAware your program that you wrote and are trying to install?
-
Re: VB application - installer problem
yes, BeAware program is my program.I am working as a Project Lead for the product.
I have created the installer as well.
-
Re: VB application - installer problem
mayurvb,
Then I need the BeAware.vbp and the BeAware.exe.
-
1 Attachment(s)
Re: VB application - installer problem
I have mentioned that earlier that the exe is 2 mb and unable to zip and upload.
Sending vbp file again.
-
1 Attachment(s)
Re: VB application - installer problem
mayurvb,
Looks like you are installing a few other files also. Then it depends on just what your installer Does. I created a script using ********** to show you what I found.
Here is some data also:
Code:
Processed in UNSAFE file mode
Files included in Script
Version OS Type File
7/29/2005 2:43:42 AM - 6.0.97.82 Win32 DLL C:\Program Files\Randem Systems\**********\********** 4.0\VB 6 Redist Files\MSVBVM60.DLL
7/29/2005 2:43:42 AM - 2.40.4275.1 NT-Win32 DLL C:\Program Files\Randem Systems\**********\********** 4.0\VB 6 Redist Files\OLEAUT32.DLL
7/29/2005 2:43:42 AM - 5.0.4275.1 Win32 DLL C:\Program Files\Randem Systems\**********\********** 4.0\VB 6 Redist Files\OLEPRO32.DLL
7/29/2005 2:43:42 AM - 2.40.4275.1 NT-Win32 DLL C:\Program Files\Randem Systems\**********\********** 4.0\VB 6 Redist Files\ASYCFILT.DLL
7/29/2005 2:43:42 AM - 2.40.4275.1 NT-Win32 DLL C:\Program Files\Randem Systems\**********\********** 4.0\VB 6 Redist Files\STDOLE2.TLB
7/29/2005 2:43:42 AM - 4.71.1460.1 NT-Win32 DLL C:\Program Files\Randem Systems\**********\********** 4.0\VB 6 Redist Files\COMCAT.DLL
7/29/2005 2:43:42 AM - 8.40.9419.0 NT-Win32 DLL C:\WINDOWS\$NtServicePackUninstall$\msxml3.dll
7/29/2005 2:43:42 AM - 6.1.97.82 NT-Win32 DLL C:\WINDOWS\system32\mscomctl.ocx
7/29/2005 2:43:42 AM - Missing tabctl32.ocx
7/29/2005 2:43:42 AM - Missing mscomct2.ocx
7/29/2005 2:43:42 AM - 6.1.97.82 DOS-Win32 DLL C:\WINDOWS\system32\Comdlg32.ocx
7/29/2005 2:43:42 AM - 6.1.97.82 NT-Win32 DLL C:\WINDOWS\system32\RICHTX32.OCX
7/29/2005 2:43:42 AM - Missing ciplImageList.ocx
7/29/2005 2:43:42 AM - Missing ciplListBar.ocx
7/29/2005 2:43:42 AM - 7.1.100.1248 NT-Win32 App C:\Work\mayurvb\BeAware.exe
7/29/2005 2:43:42 AM - 5.0.37.15 NT-Win32 DLL C:\WINDOWS\system32\AUTPRX32.DLL
7/29/2005 2:43:42 AM - 6.31.100.1190 NT-Win32 App C:\Program Files\Common Files\InstallShield\engine\6\Intel 32\OBJECTPS.DLL
7/29/2005 2:43:42 AM - 6.31.100.1190 NT-Win32 App C:\Program Files\Common Files\InstallShield\engine\6\Intel 32\CTOR.DLL
7/29/2005 2:43:42 AM - 6.31.100.1190 NT-Win32 App C:\Program Files\Common Files\InstallShield\engine\6\Intel 32\IUSER.DLL
7/29/2005 2:43:42 AM - Missing BEAWAREADMN.EXE
7/29/2005 2:43:42 AM - 7.0.100.1187 Win32 App C:\Program Files\Common Files\InstallShield\Professional\RunTime\0700\Intel32\DOTNETINSTALLER.EXE
7/29/2005 2:43:42 AM - 1.1.4322.2032 Win32 DLL C:\WINDOWS\system32\MSCOREE.DLL
7/29/2005 2:43:42 AM -
Translating parameters...
7/29/2005 2:43:42 AM - Saving Inno Setup file... Please Wait
7/29/2005 2:43:42 AM -
Unsafe Files removed from script
msstdfmt.dll
kernel32.dll
user32.dll
winmm.dll
advapi32.dll
comdlg32.dll
gdi32.dll
imm32.dll
ole32.dll
comctl32.dll
hhctrl.ocx
riched32.dll
oledlg.dll
lz32.dll
rpawinet.dll
iexplore.exe
netscape.exe
rpcrt4.dll
-
Re: VB application - installer problem
Can you please let me know some more details?
I am unable to understand from this. which files do you think are the the cuplrits?
-
Re: VB application - installer problem
mayurvb,
Well, I can't say since you say you are not putting these files in your script and not deploying them. You have all the info... You must share. All I know is that you have problems that you should not have and with the explainations you give it must be your installation package creator. I would change to another installer create an installation and try that to see if it installs without corrupting your machine.
-
Re: VB application - installer problem
There are so many files listed, i have not included those like the .Net runtimes etc.. i dont have .Net installed on my PC. i have no clues as to where these files came from:
lz32.dll
rpawinet.dll
iexplore.exe
netscape.exe
rpcrt4.dll
-
Re: VB application - installer problem
mayurvb,
They came from InstallShield. BTW: could you resend the BeAware.exe file it was corrupted.
-
Re: VB application - installer problem
Quote:
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
i made you the full list if you want to see"
Here are the runtime files / versions:
Msvbvm60.dll - 6.0.89.64
Oleaut32.dll - 2.40.4277.1
Olepro32.dll - 5.0.4277.1
Stdole2.tlb - 2.40.4277.1
Asycfilt.dll - 2.40.4277.1
Comcat.dll - 4.71.1460.1
Vb5db.dll - 6.0.81.69
Vb6de.dll - 6.0.89.88
Vb6jp.dll - 6.0.89.88
.
-
Re: VB application - installer problem
wiz126,
What are you attempting to show? The XP runtime files? Those are not the universal ones for all OS's. They have been given in my previois post.
-
Re: VB application - installer problem
Quote:
Originally Posted by randem
mayurvb,
They came from InstallShield. BTW: could you resend the BeAware.exe file it was corrupted.
Sent the EXE, zipped, again to Mr Ralph
-
1 Attachment(s)
Re: VB application - installer problem
mayurvb,
Here is the project file and script. Run it in ********** on your machine and you should have a complete installation after you add any needed files that you created or need to use.
-
Re: VB application - installer problem
i have downloaded isetup-5.1.4.exe.
I am able to open the script file which you sent. The path of Vb runtimes point to non-existing folder (c:\program files\randem systems\**********\********** 4.0\vb 6 redist files\).
I am changing it.
I will compile and let you know. Thanks!
-
Re: VB application - installer problem
mayurvb,
I stated to run the project in ********** to recreate the script after adding the other files you need. The project file is in the PROJECTS folder...
-
Re: VB application - installer problem
how to add files?
(I added [Setup] from the script you gave to the BeAware.pjt file because it was not compiling with AppName etc..)
Thanks!
-
Re: VB application - installer problem
mayurvb,
I will type slowly... Open the BeAware.pjt in ********** and use ********** to create your script. How can you keep getting this part wrong?
-
1 Attachment(s)
Re: VB application - installer problem
I have done the same...
From where do i create the script? find the attached image
-
Re: VB application - installer problem
mayurvb,
What's the difference between following two programs?
********** and Inno Setup
The spelling? How they work?
Now being that they are different programs, you have to use the one that is needed for the purpose that it is needed for. If you want help you have to do what I ask you to do, not what you want to do. You might want to look in my signature and probably read the instructions.
I obviously did not type slow enough...
-
Re: VB application - installer problem
i am sorry, i am new to Inno products and its taking some time to do exactly you want me to do.
Anyways, after i downloaded and compiled i got this file missing error:
Source: bafileaccess.dll; DestDir: {sys}; Flags: sharedfile
-
Re: VB application - installer problem
mayurvb,
Why are you attempting to compile if you haven't completed the script? Post your script.
-
1 Attachment(s)
Re: VB application - installer problem
please find the attached script file
-
Re: VB application - installer problem
mayurvb,
OK, you are almost there. Now where is bafileaccess.dll. Your program needs it and it should be on your computer somewhere. You need to put the folder name of where this file resides in the Search Area so that ********** can find this file.
You will need to do this with the other ocx/dll/exe in your script so tha they can be placed where they need to be. You are forcing them to be placed in the app folder and they belong elsewhere.