We have a DLL that has a function PerlServiceExecOpt and it has 2 parameters.
NOTE: The passing parameters are of type UNICODE or wide character.
DLL NAME: TestDLL
FUNCTION: PerlServiceExecOpt "C:\Perl\bin\perl.exe", "-S C:\Program Files\Test\service.pl --install"
We have created 2 properties
PARAM1 value is "C:\Perl\bin\perl.exe"
PARAM2 value is "-S C:\Program Files\Test\service.pl --install"
these values are hard coded as of now but will be replaced by the properties.
We have written a CA: TestCA
Source Path: path of the DLL file
Source Type: DLL
Function Name: PerlServiceExecOpt [PARAM1] [PARAM2]
How should we pass the parameters to the DLL function?
We have tried out different options as
Function Name: PerlServiceExecOpt "C:\Perl\bin\perl.exe", "-S C:\Program Files\Test\service.pl --install"
but nothing seems to work and we alway get the message as "A DLL required for this install to complete could not be run.". Please suggest.
Where should we get/collect the return value of the DLL function?
Thanks in advance for you valuable time.
FOLLOW US
Get the latest news in Application Packaging