I am trying to create an installer with a very simple .net windows service, which acts as a host to a WCF service ( i.e. self-hosting).
The trivial example and entire code is here: http://msdn.microsoft.com/en-us/library/ms733069.aspx
I am using Custom Action to execute a .NET dll with the [RunInstaller(true)] attribute as described here: http://www.advancedinstaller.com/user-g ... #section37
When running with the .NET util app: InstallUtil it works fine, but when I use Adv. Installer Custom Action it just fails on the install, saying there was a problem with .NET Dll. It is in the "Install" group for Custom actions and left defaults as they seemed correct.
Any help appreciated, or if more info is needed let me know.
I did want to paste installer log here, that I think is relevant:
Code: Select all
MSI (s) (C8:14) [18:08:38:070]: Executing op: ActionStart(Name=dotNetCustAct.dll,,)
Action 18:08:38: dotNetCustAct.dll.
MSI (s) (C8:14) [18:08:38:085]: Executing op: CustomActionSchedule(Action=dotNetCustAct.dll,ActionType=3073,Source=BinaryData,Target=InstallDotNetService,CustomActionData=/LogFile="C:\Program Files\Acme\Acme Test WCF Service\\InstallerLogFile.txt" /ReqVersion=2.0.50727 /InstallType=notransaction /Action=Install "C:\Program Files\Acme\Acme Test WCF Service\WCFService.exe" "C:\DOCUME~1\johndoe\LOCALS~1\Temp\dotNetCustAct.dll_Config.xml")
MSI (s) (C8:80) [18:08:38:101]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSIAD.tmp, Entrypoint: InstallDotNetService
MSI (s) (C8:E8) [18:08:38:101]: Generating random cookie.
MSI (s) (C8:E8) [18:08:38:101]: Created Custom Action Server with PID 5520 (0x1590).
MSI (s) (C8:98) [18:08:38:132]: Running as a service.
MSI (s) (C8:98) [18:08:38:148]: Hello, I'm your 32bit Elevated custom action server.
MSI (s) (C8:14) [18:08:38:163]: Note: 1: 1723 2: dotNetCustAct.dll 3: InstallDotNetService 4: C:\WINDOWS\Installer\MSIAD.tmp
Error 1723. There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor. Action dotNetCustAct.dll, entry: InstallDotNetService, library: C:\WINDOWS\Installer\MSIAD.tmp
MSI (s) (C8:14) [18:10:46:288]: Product: Acme Test WCF Service -- Error 1723. There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor. Action dotNetCustAct.dll, entry: InstallDotNetService, library: C:\WINDOWS\Installer\MSIAD.tmp
Action ended 18:10:46: InstallExecute. Return value 3.