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. Attach autorun.inf to setup

Attach autorun.inf to setup

Scheduled Pinned Locked Moved C#
questioncsharpvisual-studioannouncementworkspace
3 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.
  • L Offline
    L Offline
    lukeer
    wrote on last edited by
    #1

    Hi experts, there is an application for which I created a setup project in Visual Studio 2008 Standard Edition. The setup is to be burnt onto CD. After being inserted in a CD drive, setup shall start automatically. I created an "Autorun.inf" that should be in the CD root directory along with the setup.exe. I can copy it there before burning the CD, but I would prefer it to be copied automatically during setup project build. How can I make a file to be copied to setup project's bin\release directory (Not the application directory but the one with setup.exe, setup.msi, DotNetFX and WindowsInstaller3_1)?

    Ciao, luker

    L 1 Reply Last reply
    0
    • L lukeer

      Hi experts, there is an application for which I created a setup project in Visual Studio 2008 Standard Edition. The setup is to be burnt onto CD. After being inserted in a CD drive, setup shall start automatically. I created an "Autorun.inf" that should be in the CD root directory along with the setup.exe. I can copy it there before burning the CD, but I would prefer it to be copied automatically during setup project build. How can I make a file to be copied to setup project's bin\release directory (Not the application directory but the one with setup.exe, setup.msi, DotNetFX and WindowsInstaller3_1)?

      Ciao, luker

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      I don't know what this has to do with C#, but you could copy your file manually or just set its build properties to custom and use a copy statement which is executed during the project build process.

      Unrequited desire is character building. OriginalGriff

      L 1 Reply Last reply
      0
      • L Lost User

        I don't know what this has to do with C#, but you could copy your file manually or just set its build properties to custom and use a copy statement which is executed during the project build process.

        Unrequited desire is character building. OriginalGriff

        L Offline
        L Offline
        lukeer
        wrote on last edited by
        #3

        My fault. I'm used to code in C# but in this case the Visual Studio forum seems more appropriate. Let's continue there[^].

        Ciao, luker

        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