Sphinx
-
Posts
17 -
Joined
-
Last visited
Content Type
Profiles
Forums
Applications
Posts posted by Sphinx
-
-
it says how here http://ketarin.canneverbe.com/forum/viewtopic.php?pid=3539#p3539
i'll use your example as an example
{version:multireplace:a,b:1,2}
to specify the delimiter you insert it before the array, like this
{version:multireplace:,:a,b:1,2}
even thought the link above references arrayreplace instead of multireplace, i followed the link from the how-to page so i'm guessing that multireplace is used instead of arrayreplace, if not you can just change the words
-
have you tried using .htaccess to define mime-type?
if you haven't it might be worth trying, i have no idea if it will work though, just an idea
here's an example article,
http://www.besthostratings.com/articles/mime-types-htaccess.html
the article links to mime-types other than those used in the article as well
cut and paste from the article
There is one more useful feature of the AddType directive. Most of you most probably know that Internet Explorer opens MS Word, Excell, PDF and some other files inside a browser window. To force the browser to download the file you can use AddType to change the document type:AddType application/octet-stream .doc .xls .pdf
-
i don't see any problem with using ketarin for downloading setups and placing it in the structure you use
-
Hello, and welcome
-
sorry, but i don't know what it could be then, with what you say, it should work
-
perhaps you need to run as administrator? which windows are you running?
-
did you copy the zip file? or the exe and dll file that is inside the zip file?
-
no, no, you run the exe file, but the dll file must be in the same folder as the exe..
are you trying to run the program from inside the .zip file? sounds like it in your reply, if so, then you'll need to extract them to a regular folder.
-
do you have both the .exe and the .dll in the same folder? it sounds like ketarin can't find the .dll
-
Hello
I was wondering if it would be possible to get a silent error setting, as per application
For instance i have two newspapers I download with ketarin, but one is only released on fridays and one is only released on wednesdays
so everytime I run ketarin in normal mode (with windows) I get annoying errors, so this setting would be useful for me
or perhaps another setting, like only update this if it's wednesday, or only update on monday to friday
if anyone else knows of another workaround for this in the current version of ketarin, please let me know
-
perhaps making a batch file (or another type) that checks if there is a zip file then extract, and if not exit
that might work
-
Might be an obvious question, but do you have .NET 2.0 installed on you machine?
-
i download a couple of programs from sourceforge and i don't get any corrupt files..
this is for KeePass for example, but i use pretty much the same regex for all the others that i download from sourceforge
<?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="06154f43-c976-473c-8078-af52701c5469"> <WebsiteUrl /> <UserNotes /> <LastFileSize>1934507</LastFileSize> <LastFileDate>2010-03-13T20:48:18.1632409</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 /> <Variables> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>StartEnd</VariableType> <Regex /> <Url>http://keepass.info/download.html</Url> <StartText>Professional Edition</b></big><br /> <i>KeePass </StartText> <EndText></i></p></EndText> <Name>version</Name> </UrlVariable> </value> </item> <item> <key> <string>url</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>http://down.+?.exe</Regex> <Url>http://sourceforge.net/projects/keepass/files/</Url> <Name>url</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand /> <Category>- Säkerhet</Category> <SourceType>FixedUrl</SourceType> <PreviousLocation>G:\Program\- Säkerhet\KeePass 2.10\KeePass-2.10-Setup.exe</PreviousLocation> <DeletePreviousFile>false</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2010-03-13T20:48:18.1632409</LastUpdated> <TargetPath>{programs}\{category}\{appname} {version}\{url:basefile}.{url:ext}</TargetPath> <FixedDownloadUrl>{url}</FixedDownloadUrl> <Name>KeePass</Name> </ApplicationJob> </Jobs>
the regex code is very simple, but they seem to be working, at least for the moment, i also notice on keepass i don't get version info from sourceforge, but from keepass's homepage, but i guess you can do either if you want
-
thanks.. but that didn't work for me.. i think their 'acceptance key' changes more often than 'per version', probably per download request, also the page where i click the download link, after the EULA, also changes, i've had a 2 in there and also a 3 in the '?wicket:interface=:2::::' part of the url..
i get this when trying your template
SmartGit The downloaded file is not a binary file type (text/html;charset=UTF-8). Possibly there is an error page. Status code: 200 (OK) (http://www.syntevo.com/download/smartgit/smartgit-win32-setup-jre-1_0_4.zip?sf3dfr47cr)
guess i'll have to get that one manually when they update..
-
Does anyone have a working config for downloading SmartGIT?
i've tried and tried but no luck in getting it working..
the page is here
http://www.syntevo.com/smartgit/download.html
i downloaded from softpedia before, but now with the Beta being out, softpedia is being very weird and saying that there is a new version but then downloads the old version instead.
hope someone can figure this one out.
-
Hello
I just thought I'd share a tip on how I update software that doesn't use installers, but may be in use when Ketarin downloads an update, guess the keyword for this tip/technique is in use, since if it's not in use you can just unpack it to the folder where you have your old version.
In my example I will use Ketarin itself, I also use this for Miranda IM (which has an installer, I know, but I don't use all the plugins so i prefer to use the zip when updating) and Flexible Renamer.
For this tip/tuturial you will need two other programs in addition to Ketarin, those are PendMoves and MoveFile, two programs written by SysInternals, now bought by Microsoft (they are still free), and they are available here
http://technet.microsoft.com/en-us/sysinternals/bb897556.aspx
After Ketarin has downloaded an update for itself i run this command in the "Execute the following command after downloading:" box
"C:\program\Winrar\winrar.exe" E -ac -ibck -o+ "{file}" "C:\Ketarin_temp\Ketarin\" && "C:\Ketarin_temp\ketarin.bat"
This extracts the files to the temp folder I have picked to use, marked in green, you may choose to use a different folder, it's up to you, and of course you can use any unpacking software you choose
Now after Ketarin has run the command that unpacks the files, it will run a bat file (marked with red)
This is where MoveFile comes in. In my .bat file, the following commands are run
cmdow @ /HID @ECHO OFF movefile "c:\program\Ketarin\Ketarin.exe" "" movefile "c:\program\Ketarin\System.Data.SQLite.dll" "" movefile "C:\Ketarin_temp\Ketarin\Ketarin.exe" "c:\program\Ketarin\Ketarin.exe" movefile "C:\Ketarin_temp\Ketarin\System.Data.SQLite.dll" "c:\program\Ketarin\System.Data.SQLite.dll" EXIT
The first part
cmdow @ /HID
are optional, what they do it hide the command window (for the cmdow @ /HID command you'll need another piece of software available here)
The second command
@ECHO OFF
will tell the command window not to show any text output of the commands that are following
The first file commands
movefile "c:\program\Ketarin\Ketarin.exe" ""
movefile "c:\program\Ketarin\System.Data.SQLite.dll" ""
will tell windows that on the next reboot, delete these files, these are the old files, then ones you want replaced with new version, now you may wonder why not just copy the files over the old ones, well it's, simply put, because of how movefile works
The following commands
movefile "C:\Ketarin_temp\Ketarin\Ketarin.exe" "c:\program\Ketarin\Ketarin.exe"
movefile "C:\Ketarin_temp\Ketarin\System.Data.SQLite.dll" "c:\program\Ketarin\System.Data.SQLite.dll"
will tell windows to move the new files from the temp folder into the folder where you had your old files.
And the last command
EXIT
will quit the command window, even if it's not shown
Notes
- This tip/technique will only update your software after a reboot, so it you want a faster update you'll need to quit your running program and update yourself
- The movefile and cmdow programs must be either in your Windows/System32 folder or in the same folder as your bat/cmd file
Now you may wonder what you needed the PendMoves program for, well, this command tool will check what files will be moved on the next reboot, which can be of help to you when you write your own .bat/.cmd file to check if you have written the filepaths correct or not (after you have manually run the .bat/.cmd file)
I hope this may be of use to someone.
- This tip/technique will only update your software after a reboot, so it you want a faster update you'll need to quit your running program and update yourself
Wise Installation Wizard oddness
in General discussion
Posted
you should check out this forum on msfn.org
http://www.msfn.org/board/forum/80-application-installs/
also from what i found there.. Wise is supposed to work with /s as a silent install commandline (most of the time), might be old into though... i do know that some installer types (can't remember which ones now) will show you the switches is has if you run it with the command /? , but like i said, not all installers do, most probably don't