Is there any possible way to perform upgrade when Product codes for old and new versions are same?

后端 未结 2 1972
时光取名叫无心
时光取名叫无心 2020-11-28 16:51

We have two installers build in WIX with the constraint that Product code has to remain same. On doing an upgarde from old to new, I get an error, \"The specifile account a

2条回答
  •  死守一世寂寞
    2020-11-28 17:20

    It depends what you mean by "upgrade" but there is no such thing as a major upgrade where the ProductCode stays the same. Keeping it the same is not a constraint, it's against what a major upgrade does. You should say why you believe it's a constraint to keep it the same, and if you decided it's a solution to a problem you haven't told us about.

    The error message is from a WiX util CreateUser custom action of some kind. You haven't specified what you have changed in your MSI file, but if you are just running your new MSI and it's got the same ProductCode then you are probably doing a repair, and that repair is running the CreateUser again and telling you it already exists. You should supply more info about your CreateUser.

    You'll also need to say what kind of upgrade you are doing (major, minor?) and if it's minor then what is your command line?

提交回复
热议问题