/build/static/layout/Breadcrumb_cap_w.png

regsvr CA problems

Hi,
I've got a problem with a CA which should register a dll file in my x64 package.

In the CustomAction table I have the following entry:
Action Type Source Target
regsvr 1634 System64Folder regsvr32.exe /s "%ProgramFiles%\bla\bla\bla.dll"

If I look to the logfile it says:
MSI (s) (44:9C) [09:13:59:571]: Executing op: ActionStart(Name=regsvr,,)
MSI (s) (44:9C) [09:13:59:571]: Executing op: CustomActionSchedule(Action=regsvr,ActionType=1634,Source=C:\Windows\system32\,Target=regsvr32.exe /s "%ProgramFiles%\bla\bla\bla.dll",)

CustomAction regsvr returned actual error code 3 but will be translated to success due to continue marking

The path to regsvr32.exe and the path to the dll file is defenatley right and I have no clue why I'am always getting
back an error code 3 from regsvr. Could someone give me a tip please?

KR

0 Comments   [ + ] Show comments

Answers (5)

Posted by: murali.bhat 13 years ago
Purple Belt
0
Try removing /S from the target path and see what error message appears in UI mode.
Posted by: Teitan 13 years ago
Senior Purple Belt
0
Thanks for the tip, it seems like the environment variable isn't correctly dissolved. I'am getting an
error which says "'%ProgramFiles%\bla\bla' is no correct path blabla" could anyone imagine why this
happens?
Posted by: murali.bhat 13 years ago
Purple Belt
0
try this in Target path : "[%ProgramFiles]\bla\bla.dll"
Posted by: anonymous_9363 13 years ago
Red Belt
0
...then, read up on how to register COM containers properly, using the various advertising tables. Using RegSvr32 and MSIExec /Y to register DLLs/OCXs is the mark of the amatuer.
Posted by: AngelD 13 years ago
Red Belt
0
I see you've changed from the devil to amateur, are both the same now? [&:]
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ