Saturday, February 5, 2011

Deploy using a Setup and Deployment Project

Procedures for deploying Visual C++ library DLLs as shared assemblies

Create a Setup and Deployment Project

  1. From the File menu, click New Project, open the Other Project Types node and select Setup and Deployment, then click Setup Project give a name and press OK.
  2. Add the EXE and DLL to the project and specify where they should be installed on the target computer
  3. From the Project menu, choose Add and click File.
  4. Find the folder containing MyApplication.exe and MyLibrary.DLL and select them both.
  5. In the File System window, right click on Application Folder, point to Add and click Create to create a new folder and name it.
  6. Build setup.exe
  7. Run setup.exe

    • Your application is installed in the specified target folder.

No comments:

Post a Comment

Which Programming language you prefer?