Hello All,
I have what should be a simple request, even though from all my google
searches I cannot get the proper syntax. I can correctly call a custom
action without any parameters.
I am converting an old Wise MSI to WIX:
Essentially in Wise I call my dll with 2 parameters, I really want to mimic
this in WIX
I have a C++ DLL with this entry point
extern "C" __declspec(dllexport) int InstallService(char* pszServiceName,
char* pszServiceFileName)
In Wix I can't figure out what the complete syntax to call my DLL with these
2 char*, Here is what I figured out so far, which compiles fine but my CA
never seems to get called
<Binary Id='CustomActionID' src='..\..\Release\CustomActions.dll'/>
<CustomAction Id='InstallService' BinaryKey='CustomActionID' DllEntry=
'InstallService'
Execute='deferred' Return='ignore'/>
<CustomAction Id="InstallServiceData" Return='check'
Property="InstallService"
Value='MyService, TestService.exe' />
<InstallExecuteSequence>
<Custom Action="InstallServiceData" Before="InstallService">NOT
Installed</Custom>
<Custom Action="InstallService" Before="InstallFinalize">NOT
Installed</Custom>
</InstallExecuteSequence>
Thanks for the help,
Marc
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users