.dll file are not replacing when install new set up.
-
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.
-
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.
Have you ensured the assembly versions are being updated in the AssemblyInfo.cs file?
I know the language. I've read a book. - _Madmatt
-
Have you ensured the assembly versions are being updated in the AssemblyInfo.cs file?
I know the language. I've read a book. - _Madmatt
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.
-
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.
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.