Jump to content
Ketarin forum

Ketarin 1.5 alpha


floele
 Share

Recommended Posts

Hi all,

 

here is an alpha version with the new setup functionality, additional to this:

 

*Allow pasting of templates

*Variable {startuppath} more flexible

 

 

Note:

Currently you can only install the currently selected applications using the install button. Apps are being updated and after that installed.

 

What I need to add is some kind of "profiles". You are usually not going to install all apps I'd guess, and some only in certain situations. Also, selecting apps by "selection" is too hard, checkboxes or a new dialog would be needed. Suggestions welcome :)

 

http://ketarin.org/downloads/Ketarin/Ketarin-1.5.0.a1.zip

Link to comment
Share on other sites

How about using installer IDs to define the order like the Windows-Post-Install-Wizard? You can define the install order with digits from 1 to 9999 (upper right corner) -> http://www.wpiw.net/The_Dark_Side/screenshots/dependency_definition.gif. And you can use check boxes for both the whole category and every single file inside the catorgy -> http://www.wpiw.net/The_Dark_Side/screenshots/screen1.jpg

Link to comment
Share on other sites

@flo

 

The new Ketarin is hanging for me. 100% of one CPU. Only remedy is to kill Ketarin and launch again.

 

I can reproduce consistently from below XML, imported into an empty db. This app does not hang current stable version of Ketarin.

 

Win7 Pro 64-bit. (I'll test both my issues in XP Pro SP3 as soon as I have a chance.)

 

To reproduce:

 

1. Access the variables pane of "Test" app

 

2. Click the last variable, "fname". It should load quickly.

 

3. Click the middle variable, "skimpath". It may take a minute or so but will load. Occasionally sourceforge gives a timeout just click the "load" button to try it again, should load.

 

4. Click the last variable "fname" again. Ketarin hangs using 100% of one CPU consistently for me.

 

--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 />
   <UserNotes />
   <LastFileSize>1318228</LastFileSize>
   <LastFileDate>2010-09-17T07:42:44.2082469</LastFileDate>
   <IgnoreFileInformation>false</IgnoreFileInformation>
   <DownloadBeta>Default</DownloadBeta>
   <DownloadDate xsi:nil="true" />
   <CheckForUpdatesOnly>true</CheckForUpdatesOnly>
   <VariableChangeIndicator />
   <CanBeShared>true</CanBeShared>
   <ShareApplication>false</ShareApplication>
   <ExclusiveDownload>true</ExclusiveDownload>
   <HttpReferer>http://sourceforge.net/</HttpReferer>
   <SetupInstructions />
   <Variables>
     <item>
       <key>
         <string>vers</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex>(?<=Professional Edition.*?Portable KeePass ).*?(?= )</Regex>
           <Url>http://keepass.info/download.html</Url>
           <Name>vers</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>skimpath</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex>(?<=downloads.sourceforge.net/project/keepass.*?href="/projects/).*?(?=/KeePass.{1,10}?Setup\.exe/download" title="/KeePass)</Regex>
           <Url>http://sourceforge.net/projects/keepass/files/</Url>
           <Name>skimpath</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>fname</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex>(?<=professional edition.*?href=".*?keepass/).*?(?=")</Regex>
           <Url>http://keepass.info/download.html</Url>
           <Name>fname</Name>
         </UrlVariable>
       </value>
     </item>
   </Variables>
   <ExecuteCommand />
   <ExecutePreCommand />
   <Category />
   <SourceType>FixedUrl</SourceType>
   <PreviousLocation>D:\Stuff\filestore\password\Test</PreviousLocation>
   <DeletePreviousFile>false</DeletePreviousFile>
   <Enabled>false</Enabled>
   <FileHippoId>keepass</FileHippoId>
   <LastUpdated>2010-09-17T07:42:44.2082469</LastUpdated>
   <TargetPath>C:\</TargetPath>
   <FixedDownloadUrl>http://downloads.sourceforge.net/{skimpath}/{fname}/download?</FixedDownloadUrl>
   <Name>Test</Name>
 </ApplicationJob>
</Jobs>

Link to comment
Share on other sites

I am trying to scrape a variable from this URL using the new Ketarin:

 

hxxp://sourceforge.net/projects/portableapps/files/Mozilla%20Firefox%2C%20Portable%20Ed./

 

I am getting a message "the contents of this URL cannot be loaded". This URL when pasted into IE works fine.

 

I think Ketarin is removing the '.' right before the last slash, can you confirm? Or is it something else... Thanks!

 

--appyface

 

Win7 Pro 64-bit

Link to comment
Share on other sites

I unzipped this version into a folder containing a copy of my jobs.db. Launched Ketarin directly (double-click) and I see the install button is not in line with the other buttons at the bottom of the window:

 

ketarin_01.jpg

 

Win7 Pro 64-bit, fully patched via m$ update. '

 

FYI...

 

--appyface

 

Hi,

 

I have this same problem on my VistaSP2 32-bit... regarding new features is it possible to post some sample XML? It looks awesome :-)

Link to comment
Share on other sites

Yes the load times out because without the '.', the URL is no good and sourceforge cannot load it.

 

The '.' is also removed before the '/' if it appears anywhere, e.g. hxxp://somedata./somemoredata/ but only before a '/' I think, as '.' characters seem to be retained otherwise.

 

Any ideas how to work around the problem?

Link to comment
Share on other sites

Ah, I see. The website is just too big. It's 1.3MB, you should expect slowishness. May be that the version you have is slower (thus hangs) because it is a debug version. I've never uploaded such a version before.

 

What about changing the DOT to %2E?

Link to comment
Share on other sites

@flo

Re: Hang. After some minutes, the variable pane 'goes away' and I'm left with the app pane and main Ketarin window only along with the requisite 'not responding' info from Win7. I left it for some 10 minutes and it didn't complete.

 

Re: '.' Yes I tried %2E but sourceforge does not accept that either. I think it is because sourceforge wants the URL to be submitted as is, including %20, %2C etc but Ketarin would have to substitute an actual '.' for the %2E I think...

 

Did it work for you?

Link to comment
Share on other sites

Regarding the C# stuff: I'd consider a set of sample scripts useful (like copy file, access registry, ...). Would you like that as well (built into the Ketarin)? If so, what common tasks do you face?

Yes... please and maybe 7zip scripts to extract in various ways with/without folder structure... even empty folders, etc. and Universal Extractor scripts... maybe? They could be disabled if paths for the exe are not provided... eeh?

Link to comment
Share on other sites

@flo

 

Could we have an option in Ketarin to turn on a 'wait to parse a regex in the variable pane screen while it is being typed/edited' feature? I'm thinking of a 'go' button to click when done typing/editing, or perhaps just pressing 'enter' in the regex field when done. Then Ketarin evaluates it? Ketarin can appear to be hung for some minutes especially when editing a regex, and there doesn't appear to be a way to abort that (except to kill the program).

 

Possble Flo? TIA,

--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.