Editable list box in an MSI installer

Posted on 2004-11-04
Last Modified: 2013-11-14
I am deploying a product that requires a list of IPs of other PCs that are allowed to connect to it.  These IPs are required at install-time.  Currently, I have a text field that takes a comma-delineated list of IPs.  I would much more prefer a list box with an add and delete button.

Is it possible and how would I implement an editable list box in an MSI dialog?
Question by:jlalande
    1 Comment
    LVL 5

    Accepted Solution

    I have a similar requirement for one of my programs, the way i accomplished this was to run a quick application i put together after the commit phase of the installation, which runs it after all the files have been copied. This application had a few list boxes and buttons which allowed me to add in ip's or computer names then save these to a delimited text file. Once all the details have been put in and the editing program closed the installer continues with any other commit tasks and then finishes. Give that a try, as placing a listbox in the msi itself would be extremely difficult (at least to my knowledge). Let me know how it goes.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    I have been scripting applications way too long and can never remember how to create an ISS file.  So I decided to write this article to act as my own knowledge base for future reference, and hope you will also benefit. An ISS file is a response …
    Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
    Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
    In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now