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 96911
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T23:54:14+00:00 2026-05-10T23:54:14+00:00

I am working on a .NET 3.5 project which consists of a web application

  • 0

I am working on a .NET 3.5 project which consists of a web application and a Windows service. Both need to be deployed on the server machine.

I have created an msi package using Wix 3 which installs the application files, creates shortcuts and registers the service.

My next task is to implement the following:

  • Post-install step that allows configuration of the Windows service through a wizard-style GUI
  • Pre-install step that allows installation settings to be loaded from a file
  • Pre-uninstall step that allow configuration to be backed up to a file

I see two options before me:

  • Tweak msi to do what I want through custom actions
  • Create a wrapper for the msi (Setup.exe) that will handle all the custom tasks and run the msi package silently in the background using msiexec

Ideally. I would like to go with option 2. What are your thoughts?

Any recommendations would be greatly appreciated.

Thanks,

Arnie

  • 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. 2026-05-10T23:54:15+00:00Added an answer on May 10, 2026 at 11:54 pm

    A wrapper around the msi will not be able to handle task #3 if they remove via Add/Remove programs, or msiexec using the product ID. I would go with a custom action, or a side utility that could be spawned by the msi.

    It depends on the amount of configuration the service needs. For some of our small config files that just need the server name updated in the connection string we use a util:XmlFile element to update the file during install.

    We also have a configuration utility that is more involved that we conditionally launch at the end of install using

    For loading settings from a file, you could either do this with a custom action, then using those settings update config files on install with XmlFile or custom actions. Or make ‘load settings from file’ an option of the wizard gui and launch that post install.

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

Sidebar

Ask A Question

Stats

  • Questions 72k
  • Answers 72k
  • 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
  • added an answer In your code, send 'SET SESSION sql_log_bin=0' to MySQL before… May 11, 2026 at 1:46 pm
  • added an answer If you sort out your text file such that the… May 11, 2026 at 1:46 pm
  • added an answer Make sure you're not using the Application level cache in… May 11, 2026 at 1:46 pm

Related Questions

No related questions found

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.