Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6571175
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T14:50:56+00:00 2026-05-25T14:50:56+00:00

Hi I need to be able to call a web service from a WIX

  • 0

Hi I need to be able to call a web service from a WIX installer and I’m having a few issues.

I realise I need to add a custom action which will communicate with the service:

 [CustomAction]
    public static ActionResult Activate(Session session)
    {
        ActionResult result = ActionResult.Success;
        try
        {
            session.Log("Begin Activate");

            Debugger.Launch();

            //session["ACTIVATIONSERVICEURL"] = "http://localhost/ActivationService/V1/ActivationService.svc";
            //session["ACTIVATIONUSERNAME"] = "james";
            //session["ACTIVATIONPASSWORD"] = "Password123";

            //string endpoint = session["ACTIVATIONSERVICEURL"];
            //string username = session["ACTIVATIONUSERNAME"];
            //string password = session["ACTIVATIONPASSWORD"];

            //using (ActivationServiceClient client = new ActivationServiceClient("ASC", endpoint))
            //{
            //    client.ClientCredentials.UserName.UserName = username;
            //    client.ClientCredentials.UserName.Password = password;

            //    Guid userToken = client.Activate();
            //    session["USERTOKEN"] = userToken.ToString();
            //}

            session.Log("Finishing Activate");
        }
        catch (Exception ex)
        {
            session.Log("Exception caught: {0}", ex);
            result = ActionResult.Failure;
        }

        return result;
    }

I’ve managed to call this action but I’m having issues with a dialog “A DLL is required for this installation to complete”. It looks to be calling the service under InstallFinalize.

 <!-- Custom action for calling remote web service-->
    <CustomAction Id="CallActivationService"
          BinaryKey="ActivationServiceCustomAction"
          DllEntry="Activate"
          Return="check" />

   <Binary Id="ActivationServiceCustomAction"
        SourceFile="$(var.SolutionDir)\Application\ExternalAssemblies\MyCompany.Application.ActivationService.CA.dll" />

<Custom Action="CallActivationService" Before="InstallFinalize">Not Installed OR Installed</Custom>

The log just returns value 3:

MSI (s) (54:D0) [12:26:29:726]: Doing action: CallActivationService
Action 12:26:29: CallActivationService. 
Action start 12:26:29: CallActivationService.
MSI (s) (54:D0) [12:26:29:726]: Creating MSIHANDLE (32) of type 790542 for thread 1232
MSI (s) (54:4C) [12:26:29:726]: Invoking remote custom action. DLL:     C:\WINDOWS\Installer\MSI1BE8.tmp, Entrypoint: Activate
MSI (s) (54:4C) [12:26:29:773]: Closing MSIHANDLE (32) of type 790542 for thread 1232
MSI (s) (54:D0) [12:26:29:773]: Note: 1: 1723 2: CallActivationService 3: Activate 4:     C:\WINDOWS\Installer\MSI1BE8.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 CallActivationService, entry: Activate, library: C:\WINDOWS\Installer\MSI1BE8.tmp 
MSI (s) (54:D0) [12:26:56:679]: Product: My AppClient Application -- 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     CallActivationService, entry: Activate, library: C:\WINDOWS\Installer\MSI1BE8.tmp 
Action ended 12:26:56: CallActivationService. Return value 3.
Action ended 12:26:56: INSTALL. Return value 3.

Cheers,
J

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T14:50:56+00:00Added an answer on May 25, 2026 at 2:50 pm

    Figured it out. Issue was to do with using blocks around the proxy hiding the binding protocal exception the service was throwing (after other setup issues).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to call a web service written in .NET from Java. The web
I am making Map application and I have already able to call web service
I want to read a response from a non-wsdl web service call using JAXB.
My requirement is to call WCF web service from ASP.NET code behind and pass
I need to be able to start/stop a per-session GUI agent from a root
I have an asp.net web service that I want to consume from another asp.net
I need to make a change to an ASP.NET web service written a couple
Currently we call a web service to check if user has permission to use
I need to be able to extract and transform data from a data source
I am having some difficulty in deploying my WCF service alongside my ASP.NET web

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.