Skip to content

Commit

Permalink
Fix updater popups (hopefully)
Browse files Browse the repository at this point in the history
  • Loading branch information
KitsuneDev committed Mar 4, 2021
1 parent b69f294 commit 87304ec
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 14 deletions.
10 changes: 5 additions & 5 deletions Installer/DropMeter.aip
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
<ROW Property="AppLogoIcon" Value="applogoicon" MultiBuildValue="DefaultBuild:logo.png" Type="1" MsiKey="AppLogoIcon"/>
<ROW Property="CTRLS" Value="2"/>
<ROW Property="Manufacturer" Value="GabrielTK"/>
<ROW Property="ProductCode" Value="1033:{1C35C840-C590-4BEC-89E9-D1A2011E7DF6} " Type="16"/>
<ROW Property="ProductCode" Value="1033:{25CEB99A-0E5D-489C-AC6A-09711ECF2C2B} " Type="16"/>
<ROW Property="ProductLanguage" Value="1033"/>
<ROW Property="ProductName" Value="DropMeter"/>
<ROW Property="ProductVersion" Value="1.0.2" Type="32"/>
<ROW Property="ProductVersion" Value="1.0.4" Type="32"/>
<ROW Property="SecureCustomProperties" Value="OLDPRODUCTS;AI_NEWERPRODUCTFOUND;AI_SETUPEXEPATH;SETUPEXEDIR"/>
<ROW Property="UpgradeCode" Value="{520B4146-B6CD-44E6-B359-E573466627F8}"/>
<ROW Property="WindowsType9X" MultiBuildValue="DefaultBuild:Windows 9x/ME" ValueLocId="-"/>
Expand All @@ -41,7 +41,7 @@
<ROW Directory="swiftshader_Dir" Directory_Parent="APPDIR" DefaultDir="SWIFTS~1|swiftshader"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiCompsComponent">
<ROW Component="AI_CustomARPName" ComponentId="{76FA5A7C-34CA-4FE9-900D-1F1A8E798DF6}" Directory_="APPDIR" Attributes="4" KeyPath="DisplayName" Options="1"/>
<ROW Component="AI_CustomARPName" ComponentId="{7362FB48-1C39-4EF8-901D-AF9A9AF402F5}" Directory_="APPDIR" Attributes="4" KeyPath="DisplayName" Options="1"/>
<ROW Component="AI_ExePath" ComponentId="{7FA61F73-96C3-4F64-9669-F3EC8C7AA543}" Directory_="APPDIR" Attributes="4" KeyPath="AI_ExePath"/>
<ROW Component="APPDIR" ComponentId="{A72447CD-26A1-4B10-A6DE-2E670CCC287F}" Directory_="APPDIR" Attributes="0"/>
<ROW Component="ApplicationDescription" ComponentId="{4B96738A-A700-4C44-8066-4B9E5EAF5EE2}" Directory_="APPDIR" Attributes="4" Condition="(VersionNT &gt;= 600)" KeyPath="ApplicationDescription"/>
Expand Down Expand Up @@ -469,7 +469,7 @@
<ROW IniFile="ApplicationVersion" FileName="updater.ini" DirProperty="APPDIR" Section="General" Key="ApplicationVersion" Value="[ProductVersion]" Action="0" Component_="updater.exe"/>
<ROW IniFile="CheckFrequency" FileName="updater.ini" DirProperty="APPDIR" Section="General" Key="CheckFrequency" Value="2" Action="0" Component_="updater.exe"/>
<ROW IniFile="CompanyName" FileName="updater.ini" DirProperty="APPDIR" Section="General" Key="CompanyName" Value="[Manufacturer]" Action="0" Component_="updater.exe"/>
<ROW IniFile="DefaultCommandLine" FileName="updater.ini" DirProperty="APPDIR" Section="General" Key="DefaultCommandLine" Value="/checknow" Action="0" Component_="updater.exe"/>
<ROW IniFile="DefaultCommandLine" FileName="updater.ini" DirProperty="APPDIR" Section="General" Key="DefaultCommandLine" Value="/checknow -minuseractions" Action="0" Component_="updater.exe"/>
<ROW IniFile="DownloadsFolder" FileName="updater.ini" DirProperty="APPDIR" Section="General" Key="DownloadsFolder" Value="[CommonAppDataFolder][Manufacturer]\[ProductName]\updates\" Action="0" Component_="updater.exe"/>
<ROW IniFile="Flags" FileName="updater.ini" DirProperty="APPDIR" Section="General" Key="Flags" Value="PerMachine|ShowConfigOptionsButton" Action="0" Component_="updater.exe"/>
<ROW IniFile="ID" FileName="updater.ini" DirProperty="APPDIR" Section="General" Key="ID" Value="[UpgradeCode]" Action="0" Component_="updater.exe"/>
Expand Down Expand Up @@ -612,6 +612,6 @@
<ROW TaskId="AI_updater" TaskName="DropMeter Updater" Run="[#updater.exe]" WorkDir="[APPDIR]" UserProp="[%UserDomain]\[LogonUser]" StartTime="0" Flags="25600" Trigger="1|1|1|1|0|0|0|" Condition="1" TaskVersion="2.0"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.UpdaterComponent">
<ROW Updater="updater.exe" URL="URL" SearchFreq="CheckFrequency" DownloadsFolder="DownloadsFolder" ID="ID" TargetDir="AppDir" AppName="ApplicationName" AppVersion="ApplicationVersion" CompanyName="CompanyName" DefCommandLine="DefaultCommandLine" SupportServiceName="SupportServiceName" Flags="Flags" IconIndex="0" UnistallCASeq="AI_UPDATER_UNINSTALL" SupportServiceCASeq="AI_UPDATER_SERVICE_CONFIG" SupportService="updater" SupportServiceCtrl="updater" TaskId="AI_updater" Description="[|UpdaterName] [|ProductVersion]"/>
<ROW Updater="updater.exe" URL="URL" SearchFreq="CheckFrequency" DownloadsFolder="DownloadsFolder" ID="ID" TargetDir="AppDir" AppName="ApplicationName" AppVersion="ApplicationVersion" CompanyName="CompanyName" DefCommandLine="DefaultCommandLine" SupportServiceName="SupportServiceName" Flags="Flags" IconPath="..\DropMeter\bin\Release\x64\Publish\DropMeter.exe" IconIndex="0" UnistallCASeq="AI_UPDATER_UNINSTALL" SupportServiceCASeq="AI_UPDATER_SERVICE_CONFIG" SupportService="updater" SupportServiceCtrl="updater" TaskId="AI_updater" Description="[|UpdaterName] [|ProductVersion]"/>
</COMPONENT>
</DOCUMENT>
30 changes: 21 additions & 9 deletions Installer/Updates.aip
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,27 @@
<ROW Section="1.0.2" Key="ServerFileName" Value="Install DropMeter-1.0.2.exe" ValueLocId="-"/>
<ROW Section="1.0.2" Key="RegistryKey" Value="HKUD\Software\GabrielTK\DropMeter\Version" ValueLocId="-"/>
<ROW Section="1.0.2" Key="Version" Value="1.0.2.0" ValueLocId="-"/>
<ROW Section="Update" Key="Name" Value="DropMeter 1.0.3"/>
<ROW Section="Update" Key="ProductVersion" Value="1.0.2.0" ValueLocId="-"/>
<ROW Section="Update" Key="URL" Value="https://github.com/GabrielTK/DropMeter/releases/download/1.0.3/Install.DropMeter.x64.exe" ValueLocId="-"/>
<ROW Section="Update" Key="Size" Value="Output\Bundled\Install DropMeter-1.0.3.exe" ValueLocId="-"/>
<ROW Section="Update" Key="SHA256" Value="Output\Bundled\Install DropMeter-1.0.3.exe" ValueLocId="-"/>
<ROW Section="Update" Key="MD5" Value="Output\Bundled\Install DropMeter-1.0.3.exe" ValueLocId="-"/>
<ROW Section="Update" Key="ServerFileName" Value="Install DropMeter-1.0.3.exe" ValueLocId="-"/>
<ROW Section="Update" Key="RegistryKey" Value="HKUD\Software\GabrielTK\DropMeter\Version" ValueLocId="-"/>
<ROW Section="Update" Key="Version" Value="1.0.2.0" ValueLocId="-"/>
<ROW Section="1.0.3" Key="Name" Value="DropMeter 1.0.3"/>
<ROW Section="1.0.3" Key="ProductVersion" Value="1.0.3.0" ValueLocId="-"/>
<ROW Section="1.0.3" Key="URL" Value="https://github.com/GabrielTK/DropMeter/releases/download/1.0.3/Install.DropMeter.x64.exe" ValueLocId="-"/>
<ROW Section="1.0.3" Key="Size" Value="Output\Bundled\Install DropMeter-1.0.3.exe" ValueLocId="-"/>
<ROW Section="1.0.3" Key="SHA256" Value="Output\Bundled\Install DropMeter-1.0.3.exe" ValueLocId="-"/>
<ROW Section="1.0.3" Key="MD5" Value="Output\Bundled\Install DropMeter-1.0.3.exe" ValueLocId="-"/>
<ROW Section="1.0.3" Key="ServerFileName" Value="Install DropMeter-1.0.3.exe" ValueLocId="-"/>
<ROW Section="1.0.3" Key="RegistryKey" Value="HKUD\Software\GabrielTK\DropMeter\Version" ValueLocId="-"/>
<ROW Section="1.0.3" Key="Version" Value="1.0.3.0" ValueLocId="-"/>
<ROW Section="1.0.4" Key="Name" Value="DropMeter 1.0.4"/>
<ROW Section="1.0.4" Key="ProductVersion" Value="1.0.4.0" ValueLocId="-"/>
<ROW Section="1.0.4" Key="URL" Value="https://github.com/GabrielTK/DropMeter/releases/download/1.0.4/Install.DropMeter.x64.exe" ValueLocId="-"/>
<ROW Section="1.0.4" Key="Size" Value="Output\Bundled\Install DropMeter-1.0.4.exe" ValueLocId="-"/>
<ROW Section="1.0.4" Key="SHA256" Value="Output\Bundled\Install DropMeter-1.0.4.exe" ValueLocId="-"/>
<ROW Section="1.0.4" Key="MD5" Value="Output\Bundled\Install DropMeter-1.0.4.exe" ValueLocId="-"/>
<ROW Section="1.0.4" Key="ServerFileName" Value="Install DropMeter-1.0.4.exe" ValueLocId="-"/>
<ROW Section="1.0.4" Key="RegistryKey" Value="HKUD\Software\GabrielTK\DropMeter\Version" ValueLocId="-"/>
<ROW Section="1.0.4" Key="Version" Value="1.0.4.0" ValueLocId="-"/>
<ROW Section="1.0.4" Key="Description" Value="This update fixes the goddamn updater. Ironic, isn&apos;t it?"/>
<ROW Section="1.0.4" Key="BugFix" Value="Hopefully, no more &quot;No Updates Detected&quot; popups - and no more getting tabbed out of your game matches because of it,"/>
<ROW Section="1.0.4" Key="AutoCloseApplication" Value="[APPDIR]DropMeter.exe" ValueLocId="-"/>
<ATTRIBUTE name="OutputFileName" value="updates.txt"/>
<ATTRIBUTE name="OutputFolder" value="Output\Updater"/>
</COMPONENT>
Expand Down

0 comments on commit 87304ec

Please sign in to comment.