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. C#
  4. Instalation

Instalation

Scheduled Pinned Locked Moved C#
questioncsharpgraphicsgame-devwindows-admin
4 Posts 3 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.
  • T Offline
    T Offline
    thomasa
    wrote on last edited by
    #1

    Hey I'm trying to crate a installation CD for my application. Things I need to install from the CD - My application: It's constructed in a way that I only need all items in one folder, no registry enterys, so I only need the "Release" folder copyed to the hard-disk - .Net 1.1 - DirectX 8.0 or higher + A desktop shortcut How can I do this the easy way? Any examples? Thanks Thomas

    O H 2 Replies Last reply
    0
    • T thomasa

      Hey I'm trying to crate a installation CD for my application. Things I need to install from the CD - My application: It's constructed in a way that I only need all items in one folder, no registry enterys, so I only need the "Release" folder copyed to the hard-disk - .Net 1.1 - DirectX 8.0 or higher + A desktop shortcut How can I do this the easy way? Any examples? Thanks Thomas

      O Offline
      O Offline
      OBRon
      wrote on last edited by
      #2

      In Visual Studio, create a new project. Select a type of Setup and Deployment Projects. Then pick Setup Project or use the Setup Wizard. It's pretty self explanatory.

      H 1 Reply Last reply
      0
      • T thomasa

        Hey I'm trying to crate a installation CD for my application. Things I need to install from the CD - My application: It's constructed in a way that I only need all items in one folder, no registry enterys, so I only need the "Release" folder copyed to the hard-disk - .Net 1.1 - DirectX 8.0 or higher + A desktop shortcut How can I do this the easy way? Any examples? Thanks Thomas

        H Offline
        H Offline
        Heath Stewart
        wrote on last edited by
        #3

        You need a bootstrapper to do this (at least .NET). There are several examples of this on CodeProject, like Enhanced .NET Bootstrap Setup[^]. If you're using Managed DirectX 9.0b (DirectX for .NET - not just wrappers but written from the ground-up for .NET), you can nest the MSI installation into your MSI package, but VS.NET's Windows Installer project won't allow you do this. You need a professional package developer (like Wise for Windows Installer[^]) or hack it into the MSI package after compiling it using a tool like Orca (available in the Windows Installer SDK from http://msdn.microsoft.com/platformsdk[^]). If you need to install DirectX, you can bootstrap that as well, or include the redist executable as a custom action to be executed at a certain point in your installation. Again, VS.NET's Windows Installer project won't let you do this since it's UI is very limited. There are instructions for boostrapping this setup on the DirectX web site at http://msdn.microsoft.com/directx[^].

        Microsoft MVP, Visual C# My Articles

        1 Reply Last reply
        0
        • O OBRon

          In Visual Studio, create a new project. Select a type of Setup and Deployment Projects. Then pick Setup Project or use the Setup Wizard. It's pretty self explanatory.

          H Offline
          H Offline
          Heath Stewart
          wrote on last edited by
          #4

          That won't even begin to help him. The .NET Framework installation must be bootstrapped. The merge module include in the setup is only there so that BCL assemblies won't be automatically added as local assemblies, nor should any install install them into the GAC (which, if .NET isn't installed prior to the Windows Installer MSI package being installed, there won't even be a GAC). It will not install the .NET Framework. This is also documented in the Visual Studio product documentation. Additionally, while separate installations can be added as custom actions to be executed as a specific time, it is difficult to say the least to do this with VS.NET's very limited Windows Installer project. Either bootstrapping the DirectX installation (if it needs to be installed) or including it as a separate installation to be executed asynchronously with the main MSI package (typically after installation, without waiting for an execution return) needs to be done. VS.NET's Windows Installer project is hardly an option. If it is used, more work is required to bootstrap the additional installations needed (especially the .NET Framework).

          Microsoft MVP, Visual C# My Articles

          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