When you receive a "failed to register .dll file" message in WPS, what's the best way to handle this?
I took a snapshot of an application and I am keep getting this message during installation. The app is SAP gui 4.6D and the dll file is "previewconverter.dll."

Thanks in advance.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
First step is try registering the file manually:
regsvr32 filename.dll

Not all dll files can be registered...
Answered 07/05/2006 by: revizor
Third Degree Blue Belt

Please log in to comment
0
it the dll is not getting registered manually by regsvr32 then it means the dll cant be registered. and to ensure the error free installation of the dll you need to ensure that the dll is not marked for registring in your package.
to ensure that you go to selfreg table and make sure that the dll file has no entry in this table.
Answered 07/05/2006 by: Lillude
Senior Purple Belt

Please log in to comment
0
Hi,

why are you "snapshotting" SAP??

SAP has nice Tools to customize the SAPGUI and then deploy it with whatever Tool (sapsetup.exe /p "customfile")

Anyways, if you set the ""Enhanced File and registry Key association" switch during your snapshot, the following might occur:

This feature registers every self-registering .DLL found in the capture. If you have a self-registering .DLL that you know is not set to be registered during the installation, then you might not want to use this feature because it could cause the repackaged installation to not function properly.

if your dll is one of them, just delete that row out of the selfreg table

regards
Martin
Answered 07/06/2006 by: laszlo
Senior Yellow Belt

Please log in to comment
0
I would like to use the SAPadmin tool but I need to deploy the application using group policy. Therefore the package has to be an .MSI.

Unless SAPadmin tool can also deploy over the network. Is that possible?

Thanks in advance.
Answered 07/06/2006 by: WiseGuyinNewYork
Orange Belt

Please log in to comment
0
Configure your SAP GUI installation using SAPadmin then create a MSI wrapper to execute the sapsetup.exe installation.
Answered 07/06/2006 by: AngelD
Red Belt

Please log in to comment
0
Thanks for all your help. I have created the package now using SAPadmin. Here is command the launch my package;

\\server\Netinst\SapSetup.exe /p:"sap 4.6 d" /install /noDialog /silent

Now my only question is how do I create a MSI wrapper using WPS? I have used the ones that Microsoft created but I have never created one myself. Your help is greatly appreciated.

Thanks.
Answered 07/06/2006 by: WiseGuyinNewYork
Orange Belt

Please log in to comment
0
You could call a vbscript with function Wrapper, ex. bellow
(Place the msi in the same location as SapSetup.exe)

Function Wrapper()
Dim WSHShell : Set WSHShell = Nothing
Set WSHShell = CreateObject("WScript.Shell")

Dim InstallCmd : InstallCmd = Session.Property("SOURCEDIR") & "SapSetup.exe /p:""sap 4.6 d"" /install /noDialog /silent"

'Run command and wait for the process to End
HandleError = WSHShell.Run("""" & InstallCmd & """", 1, True)
If HandleError <> 0 Then
Wrapper = 3

Exit Function
End If

Wrapper = 0

Exit Function
End Function
Answered 07/06/2006 by: AngelD
Red Belt

Please log in to comment
0
Hi WiseGuyinNewYork,
have you got a look at WIWW to do the wrapping job? See:
http://itninja.com/link/timbuktu-pro5
Regards, Nick
Answered 07/06/2006 by: nheim
Tenth Degree Black Belt

Please log in to comment
0
I am sorry but this SAP installation is giving me lots of headache.

As I mentioned above, I have created the package using SAPadmin, but when I run it from the command prompt, it starts and errors out with the message "script named "sap 4.6 d" not found or execution permission missing, Installation aborted."
Although I can see the package in the sapsetup.exe.

I can run the setup directly from sapsetup.exe but not when I run it using a path. Which I need to do in order to wrap it in MSI. BTW I am learning so much from you all.

Can anyone tell me what I am doing wrong.

Thanks in advance.
Answered 07/06/2006 by: WiseGuyinNewYork
Orange Belt

Please log in to comment
0
Hi WiseGuyinNewYork,
Sounds like a path error to me.
Have you tried with the path like this?
\\server\Netinst\SapSetup.exe /p:"\\server\Netinst\sap 4.6 d" /install /noDialog /silent
or:
SapSetup.exe /p:"sap 4.6 d" /install /noDialog /silent
Is one of these working?

Regards, Nick
Answered 07/07/2006 by: nheim
Tenth Degree Black Belt

Please log in to comment
0
hi..

When installing my application it's throwing error like " An error occurred while registering the file 'c:\program files\Common files\Microsoft Shared\DAO\DAO350.DLL"



Running "Regsvr32" in cmd as an admin, its sucessful in registering the dll but while installing same application afer un-installing, it's throwing same error.



I want a permanent change in the aplication so that when re-install it should not through the same error.

All DLL files required for the application to run is present in source file as a " .CAB" format so how can i proceed to avoid throwing same error.

I am using windows 7-32 bit
Answered 10/19/2011 by: pradeepsexy.kumar
Yellow Belt

Please log in to comment
0
I'm pretty sure there's a merge module for DAO 3.5. You should use this.
Answered 10/19/2011 by: pjgeutjens
Red Belt

Please log in to comment
0
can u please say in brief.... i am not getting it.
Answered 10/19/2011 by: pradeepsexy.kumar
Yellow Belt

Please log in to comment
0
have a read here and download the merge module in this thread, then include it in your package (under 'merge modules' or 'redistributables')

PJ
Answered 10/19/2011 by: pjgeutjens
Red Belt

Please log in to comment
0
Before any of that, read and digest Phil Wilson's The Definitive Guide To Windows Instaler. You will struggle with packaging without knowing the fundamentals. To even contemplate messing with a package without knowing what a merge module is...well, I edited out what I was going to write...
Answered 10/19/2011 by: VBScab
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity