CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2008
    Posts
    21

    Setup project question.

    If I want to create a setup project in Visual Studio to install an add-on to an application (let's say AutoCAD), but I have more versions of that program in several different folders in the Program Files folder, how do provide the user with an option to pick between those folders? I know how to search for files in the Launch Condition Editor (in this case I search acad.exe which is executable for AutoCAD), but how to present to the user the names of those folders where those files are located at, let's say AutoCAD 2005, AutoCAD 2006, AutoCAD 2007, so that he could pick a folder on which version he wants to install the add-on? Do I have to use a Custom Action in this case, to acomplish this? Or is there a simpler way?

  2. #2
    Join Date
    Nov 2008
    Posts
    21

    Re: Setup project question.

    I found a solution here: http://nsis.sourceforge.net/Detectin...rsion_and_path. If someone has an idea how to accomplish the sme in Visual Studio, I'm open for suggestions. Thanks.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured