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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T18:48:10+00:00 2026-05-26T18:48:10+00:00

I’m working on an installation and configuration application in C# for a project I’m

  • 0

I’m working on an installation and configuration application in C# for a project I’m working on, and I’m wondering what the best method of internally organising everything is.

Requirements:

  • Single executable for deployment, no other files bundled with it.
  • Has to support custom config steps on each panel, which contribute to a generated XML config file at the end.
  • Certain steps may be skipped based on certain choices made within the installer flow.
  • Must support dynamic config screens based on information fed back from classes in one of my libraries.

Here’s a description of my prototype:

  • A large form with a bunch of Panel controls, each representing one “screen” of the wizard. Each is named appropriately.
  • A class for each “screen”, deriving from a base type I defined. I call specific methods of it (e.g. Enter, Back, Forward) when certain events occur.
  • State is stored as a Dictionary<string,object>, which is passed to each screen. The final screen (the actual “Installing…” screen) reads config out of this and dumps it into the XML file.
  • Each screen’s code is responsible for handling the “Next” and “Prev” buttons, so I can control where it jumps to based on settings in the current screen.
  • A number of modules are stored in my library which provide information about extra config steps that need to be taken. I’m implementing this through reflection and automated UI generation.
  • Assets are stored in the resources of the executable.

I don’t want to use a generic installer package (e.g. InstallShield) because the logic is totally custom and calls upon one of my class libraries. What I would like to know is – am I setting this out in a really circuitous way? Is there a simpler or more standard way to wizard-style applications?

  • 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-26T18:48:11+00:00Added an answer on May 26, 2026 at 6:48 pm

    Here’s the short answer:

    A commercial tool is perfect for what you need because it supports both custom installation UI and dynamic XML files. Anything else requires a lot of learning and hard work.

    And the long explanation:

    A custom installation UI is not an easy task. Windows Installer offers built-in dialogs and controls, so it’s usually the best solution. You could also try a proprietary installation engine, but you will need to learn it.

    You’re also taking an incorrect approach by trying to control everything with custom code and classes. Most setup authoring tools offer direct support for handling the installation UI and XML files. Why try reinventing the wheel?

    So you basically need to find the setup authoring tool which is best for you. Here is a general list:
    http://en.wikipedia.org/wiki/List_of_installation_software

    The tools are either MSI-based or proprietary. Personally I prefer Windows Installer (MSI packages).

    Trying to implement all your tasks with custom code is just not worth it.

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

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I'm trying to use string.replace('’','') to replace the dreaded weird single-quote character: ’ (aka
I'm trying to create an if statement in PHP that prevents a single post
I'm working with an upstream system that sometimes sends me text destined for HTML/XML
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but
I would like to count the length of a string with PHP. The string
For some reason, after submitting a string like this Jack’s Spindle from a text

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.