Visual Studio Packaging: Another version of this product is already installed

前端 未结 4 728
谎友^
谎友^ 2021-02-05 03:03

I have a msi created for a project which uses C# & Jscript. version-1.0 is currently public. I want to release a bug-fixed version v-1.0.1 of this package but while testing

4条回答
  •  没有蜡笔的小新
    2021-02-05 03:36

    steps to solve the error:

    1. Execute the following command from command prompt:

    msiexec /i program_name.msi /lv logfile.log

    where program_name.msi is the new version

    /lv is log Verbose output

    1. open up the logfile.log in the editor

    2. find the GUID in the log

    I found it in the following:

    Product Code from property table before transforms: '{GUID}'

    1. execute the msizap following command from the visual studio command prompt if you already have installed or get it from Microsoft website

      Windows SDK Components for Windows Installer Developers

    msizap.exe TWP {GUID}

    it did the trick and removed the installed service successfully.

    Extract from [SOLVED]Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel]2

提交回复
热议问题