Jump to content
Ketarin forum

[Help] WinMerge error 404


Rootz
 Share

Recommended Posts

Hello,

Im a newbie.

Can someone help me how understand whats wrong with this template?

Always give the error "WinMerge (Setup 64-bit)    The remote server returned an error: (404) Not Found. (https://github.com/WinMerge/winmerge/releases/expanded_assets/*name)"

 

<?xml version="1.0" encoding="utf-8"?>
<Jobs>
	<ApplicationJob
		xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
		xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="7b8cf951-23d0-4e0b-b48e-c4c444747890">
		<WebsiteUrl>https://github.com/WinMerge/winmerge/releases</WebsiteUrl>
		<UserAgent/>
		<UserNotes/>
		<LastFileSize>56342976</LastFileSize>
		<LastFileDate>2022-09-27T09:19:08.8914066</LastFileDate>
		<IgnoreFileInformation>true</IgnoreFileInformation>
		<DownloadBeta>Default</DownloadBeta>
		<DownloadDate xsi:nil="true"/>
		<CheckForUpdatesOnly>false</CheckForUpdatesOnly>
		<VariableChangeIndicator>version</VariableChangeIndicator>
		<HashVariable/>
		<HashType>None</HashType>
		<CanBeShared>true</CanBeShared>
		<ShareApplication>true</ShareApplication>
		<ExclusiveDownload>false</ExclusiveDownload>
		<HttpReferer/>
		<SetupInstructions/>
		<Variables>
			<item>
				<key>
					<string>ver</string>
				</key>
				<value>
					<UrlVariable>
						<RegexRightToLeft>false</RegexRightToLeft>
						<VariableType>RegularExpression</VariableType>
						<Regex>(?&lt;=Release.*?tree/v*?)[0-9.]{2,}</Regex>
						<Url>https://github.com/WinMerge/winmerge/releases</Url>
						<Name>ver</Name>
					</UrlVariable>
				</value>
			</item>
		</Variables>
		<ExecuteCommand/>
		<ExecutePreCommand/>
		<ExecuteCommandType>Batch</ExecuteCommandType>
		<ExecutePreCommandType>Batch</ExecutePreCommandType>
		<Category>Internet_Tools</Category>
		<SourceType>FixedUrl</SourceType>
		<PreviousLocation/>
		<DeletePreviousFile>true</DeletePreviousFile>
		<Enabled>true</Enabled>
		<FileHippoId/>
		<LastUpdated>2022-09-27T09:19:08.8914066</LastUpdated>
		<TargetPath>D:\Backups\Tools\</TargetPath>
		<FixedDownloadUrl>https://github.com/WinMerge/winmerge/releases/download/{ver}/WinMerge-{ver}-x64-Setup.exe</FixedDownloadUrl>
		<Name>WinMerge 64-Bit / GitHub</Name>
	</ApplicationJob>
</Jobs>

 

Link to comment
Share on other sites

There is a v missing in your download url. The link should look like this:

https://github.com/WinMerge/winmerge/releases/download/v{ver}/WinMerge-{ver}-x64-Setup.exe

To get the release of the latest version, you can use the following link with the corresponding regex:

Contents from URL: https://github.com/WinMerge/winmerge/releases/latest

Use regular expression: (?<=og:url.*?releases/tag/v)([0-9.-]{2,})

 

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.