I have two versions of the same application. I desire to install them to the aforementioned PC. When I install I get the error :

Another version of this product is already installed. Installation of this version cannot go on. To configure or remove the existing version of this production, use Add/Remove Programs on the Control Console.

Is there something I tin can practice in the version settings?

user avatar

Wilka

27.4k xiii gilded badges 72 silvery badges 96 statuary badges

asked May 17, 2022 at 8:52

user avatar

iii

  • Put them in dissimilar directories (like Microsoft Role does, for example). c:\Program Files\Visitor\Production\Version

    May 17, 2022 at 8:56

  • But software version is stored in registry. Even if you practice equally Adriano said, still information technology will give this fault.

    May 17, 2022 at viii:58

  • @NikhilAgrawal yep and no. I suppose he is using Windows Installer. Its behavior is defined in the installation project backdrop, how it works can be customized (if he wants to keep side-past-side installations) using ProductCode, Version and UpgradeCode properties.

    May 17, 2022 at nine:02

2 Answers 2

I am non sure why you need two version are installed in the aforementioned PC.

If yous want, you lot can change the version(please find screenshot below e.grand ii.seven => 2.8). There volition exist a popup windows that ask you lot to change ProductCode. If you say yep to the dialog. VS volition change your production code for you. You can install newer version.

enter image description here

answered May 17, 2022 at 9:44

user avatar

i

  • the second application crashes

    May 17, 2022 at 11:09

This MSDN Blog gives a good explaination of what the UpgradeCode, ProductCode and PackageCodes are used for. It looks like y'all will demand to change the UpgradeCode.

From higher up Link

the windows installer will use the UpgradeCode to make up one's mind if previous versions of this product are already present on the system.

answered May 17, 2022 at 9:06

user avatar

Not the answer you lot're looking for? Scan other questions tagged c# or ask your ain question.