Jump to content
Ketarin forum

Anybody successful with UltraVNC?


jadog
 Share

Recommended Posts

  • 1 month later...

This retrieves the Full Installer x64 version of latest stable UltraVNC.

 

Note that you'll need to provide settings specific to your system (such as target path) after you import the XML. I use an almost identical app to retrieve the x86 full installer. If you walk through the variables you'll see where the difference would be.

 

Please note this is most definitely NOT an elegant method of retrieval. It is heavily dependent on how the UltraVNC site is structured currently. I wish I had more free time so I could remove dependencies and make it more generic and likely to adapt to site changes. Unfortunately, I don't have time available at present -- so, crude or not, this is what I use :-)

 

Kind regards,

--appyface

 

 

 

 

<?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">

<WebsiteUrl />

<UserAgent />

<UserNotes />

<LastFileSize />

<LastFileDate />

<IgnoreFileInformation>false</IgnoreFileInformation>

<DownloadBeta>Default</DownloadBeta>

<DownloadDate xsi:nil="true" />

<CheckForUpdatesOnly>false</CheckForUpdatesOnly>

<VariableChangeIndicator />

<CanBeShared>true</CanBeShared>

<ShareApplication>false</ShareApplication>

<ExclusiveDownload>false</ExclusiveDownload>

<HttpReferer />

<SetupInstructions />

<Variables>

<item>

<key>

<string>vers</string>

</key>

<value>

<UrlVariable>

<RegexRightToLeft>false</RegexRightToLeft>

<VariableType>RegularExpression</VariableType>

<Regex>(?<=stable.*?href=".*?">Update ).*?(?= <)</Regex>

<Url>http://www.uvnc.com/download/index.html</Url>

<Name>vers</Name>

</UrlVariable>

</value>

</item>

<item>

<key>

<string>url-1</string>

</key>

<value>

<UrlVariable>

<RegexRightToLeft>false</RegexRightToLeft>

<VariableType>RegularExpression</VariableType>

<Regex>(?<=download.*?stable.*?href=").*?(?=">)</Regex>

<Url>http://www.uvnc.com/download/index.html</Url>

<Name>url-1</Name>

</UrlVariable>

</value>

</item>

<item>

<key>

<string>url-2-part</string>

</key>

<value>

<UrlVariable>

<RegexRightToLeft>false</RegexRightToLeft>

<VariableType>RegularExpression</VariableType>

<Regex>(?<=href=").{1,20}?full\.html(?=">)</Regex>

<Url>{url-1}</Url>

<Name>url-2-part</Name>

</UrlVariable>

</value>

</item>

<item>

<key>

<string>url-final</string>

</key>

<value>

<UrlVariable>

<RegexRightToLeft>false</RegexRightToLeft>

<VariableType>RegularExpression</VariableType>

<Regex>(?<=href=").{1,100}?(?=">x64)</Regex>

<Url>{url-1}/{url-2-part}</Url>

<Name>url-final</Name>

</UrlVariable>

</value>

</item>

</Variables>

<ExecuteCommand />

<ExecutePreCommand />

<ExecuteCommandType>Batch</ExecuteCommandType>

<ExecutePreCommandType>Batch</ExecutePreCommandType>

<Category>000100</Category>

<SourceType>FixedUrl</SourceType>

<PreviousLocation />

<DeletePreviousFile>false</DeletePreviousFile>

<Enabled>true</Enabled>

<FileHippoId />

<LastUpdated />

<TargetPath />

<FixedDownloadUrl>{url-final}</FixedDownloadUrl>

<Name>UltraVNC Full installer x64</Name>

</ApplicationJob>

</Jobs>

Edited by appyface
Link to comment
Share on other sites

All I did, is open Ketarin, select one app, and used export selected to XML. Afterwards, I edited the XML to remove my GUID (not strictly necessary of course but this is my habit) and my target path info. Everything else I left alone. This I've done many times in the past and reimports were always successful for me.

 

So maybe export is broken now?

 

I just exported my app again and compared it with the XML I posted -- my edits are the only differences between them. I don't see anything "CDATA". I don't know what that is, I don't recall seeing it before but I don't really spend any time looking at this.

 

I apologize, I can't devote any time to work on this right now... If either of you can export an app and reimport it successfully, you can likely fix up the above copy/paste into a working XML on your own?

 

Kind regards,

--appyface

Link to comment
Share on other sites

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.