VS Prerequisites

Posted on 2012-09-10
Last Modified: 2012-09-17
When creating a Bootstrapper (prerequisites) for an deployment in Visual Studio.  How do you include subfolders for the prerequisites?

My Prerequisite has a setup.exe and setup.ini, but also a "supportfiles" directory with a bunch more stuff (cab,dlls, xml etc.).  I created a single directory with all of the files and built the installer but now the prerequisite doesn't install properly.

The redistrubutable folder that I am tring to include looks like the attachement.  I'd like to copy over this directory structure and then execuate the setup.exe as a prerequist to the application that follows.

Thanks for your help
Dave Gleason
Question by:Dave_Gleason
    LVL 83

    Accepted Solution

    Does it work if you just put the subfolder in? It allows you to put subfolders for localized files but worth trying by placing subfolder in.

    Author Comment

    Tried that,

    What seems to be the issue is within the PacakgeFile xml if Ispecify a directory and then file to include (for ex: <PackageFile Name="SupportFiles\resource.dll" />), the directory and file aren't created in the project debug folder.  

    To me that VS deployment wants all the cabs etc to be at the same level to build the prerequiste but that doesn't work for me because the third party reuses some files (same name different file size and probably rev).

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
    It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
    This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…
    how to add IIS SMTP to handle application/Scanner relays into office 365.

    761 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

    7 Experts available now in Live!

    Get 1:1 Help Now