[wix-users] How WixTools manage the upgrades?

Davide Perini perini.davide at dpsoftware.org
Mon Aug 17 17:11:22 PDT 2020


It's still unclear to me how to say to jpackage to create an "upgrade rule".
I know that this is the wix mailing list but I think that argument is 
strictly related to wix.

Is there any java users here?
Documentation is not clear on how to create an "uninstall and reinstall" 
binary.

Thanks


Il 17/08/2020 20.26, Steven Ogilvie ha scritto:
> You don't need to create an EXE to do upgrades...
>
> The MSI will do that for you... As long as the 'rules' are satisfied for an
> upgrade.
> I.e. in the case of a major upgrade the ProductCode has changed and 1 of the
> first 3 digits of the ProductVersion have changed...
>
> You can google that, i.e. using major upgrades using WiX...
>
> https://wixtoolset.org/documentation/manual/v3/howtos/updates/major_upgrade.
> html
> https://support.firegiant.com/hc/en-us/articles/230912187-Implement-major-up
> grade-
> https://www.firegiant.com/wix/tutorial/upgrades-and-modularization/
>
> These should help you out...
>
> Steve
>
>
>> -----Original Message-----
>> From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of
>> Davide Perini via wix-users
>> Sent: August 17, 2020 2:02 PM
>> To: wix-users at lists.wixtoolset.org
>> Cc: Davide Perini <perini.davide at dpsoftware.org>
>> Subject: Re: [wix-users] How WixTools manage the upgrades?
>>
>> CAUTION: This email appears to be from an external sender. Be vigilant
> when
>> clicking any link in the email or providing credentials.
>>
>> ATTENTION: Ce courriel semble provenir d'un domaine externe. Soyez
>> vigilant avec le contenu surtout les liens ou les demandes
> d'authentification.
>> I don't understand the purpose of Wix Toolset in this case.
>> Isn't Wix Toolset "a way to install software" in Windows?
>>
>> In Windows I can uninstall the software I installed with wix, how can I
> tell wix
>> to create an exe that does an inplace upgrade by removing the old
>> installation and installing a new version?
>>
>> Isn't this something that wix can do?
>>
>> Thanks,
>> Davide
>>
>> Il 17/08/2020 19.36, Markus Kramer via wix-users ha scritto:
>>> Edwin,
>>> In an Major Upgrade, how do you specify the condition for a Custom
>>> Action that shall only execute in an upgrade?
>>>
>>> I tried
>>> *     Installed AND NOT REMOVE*
>>> but in a Major Upgrade, the Custom Action was skipped (Condition not
>> met).
>>> Also, how do you schedule  RemoveExistingProducts early?
>>>
>>> Best Regards,
>>> Markus
>>>
>>> On Mon, Aug 17, 2020 at 4:58 PM Edwin Castro via wix-users <
>>> wix-users at lists.wixtoolset.org> wrote:
>>>
>>>> Do you mean WiX Toolset when you say WixTools? If yes, then you are
>>>> probably really asking how does the Windows Installer support
>>>> upgrades? The WiX Toolset is a collection of tools for authoring
>>>> Windows Installer packages.
>>>>
>>>>
>> https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdoc
>>>> s.microsoft.com%2Fen-us%2Fwindows%2Fwin32%2Fmsi%2Fpatching-
>> and-upgrad
>> es&data=02%7C01%7Cstogilvie%40genetec.com%7C3cac014083aa4fe38
>> cb80
>> 8d842d7bbd8%7C7ba8d2fb46604a19802e4d015a17e167%7C0%7C0%7C637332
>> 841621
>> 265324&sdata=%2FH9%2BGN7QIcejb2lHhl0wsnx2hitWgU49xWrsOCRW
>> MOc%3D&a
>>>> mp;reserved=0
>>>>
>>>> You'll see the answer is "it depends on how you author your MSI
>>>> package". I understand that answer isn't very satisfying but it is a
> correct
>> answer.
>>>> I author my MSI packages to "uninstall the old version and install
>>>> the new version" by using a Major Upgrade and schedule
>>>> RemoveExistingProducts early.
>>>>
>>>> --
>>>> Edwin G. Castro
>>>>
>>>> On Sun, Aug 16, 2020, 16:10 Davide Perini via wix-users <
>>>> wix-users at lists.wixtoolset.org> wrote:
>>>>
>>>>> As title.
>>>>> How WixTools manage the upgrades?
>>>>>
>>>>> Suppose that I have a version 1.0 installed, what happen if I
>>>>> install version 1.1 on it?
>>>>>
>>>>> DOes it uninstall the old version and reinstall the new one?
>>>>>
>>>>> Thanks
>>>>> Davide
>>>>>
>>>>>
>> __________________________________________________________
>> __________
>>>>> WiX Toolset Users Mailing List provided by FireGiant
>>>>>
>> https://can01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww
>> .firegiant.com%2F&data=02%7C01%7Cstogilvie%40genetec.com%7C3ca
>> c0
>> 14083aa4fe38cb808d842d7bbd8%7C7ba8d2fb46604a19802e4d015a17e167%7
>> C0%7
>> C0%7C637332841621265324&sdata=qEbIQZ5f%2FR8e6biTaouz2dOBmW
>> FAgikm
>>>>> IwDQq%2Fdq9LE%3D&reserved=0
>>>>>
>> __________________________________________________________
>> __________
>>>> WiX Toolset Users Mailing List provided by FireGiant
>>>>
>> https://can01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.
>> firegiant.com%2F&data=02%7C01%7Cstogilvie%40genetec.com%7C3cac
>> 014
>> 083aa4fe38cb808d842d7bbd8%7C7ba8d2fb46604a19802e4d015a17e167%7C0
>> %7C0%
>> 7C637332841621265324&sdata=qEbIQZ5f%2FR8e6biTaouz2dOBmWFAgi
>> kmIwDQ
>>>> q%2Fdq9LE%3D&reserved=0
>>>>
>> __________________________________________________________
>> __________
>>> WiX Toolset Users Mailing List provided by FireGiant
>>>
>> https://can01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.
>> f
>> iregiant.com%2F&data=02%7C01%7Cstogilvie%40genetec.com%7C3cac
>> 01408
>> 3aa4fe38cb808d842d7bbd8%7C7ba8d2fb46604a19802e4d015a17e167%7C0%7
>> C0%7C6
>> 37332841621265324&sdata=qEbIQZ5f%2FR8e6biTaouz2dOBmWFAgikmI
>> wDQq%2F
>>> dq9LE%3D&reserved=0
>>
>> __________________________________________________________
>> __________
>> WiX Toolset Users Mailing List provided by FireGiant
>> https://can01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.
>> firegiant.com%2F&data=02%7C01%7Cstogilvie%40genetec.com%7C3cac
>> 014083aa4fe38cb808d842d7bbd8%7C7ba8d2fb46604a19802e4d015a17e167%
>> 7C0%7C0%7C637332841621265324&sdata=qEbIQZ5f%2FR8e6biTaouz2d
>> OBmWFAgikmIwDQq%2Fdq9LE%3D&reserved=0




More information about the wix-users mailing list