Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Studio
  4. Deploying in Visual Studio.net 2003

Deploying in Visual Studio.net 2003

Scheduled Pinned Locked Moved Visual Studio
csharpvisual-studiotutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    chandan88
    wrote on last edited by
    #1

    Hi, i would like to know how to deploy a windows app and convert to to exe so that it can run on any other pc. I cant find it. Thx :((

    Chandanx

    J 1 Reply Last reply
    0
    • C chandan88

      Hi, i would like to know how to deploy a windows app and convert to to exe so that it can run on any other pc. I cant find it. Thx :((

      Chandanx

      J Offline
      J Offline
      John Ad
      wrote on last edited by
      #2

      Hi Chandanx, To deploy your Windows applications, you must create a Setup Project and add the necessary components to your project. 1. Creating a Setup Project for Windows Applications In this section, you need to create a Setup Project from the deployment projects available in Visual Studio. You need to have a completed Windows application that uses at least one of the report binding scenarios. See Detailed Listing of All Report Binding Scenarios blog posting. To create a deployment project for Windows applications 1.In Visual Studio, open your Windows application. 2.On the File menu, point to Add Project and then click New Project. 3.In the Add New Project dialog box, select Setup and Deployment Projects in the Project Types pane and select Setup Project in the Templates pane. 2. Adding Components to the Setup Project You must add output files from the Windows application, and merge modules to the Setup Project. To add the Windows application's project output 1.In Solution Explorer, right-click Setup1, point to Add, and then click Project Output.... 2.In the Add Project Output Group dialog box, select Primary output. When Primary output is added to your project, dependencies are added automatically: •ADODB.dll •crystalreports10_net_webservicereporting.msm •dotnetfxredist_x86_enu.msm (excluded from the project) •stdole.dll 3.Right-click the following files and select Exclude: ADODB.dll, crystalreports10_net_webservicereporting.msm, and stdole.dll. To add merge modules to the Setup Project 1. In Solution Explorer, right-click Setup1, point to Add, and then click Merge Module.... 2. In the Add Modules dialog box, select the merge modules that are required for the report binding scenario used in your Windows application. For a description of which merge modules to use for different report binding scenarios, see Crystal Reports Merge Modules blog posting. If you added CrystalReports10_NET_EmbeddedReporting.msm, you must enter a valid Crystal Reports Keycode, as shown in the next step. 3. In Solution Explorer, click CrystalReports10_NET_EmbeddedReporting.msm. In the Properties window, expand MergeModuleProperties and scroll down to the Keycode property. Enter the keycode for Crystal Reports 10. 3. Building and Deploying the Setup Project Building the Setup Project creates an installer that you can deploy to other computers. Note When deploying to other computers, always ensure that the computer already has the .NET Framework installed. To build a

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups