[wix-users] Installing Windows Service using WIX

Mufaddal Shafqat mufaddal.shafqat at outlook.com
Tue Jan 3 23:23:35 PST 2017


Hi,

I am trying to create an installer using WIX which installs a Windows Service. I have followed a guide provided in the link<http://avinashkt.blogspot.com/2007/05/how-to-create-installer-using-wix-which.html>, but for some reason I am not able to execute the Installer and getting an exception as follows:

MSI (s) (3C:DC) [19:54:24:816]: Executing op: CustomActionSchedule(Action=InstallService,ActionType=1025,Source=BinaryData,Target=ManagedInstall,CustomActionData=/installtype=notransaction /action=install  "C:\Program Files (x86)\Notifier Application\config.xml")
MSI (s) (3C:A8) [19:54:24:818]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI88E1.tmp, Entrypoint: ManagedInstall
MSI (s) (3C:44) [19:54:24:818]: Generating random cookie.
MSI (s) (3C:44) [19:54:24:822]: Created Custom Action Server with PID 4044 (0xFCC).
MSI (s) (3C:7C) [19:54:24:836]: Running as a service.
MSI (s) (3C:7C) [19:54:24:839]: Hello, I'm your 64bit Impersonated custom action server.
DEBUG: Error 2869:  The dialog ErrorDlg has the error style bit set, but is not an error dialog
MSI (c) (68:1C) [19:54:25:512]: Font created.  Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg

The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2869. The arguments are: ErrorDlg, ,
MSI (c) (68:1C) [19:54:26:232]: Product: Afiniti Notifier Application -- The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2869. The arguments are: ErrorDlg, ,

Error 1001.
MSI (s) (3C!8C) [19:54:26:233]:
MSI (s) (3C:A8) [19:54:26:235]: Leaked MSIHANDLE (17) of type 790531 for thread 5516
MSI (s) (3C:A8) [19:54:26:235]: Note: 1: 2769 2: InstallService 3: 1
DEBUG: Error 2769:  Custom Action InstallService did not close 1 MSIHANDLEs.
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2769. The arguments are: InstallService, 1,
CustomAction InstallService returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 19:54:26: InstallFinalize. Return value 3.


Can someone please help me identifying the mistake. I have attached the solution for your reference.


Looking forward for your reply.


Thank You


Regards,

Mufaddal


More information about the wix-users mailing list