Jump to content
Ketarin forum

shawn

Moderators
  • Posts

    1,181
  • Joined

  • Last visited

Everything posted by shawn

  1. You're right, I can't get that one to work, either. There's other ways to make it happen, though (and a couple other errors in that profile). For this one, instead of grabbing the entire URL, just get the part after the %3A: (?<=targetPage=.+?tp%3A).+?(?>\.exe) Then assemble the URL afterwards. This enables you to switch it to HTTP, too: http:{url:multireplace:|:%2F|%2E:/|.}
  2. This is possible now, through a proxy. Check out my Codeplex template for an example of how to do it: http://ketarin.canneverbe.com/forum/viewtopic.php?id=627
  3. Personally, I would have agreed, but I was asked to treat new members with a gentle hand unless it's obvious they're spamming. This thread appears legit, so I allowed and commented.
  4. Not as a "global" variable, but you can use it within another variable to rely on the first. Just create a new variable (+), name it (like "newversion"), click "textual content" and then enter your parsing rules, such as: {version:regexreplace:[/.]+:} This works perfectly, as long as the variable "version" has been defined. It will automatically be parsed first so the new variable ("newversion") can be correctly assigned.
  5. No. In situations like this, the easiest thing to do is export the entire thing to XML (File, Export All), then open it up in a text editor (I prefer Notepad++) and do a find+replace to edit the specific fields. If you already have one that is "updated" and one that isn't, just find those within the source and find/replace should be pretty easy. When you're done, import the file again (File, Import) and it will overwrite the settings of all of the existing apps with those from the XML, effectively acting as a bulk update.
  6. Filehippo chokes with more than 2 simultaneous connections. It might work for you temporarily, but inevitably, reducing the number of connections to 2 or selecting the option to "not download simultaneously with other updates" is the best way to keep using FileHippo.
  7. There's more than one way to skin a cat. The following uses a google search to read the cached version number directly. <?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="244a59ec-76a2-40b3-909b-cd8776201976"> <WebsiteUrl /> <UserAgent /> <UserNotes /> <LastFileSize>0</LastFileSize> <LastFileDate xsi:nil="true" /> <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>schangelog</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent /> <Name>schangelog</Name> </UrlVariable> </value> </item> <item> <key> <string>swebsite</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>http://www.intel.com/support/go/ssdtoolbox/index.htm</TextualContent> <Name>swebsite</Name> </UrlVariable> </value> </item> <item> <key> <string>snotes</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <Name>snotes</Name> </UrlVariable> </value> </item> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>v([\d\.]+)\.<[^>]+>msi</Regex> <PostData /> <Url>http://www.google.com/search?q=http%3A%2F%2Fdownloadcenter.intel.com%2FDetail_Desc.aspx%3Fagr%3DY%26DwnldID%3D18455+file+name+intel+ssd+toolbox+msi</Url> <Name>version</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommandType>Batch</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <Category>Tools</Category> <SourceType>FixedUrl</SourceType> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <LastUpdated xsi:nil="true" /> <TargetPath>.\{category}\{appname:regexreplace:([\s\t\r\n\-\\&\/]+):_}-{version}.{url:ext}</TargetPath> <FixedDownloadUrl>http://downloadmirror.intel.com/18455/eng/Intel%20SSD%20Toolbox%20-%20v{version}.msi</FixedDownloadUrl> <Name>Intel SSD Toolbox</Name> </ApplicationJob> </Jobs>
  8. Here's an example export for WinSCP: REGEDIT /E .\settings\winscp-%COMPUTERNAME%.reg "HKEY_CURRENT_USER\Software\Martin Prikryl"
  9. Yes, but...you'd have to know each registry hive where the application settings are stored. This can be different between versions, much less operating systems. I use a batch script to export reg settings for various apps (such as DreamWeaver, WinSCP and Notepad++). I also call it from 4 different computers, XP, Vista and Win7 between them. Here's a nifty snippet you might find useful to check the current OS (which is important for assembling certain paths): FOR /f "tokens=2 delims=.[" %%a IN ('ver') DO SET v=%%a REM Win Vista/7 IF "%v%"=="Version 6" nircmdc elevate cmd /c "W:\GetData.bat" REM Win NT, 2000, XP IF "%v%"=="Version 5" CALL "W:\GetData.bat"
  10. What version are you using? This works perfectly for me.
  11. That would be a cool feature, Omni. I can see templates that were imported (since they're already tracked) having an option within them where "share this application online with others" is listed that instead provides a "report this application profile as broken".
  12. No, but you could call a batch file or something. This is what I use: @ECHO OFF :variables REM !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! FOR /F "tokens=2-4 delims=/ " %%a in ("%date%") DO SET MM=%%a&SET DD=%%b&SET YY=%%c FOR /F "tokens=1-4 delims=:. " %%a in ("%time%") DO SET HH=%%a&SET NN=%%b&SET SS=%%c&SET LL=%%d FOR /L %%a in (0,1,9) DO @IF "%HH%"=="%%a" SET HH=0%%a SET timestamp=%YY%%MM%%DD%T%HH%%NN%%SS% REM Export current settings ketarin /export=ketarin-%timestamp%.xml
  13. I have been using the QuickTime filehippo app successfully for quite a while. Are you still having problems with the FileHippo method?
  14. You could also use "nircmd killprocess [processnames]" http://nircmd.nirsoft.net/killprocess.html Or nircmd closeprocess: http://nircmd.nirsoft.net/closeprocess.html
  15. Instead of using {startuppath} you could just use a dot (current directory): .\{category}
  16. Use a slash before it as so: {url:multireplace:|:%3A|%2F|%2E:\:|/|.}
  17. Even agreement checks are easy to get past on some hosts (see my codeplex template for an example).
  18. As a webhost, I don't always ban people that abuse my bandwidth outright. But if I do see an ongoing pattern of repeated abuse from a single IP or netrange, I *do* block them. This is why I strongly recommend anyone using something like Ketarin be very responsible with the number of simultaneous connections they attempt to employ. It won't always be a problem, but opening up ten connections to different files actually wastes significantly more resources than would several iterative connections, and chances are you're NOT going to benefit much, if at all, by using more than 2 connections. If that's not enough, you might go as high as 4 - but above that you're just going to upset the provider if they ever review their logs or utilize an automated scanner like BFD to throttle connections.
  19. The reasoning is probably due to following the MS developer guidelines. Applications "should" store data which users are not intended to directly edit within AppData by default, but "may" provide alternative storage locations.
  20. Works fine. <?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="1a8f91a2-b65c-4a5b-93ee-5fb3647f1101"> <WebsiteUrl /> <UserAgent /> <UserNotes /> <LastFileSize>25692160</LastFileSize> <LastFileDate>2010-12-08T17:45:00-08:00</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>schangelog</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <Name>schangelog</Name> </UrlVariable> </value> </item> <item> <key> <string>swebsite</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>http://www.google.com/chromeframe/eula.html?msi=true</TextualContent> <Name>swebsite</Name> </UrlVariable> </value> </item> <item> <key> <string>snotes</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent /> <Name>snotes</Name> </UrlVariable> </value> </item> <item> <key> <string>dl</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>"(/[^'"]+msi)"</Regex> <Url>http://www.google.com/chromeframe/eula.html?msi=true</Url> <Name>dl</Name> </UrlVariable> </value> </item> <item> <key> <string>server</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>dlServer =[\r\n\s\t]*"([^'"]+.com)</Regex> <Url>http://www.google.com/chromeframe/eula.html?msi=true</Url> <Name>server</Name> </UrlVariable> </value> </item> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>{f:yyyy}{f:MM}{f:dd}</TextualContent> <Name>version</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand /> <ExecuteCommandType>Batch</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <Category>Browsers</Category> <SourceType>FixedUrl</SourceType> <PreviousLocation>C:\Users\Shawn K. Hall\Desktop\Ketarin\.\Browsers\Google_Chrome_Frame-{version}.msi</PreviousLocation> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2011-02-12T06:56:01.9052996-08:00</LastUpdated> <TargetPath>.\{category}\{appname:regexreplace:([\s\t\r\n\-\\&\/]+):_}-{version}.{url:ext}</TargetPath> <FixedDownloadUrl>{server}{dl}</FixedDownloadUrl> <Name>Google Chrome Frame</Name> </ApplicationJob> </Jobs>
  21. Are you limiting connections?
  22. This will break when the numbers exceed 9 in any position. It's better to use a more explicit statement, such as: http://modmii\.googlecode\.com/files/ModMii[\d\.]+\.zip
  23. It's an HTTP headers thing. If their server doesn't actually include details about the file being downloaded, there's no way to tell if it's changed until it's been downloaded.
  24. I use the REGEDIT4 header even on my Vista + Win7 machines. I've never had any problems. If you import the reg file BEFORE you open Ketarin, it'll be a persistent system-wide setting - so regardless of how you run the installer from one of those sources, it'll work just fine. I developed this method due to the increased security of IE7, and have been using it successfully since (even on client machines that need access to my shared installers).
×
×
  • 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.