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

  • Home
  • SEARCH
  • 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 284815
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T05:29:26+00:00 2026-05-12T05:29:26+00:00

I have an application that is a not so simple Windows service (C#). I

  • 0

I have an application that is a not so simple Windows service (C#). I created an installer using Visual Studio 2008, which did the job of installing the service on the clients machine, but using the Visual Studio deployment project has 2 drawbacks:

  1. I can’t seem to get the installer to build using MSBuild (i’ve tried the DevEnv.exe method). The service is a small piece of a much larger project, and I’d like the build of the MSI file to happen at the same time as my build does. I have used WiX for the other installers, but this particular application requires a configuration step in the setup.
  2. There seems to be a bug in VS 2008’s deployment project when installing windows services. On repair and upgrade, the service is never stopped. (caused by an invalid sequence for RemoveExistingProducts – i have worked around this by changing the sequence to 1525)

What is nice about VS2008’s deployment project is that I created a custom action that shows a form that gets some info from the user, connects to a WCF service, which retrieves data and stores it in an encrypted data store on their local machine for use by the service.

Now, I have looked high and low, and I don’t see this being possible with WiX. Running an EXE after the program has installed isn’t ‘nice’. I’d like to be able to call a method in my Custom Action DLL that displays the form, and does the processing it needs to. Is there any way of doing this with WiX? — or even, create a custom GUI in WiX that gets the values and passes these values to a method for processing

So, questions:

  1. Is this possible with WiX?
  2. What are my alternatives if not?

Many thanks

  • 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-12T05:29:26+00:00Added an answer on May 12, 2026 at 5:29 am

    The answer to your question #1 is yes, but it’s a little involved. You can define dialogs to collect info from the user with the UI element and store it session properties. You can insert these dialogs into the flow with the Publish element. You can then create a vb script CustomAction and do just about anything with those session properties. Check out this tutorial for more.

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

Sidebar

Ask A Question

Stats

  • Questions 277k
  • Answers 277k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Try with an istream* instead. Note, however, that you have… May 13, 2026 at 3:03 pm
  • Editorial Team
    Editorial Team added an answer After you've run a number of different sets of values… May 13, 2026 at 3:03 pm
  • Editorial Team
    Editorial Team added an answer Why not code your initialization as your own jQuery add-on?… May 13, 2026 at 3:03 pm

Related Questions

I have an application that was developed for Linux x86 32 bits. There are
I have an application that is running Jaxb 2.1.12. I am running JDK 1.5
I have an application that reads lines from a file and runs its magic
I am writing an application that logs status updates (GPS locations) from devices to

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.