MBrink
Posts: 5
Joined: Fri Sep 29, 2017 11:31 am

Failure installing .NET service using .NET installer Class Action

Hello,

I have a problem with the installer trying to install a .NET service using a .NET installer Class Action on a 32 bit Windows OS (in this case Win 7 pro 32bit).
The 64 bit just installs without any problems.

The installer shows an error message:
There was a problem with the Windows Installer. A DLL could not be started.

The log shows the following:

Code: Select all

MSI (s) (04:00) [10:33:37:014]: Executing op: ActionStart(Name=InstallNotificationService_x86,Description=Installeren Coach Notification Service (x86),)
Actie 10:33:37: InstallNotificationService_x86. Installeren Coach Notification Service (x86)
MSI (s) (04:00) [10:33:37:045]: Executing op: CustomActionSchedule(Action=InstallNotificationService_x86,ActionType=3073,Source=BinaryData,Target=LaunchDotNetCustomAction,CustomActionData=/LogFile= /ReqVersion=4.0.30319 /InstallType=notransaction /Action=Install "C:\Program Files\Coach\Notification\CoachNotificationService.exe" "C:\Users\Marcel\AppData\Local\Temp\CoachNotificationService_Config.xml")
MSI (s) (04:DC) [10:33:37:045]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI7318.tmp, Entrypoint: LaunchDotNetCustomAction
CustomAction InstallNotificationService_x86 returned actual error code 1157 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (s) (04:00) [10:33:38:436]: Note: 1: 1723 2: InstallNotificationService_x86 3: LaunchDotNetCustomAction 4: C:\Windows\Installer\MSI7318.tmp 

When just install the service through the command prompt. (C:\Windows\Microsoft.NET\Framework\v4.0.3019\installUtil "full path to Exe" it simply just installs.

Any ideas ?
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Failure installing .NET service using .NET installer Class Action

Hello,

I'm not sure why this happens. Can you please send us the .AIP (project file) and a full verbose log of the installation to support at advancedinstaller dot com so we can investigate them?

You should try to troubleshoot from your custom action code what exactly fails from your CA functionality.

Also, if you have VS installed on such a machine (Win 7 32 bit) you can try to debug your Net Installer CA code.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”