fix(updater): check for updates on every Outlook startup, not every 7 days
Why v1.2.7→v1.2.8 didn't auto-install on Outlook restart: the manifest was published with <UpdateInterval>7</UpdateInterval> + units=days, which tells the VSTO runtime "don't even check the manifest URL more often than once a week." MinimumRequiredVersion (set by CI to the same tag version) would have forced the install — but only AFTER the check runs, and the check was throttled to weekly. Replace UpdateInterval/UpdateIntervalUnits with UpdatePeriodically=false. This omits the <expiration> element from the deployment manifest, which ClickOnce/VSTO interprets as "check before every host start." The extra HTTP GET on the .vsto manifest at Outlook launch is ~6KB, ~100ms — a non-issue for startup time, vs. the previous behavior where new releases sat unused on platform.dev for up to a week per user. From v1.2.9 onward, tag → CI publishes → next Outlook launch on each lawyer's PC installs it. This is what we wanted the auto-update chain to look like all along. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -36,11 +36,10 @@
|
|||||||
<PublishUrl>C:\Users\Chaim\source\repos\OutlookAddin\Publish\</PublishUrl>
|
<PublishUrl>C:\Users\Chaim\source\repos\OutlookAddin\Publish\</PublishUrl>
|
||||||
<InstallUrl>https://gitea.dev.marcus-law.co.il/espocrm-extensions/OutlookAddin/raw/branch/main/Publish/</InstallUrl>
|
<InstallUrl>https://gitea.dev.marcus-law.co.il/espocrm-extensions/OutlookAddin/raw/branch/main/Publish/</InstallUrl>
|
||||||
<TargetCulture>en</TargetCulture>
|
<TargetCulture>en</TargetCulture>
|
||||||
<ApplicationVersion>1.2.8.0</ApplicationVersion>
|
<ApplicationVersion>1.2.9.0</ApplicationVersion>
|
||||||
<AutoIncrementApplicationRevision>false</AutoIncrementApplicationRevision>
|
<AutoIncrementApplicationRevision>false</AutoIncrementApplicationRevision>
|
||||||
<UpdateEnabled>true</UpdateEnabled>
|
<UpdateEnabled>true</UpdateEnabled>
|
||||||
<UpdateInterval>7</UpdateInterval>
|
<UpdatePeriodically>false</UpdatePeriodically>
|
||||||
<UpdateIntervalUnits>days</UpdateIntervalUnits>
|
|
||||||
<ProductName>MarcusLaw.OutlookAddin</ProductName>
|
<ProductName>MarcusLaw.OutlookAddin</ProductName>
|
||||||
<PublisherName />
|
<PublisherName />
|
||||||
<SupportUrl />
|
<SupportUrl />
|
||||||
|
|||||||
@@ -33,6 +33,6 @@ using System.Security;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.2.8.0")]
|
[assembly: AssemblyVersion("1.2.9.0")]
|
||||||
[assembly: AssemblyFileVersion("1.2.8.0")]
|
[assembly: AssemblyFileVersion("1.2.9.0")]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user