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. .dll file are not replacing when install new set up.

.dll file are not replacing when install new set up.

Scheduled Pinned Locked Moved C#
tutorialhelpannouncementworkspace
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.
  • J Offline
    J Offline
    jainiraj
    wrote on last edited by
    #1

    Hi to all, I have made a set up of a project which use some dll files.When I install the setup with version say 1.0, it is installed properly. I have another set up of same project but this updated say 2.0 Now I nstall 2.0 without uninstalling 1.0 to the same path(path of 1.0). 2.0 replace the 1.0 but those dll files are not replacing, still there are dll files of 1.0 are present. Please guide me how to solve the problem. Thanks in adv.

    N 1 Reply Last reply
    0
    • J jainiraj

      Hi to all, I have made a set up of a project which use some dll files.When I install the setup with version say 1.0, it is installed properly. I have another set up of same project but this updated say 2.0 Now I nstall 2.0 without uninstalling 1.0 to the same path(path of 1.0). 2.0 replace the 1.0 but those dll files are not replacing, still there are dll files of 1.0 are present. Please guide me how to solve the problem. Thanks in adv.

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      Have you ensured the assembly versions are being updated in the AssemblyInfo.cs file?


      I know the language. I've read a book. - _Madmatt

      J 1 Reply Last reply
      0
      • N Not Active

        Have you ensured the assembly versions are being updated in the AssemblyInfo.cs file?


        I know the language. I've read a book. - _Madmatt

        J Offline
        J Offline
        jainiraj
        wrote on last edited by
        #3

        Thanks for ur replay. I have changed the version in AssemblyInfo.cs. Let me tell what are the versions- Initially there was 1.0.0.0 version and then I changed it to 1.0.3.0. Please can u tell me what settings we do in installer so that older overwrites the new.

        P 1 Reply Last reply
        0
        • J jainiraj

          Thanks for ur replay. I have changed the version in AssemblyInfo.cs. Let me tell what are the versions- Initially there was 1.0.0.0 version and then I changed it to 1.0.3.0. Please can u tell me what settings we do in installer so that older overwrites the new.

          P Offline
          P Offline
          patzerFish
          wrote on last edited by
          #4

          I just had a similar problem. Get Orca, a program which is part of the Microsoft SDK. Open your .msi installer file in Orca. Select properties from the left hand side. Insert a new row into the table: - Property: REINSTALLMODE - Value: amus This will cause your installer to overwrite previous versions when installing. Remember for each release that you need to update the Version property for the Setup project, which (in VS 2008) will prompt you to create a new ProductCode GUID.

          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