/bundles/itninjaweb/img/Breadcrumb_cap_w.png
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   [ - ] Hide 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.
Answer this question or Comment on this question for clarity

Answers

0
Try removing /S from the target path and see what error message appears in UI mode.
Answered 12/16/2010 by: murali.bhat
Purple Belt

Please log in to comment
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?
Answered 12/16/2010 by: Teitan
Senior Purple Belt

Please log in to comment
0
try this in Target path : "[%ProgramFiles]\bla\bla.dll"
Answered 12/16/2010 by: murali.bhat
Purple Belt

Please log in to comment
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.
Answered 12/16/2010 by: VBScab
Red Belt

Please log in to comment
0
I see you've changed from the devil to amateur, are both the same now? [&:]
Answered 01/05/2011 by: AngelD
Red Belt

Please log in to comment