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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T16:08:33+00:00 2026-06-17T16:08:33+00:00

I have added an app.config file in which hostaddress and port is mentioned. When

  • 0

I have added an app.config file in which hostaddress and port is mentioned.
When the application lanches , host address and port is reading from config file and using a opensource telnet library check the existence of the server.

<configuration>
  <configSections>
    <section name="SitesInfo" type="test"/>
  </configSections>
  <appSettings>
    <add key="ServerPort" value="123" />
    <add key="host" value="1.2.3.4"/>
  </appSettings>

</configuration>

Now my requirement is , i have to create a setup file for this project and while installing the .msi file a custom window should be displayed with a test button in which the host and port must be read from app.config and and check the existence of sever.

  • 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-06-17T16:08:33+00:00Added an answer on June 17, 2026 at 4:08 pm

    This is to much work to provide you with just a simple solution. However, this might help you into the right direction.


    Create a simple native DLL with the functionality you require.
    Embed this DLL in your MSI binaries. Note that you are not required to actually install this file to the target system.

    Insert a custom action in some of the install scripts, that will invoke a method on your DLL. I recommend using the InstallUISequence script as you do not want this logic to trigger when you’re using administrative installation. Place it somewhere before the actual installation begins.

    You can even create a custom window with labels, textboxes etc. and use those variables as parameters for your DLL. That way, it feels ‘native’ to the end user.

    This article on CodePlex is a very good tutorial for how to implement this.

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

Sidebar

Related Questions

I have a web app with the default Web.Config file which has 2 child
Is it possible to log WCF service exceptions? I have added in the app.config.
I am developing an app which listens to incoming sms. I have added the
am using the application in this link http://www.jeasyui.com/tutorial/app/crud2.php .I have added one more column
I have a Java app while parses input from a spreadsheet. I've added the
I have a program A , it also have an app.config file where I
I've built an application which loads statistics from an external xml file on the
I have an .NET 4 .exe (Winform Desktop app) to which I have added
I have created the app with forge, and have added in the chrome extension,
I am building an app using storyboard. I have added a table view to

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.