Installer project

Add-in Express™ Support Service
That's what is more important than anything else

Installer project
Installer project does not uninstall previous versions of my program. 
Benn Kjaer




Posts: 11
Joined: 2019-01-28
My Addin Express Installer project for my Outlook addin, does not uninstall previous versions of my program.

RemovePreviousVersions = true

What else do I need to make it work ?

I'm in VS 2017 version 15.9.17

Best regards
Benn
Posted 21 Nov, 2019 09:19:18 Top
Andrei Smolin


Add-in Express team


Posts: 17360
Joined: 2006-05-11
Hello Benn,

That is, you run an .MSI to install some version and when you prepare an .MSI for the next version and run it then what? What occurs next? Errors? Messages?

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 21 Nov, 2019 10:02:16 Top
Benn Kjaer




Posts: 11
Joined: 2019-01-28
Hi Andrei

Sorry, bad description.

Hope this is better.
1. Create a new version
1.1 Change version
1.2 Change Upgrade code
1.3 Keep Product code

2. Run .msi
Question: Installation already exists. Please uninstall before........

Best regards
Benn
Posted 21 Nov, 2019 11:20:01 Top
Benn Kjaer




Posts: 11
Joined: 2019-01-28
Hi Andrei

This issue is quite urgent, since we must have a new version out today.

Looking forward to hear from you.
Posted 22 Nov, 2019 02:32:52 Top
Andrei Smolin


Add-in Express team


Posts: 17360
Joined: 2006-05-11
Hello Benn,

This is an issue in the documentation. You need to modify it in case of ClickTwice. If you do not change it and publish the build, the corresponding record in version_info.xml is *replaced* because information published is completely the same that is stored in version_info.xml.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 22 Nov, 2019 02:45:41 Top
Benn Kjaer




Posts: 11
Joined: 2019-01-28
Hi Andrei

What is the tag for "Remove previous verson" in the version_info.xml fil?

I have checked the option under "Deployment".

And now even with no previous version of my add-in installed it still says:
"Another version of this product has already been installed........."
Posted 22 Nov, 2019 03:48:15 Top
Andrei Smolin


Add-in Express team


Posts: 17360
Joined: 2006-05-11
Hello Benn,

It is stored in the MSI itself. Getting this message means your add-in is still installed.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 22 Nov, 2019 04:25:57 Top