General :  K-Meleon Forum
General discussion about K-Meleon. 
Pages: Previous123Next
Current Page: 2 of 3
Re: No Hurry
Posted by: rodocop
Date: December 14, 2011 08:15PM

Quote
JujuLand
When launching setdefault (during install, or after), some keys which are about exts aren't updated:

HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\<.ext>\UserChoice

Curiously, when running it under real admin, set aren't set too, but it works.

Maybe these are set up in HKLM\... while under admin?

(Sorry I can't test it cause I don't use LUA - always admin grinning smiley)

_____________________________________
Using K-Meleon-1.6db+NS by dugbug / KM-16-S2014
1.6beta2.6 by JamesD
_____________________________________
Recommending K-Meleon Twin+`||`Discuss it!!!
_____________________________________
New KM74 for test and feedback! Get It!

Options: ReplyQuote
Re: No Hurry
Posted by: JujuLand
Date: December 14, 2011 09:23PM

No, it can't be in HKLM, these keys don't exist.

A+


Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:24.0) Gecko/20140105 Ubuntu/12.04 K-Meleon/74.0

Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr





Edited 2 time(s). Last edit at 12/14/2011 09:24PM by JujuLand.

Options: ReplyQuote
Re: No Hurry
Posted by: desga2
Date: December 15, 2011 05:36AM

@ JujuLand;

I send you by mail the files modified of KMPackager Installer that I used for 1.6 Beta2.

Greetings

K-Meleon in Spanish



Edited 1 time(s). Last edit at 12/15/2011 05:38AM by desga2.

Options: ReplyQuote
Re: No Hurry
Posted by: JujuLand
Date: December 18, 2011 03:02PM

I have just now modified kmPackager to run correctly on my silly Seven system. It will be easier to test and compile on the same machine.

For now, always unable to set K-Meleon as default. I'm searching...

A+


Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:24.0) Gecko/20140105 Ubuntu/12.04 K-Meleon/74.0

Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr




Options: ReplyQuote
Re: No Hurry
Posted by: guenter
Date: December 18, 2011 09:58PM

Quote
desga2
KMPackager Installer that I used for 1.6 Beta2.

The packager is not able to make K-Meleon default on a XP SP3 system run as Admin.

No ideas how to improve. Except attach protocols to K-Meleon one by one.

Currently Opera is default.

How do I get readings of the registry settings that we need when I change it to other browsers an back to Opera?



Edited 1 time(s). Last edit at 12/18/2011 10:00PM by guenter.

Options: ReplyQuote
Re: No Hurry
Posted by: JujuLand
Date: December 19, 2011 02:41AM

Guenter,

The reason of this problem is not due to kmPackager, but to setdefault.exe

I have put Tux kmPackager online, but unfortunatelly, it seems there is some problem on my site due to some proxy, probably.

The files are ok on ftp, but are in old version on html.

To temporary solve this problem I have renamed the 7z archive with the name of an already existing file.

Unfortunately, it's always bad, and the file download is not the last...

Shit ...


A+


Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:24.0) Gecko/20140105 Ubuntu/12.04 K-Meleon/74.0

Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr





Edited 1 time(s). Last edit at 12/19/2011 02:44AM by JujuLand.

Options: ReplyQuote
Re: No Hurry
Posted by: guenter
Date: December 19, 2011 02:59AM

Send it to me and I upload it to dhost.info.

p.s. I knew that the problem is in setdefault.exe.



Edited 1 time(s). Last edit at 12/19/2011 03:00AM by guenter.

Options: ReplyQuote
Re: No Hurry
Posted by: JujuLand
Date: December 19, 2011 03:27AM

I have upload it here: http://ge.tt/8p0a4MB?c
Hope you can download it.

Read the readme.txt

Report the problem you can encounter...

For the registry problems, I see in installer.nsi from Seamonkey, that they use 3 plugins from nsis. It's perhaps the solution:

# Also requires:
# AppAssocReg
http://nsis.sourceforge.net/Application_Association_Registration_plug-in
# ShellLink plugin
http://nsis.sourceforge.net/ShellLink_plug-in
# UAC
http://nsis.sourceforge.net/UAC_plug-in

A+


Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:24.0) Gecko/20140105 Ubuntu/12.04 K-Meleon/74.0

Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr




Options: ReplyQuote
Re: No Hurry
Posted by: JujuLand
Date: January 03, 2012 04:16AM

Hi,

I can't make it work for extensions (it works for protocols)

I have tried to use the plugin AppAssocReg 0.4, but, or I don't use it correctly, or it doesn't work.

Here is the content of the 7z file I join:

AppAssocReg-04.zip = the complete plugin
AppAssocReg-Example.nsi = the source of the example I have just modified for K-Meleon
AppAssocReg-Example.exe = the compiled example
SetDefault.nsi = the source of SetDefault
SetDefault.exe = the compiled SetDefault program
RegAssoc.png = hardcopy of the results I have

How to test it :

1) To unset K-Meleon associations, install Seamonkey 2.0.14, and set it by default

2) Rename Setdefault.exe (the one in place in K-Meleon folder) extract mine in K-Meleon folder.

3) To help to see the result, put a shortcut of an html file ( you can copy it 4 times and rename the extension (htm, shtml, xht, xhtml), create a link of an url http, and copy it 3 times, and edit the link and replace it by https, ftp or gopher. You will then have visual results, when setdefault will do the job.

4) launch K-Meleon => F2 > Setdefault (minimize K-Meleon Window)

After having set K-Meleon, launch AppAssocReg-Example.exe.

Report here what are the result on your machine

Warning, the version I made isn't complete, and the registry isn't cleaned when uninstalling, and also, previous values are saved.

If you want to use it, you can easily complete registration by using the right-click on the htm, html, shtml, xht and xhtml on the desktop => Open with => Change the default program.

I admit it's not enough, but it can help before we haven't found the way to do it from within SetDefault.

Let's test test and report, and, if you have an idea about where I miss, thanks to help and report.

@ Guenter,

I haven't have return about TuxKmPackager. Have-you make it work under you Seven install ?

Thanks

A+


Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:24.0) Gecko/20140105 Ubuntu/12.04 K-Meleon/74.0

Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr





Edited 1 time(s). Last edit at 01/03/2012 04:27AM by JujuLand.

Attachments: SetDefault.7z (179.5 KB)  
Options: ReplyQuote
Re: No Hurry
Posted by: adodupan
Date: January 03, 2012 12:27PM

This is just my comment and my experience.
I am also looking for a solution for this, but my approach was a little bit different. I had in mind two points:
1. users without administrative authority and
2. only use javascript (without exe files).
Users without admin authority has full control in HKCU, and i made small changes here.
In my clean virtual Windows 7, this works fine, for extensions and for protocols.
Now, i have but ..
When i choose in control panel another browser and set it as default, the OS does not change the values in my keys, just ignore them. After that, my way doesn't work.
I have no answer for this, i also miss something.

Regards



Edited 1 time(s). Last edit at 01/10/2012 03:22AM by adodupan.

Options: ReplyQuote
Re: No Hurry
Posted by: JujuLand
Date: January 03, 2012 04:31PM

I done the same job, but this page isn't enough

I have found a page where it describes a function to use with c++, for example, which does the trick, but I'm not a programmer, and I think it would be too much complicate, and nsis does it correctly.

The problem is in fact Seven ...

You haven't report the result of the tests I ask for.

A+


Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:24.0) Gecko/20140105 Ubuntu/12.04 K-Meleon/74.0

Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr




Options: ReplyQuote
Re: No Hurry
Posted by: deadlock
Date: January 05, 2012 03:25AM

Hey JujuLand,

tried all releases of SetDefault in Windows XP SP3
and all failed to register file extensions.

I made a new one and tested on my system only.
I've fixed some problems in TuxKmPackager and
enabled extensions in both.

Install/Uninstall works with restore of all keys.

SetDefault.exe (Executable!)

Notes

I know nothing about new features
in Vista/Seven registry, but hope that
those keys didn't change.

Options: ReplyQuote
Re: No Hurry
Posted by: adodupan
Date: January 05, 2012 05:53AM

deadlock, it is good to know that you're still here.

Best regards

Options: ReplyQuote
Re: No Hurry
Posted by: deadlock
Date: January 05, 2012 08:02AM

adodupan, getting support for my browser here. grinning smiley

But it was guenter who told kicked me to fix it.

You haven't reported the result of the tests I didn't ask you for.
Does it work in any other Windows version?

Options: ReplyQuote
Re: No Hurry
Posted by: adodupan
Date: January 05, 2012 08:59AM

deadlock, i hope that you will not have to hide :)

You will receive a report for a few hours.



Edited 1 time(s). Last edit at 01/06/2012 11:09PM by adodupan.

Options: ReplyQuote
Re: No Hurry
Posted by: JujuLand
Date: January 05, 2012 02:57PM

@ deadlock,

I know that the version doesn't work anymore with XP (not only SP3), because i deleted all the previous registry keys modifications. It was just for Seven testing purpose.

I can't download your Setdefault

Error 403
Forbidden

It is not allowed to view the requested file / site. This can have various reasons:
....
Free Webhosting - http://dhost.info
Advertisement


Can you send me your setdefault source, and the exe
Send me also the modifications you have made to TuxKmPackager

My mail address is in my signature.

Thanks
A+


Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:24.0) Gecko/20140105 Ubuntu/12.04 K-Meleon/74.0

Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr





Edited 3 time(s). Last edit at 01/05/2012 03:03PM by JujuLand.

Options: ReplyQuote
Re: No Hurry
Posted by: adodupan
Date: January 05, 2012 03:56PM

deadlock,

Quote

When i choose in control panel another browser and set it as default, the OS does not change the values in my keys, just ignore them. After that, my way doesn't work.

Same test, same result. Not good.

Too many unnecessary keys.

Options: ReplyQuote
Re: No Hurry
Posted by: guenter
Date: January 05, 2012 04:50PM

Quote
JujuLand
@ deadlock,

I know that the version doesn't work anymore with XP (not only SP3), because i deleted all the previous registry keys modifications. It was just for Seven testing purpose.

I can't download your Setdefault

Error 403
Forbidden

It is not allowed to view the requested file / site. This can have various reasons:
....
Free Webhosting - http://dhost.info
Advertisement


Can you send me your setdefault source, and the exe
Send me also the modifications you have made to TuxKmPackager

Try again I checked - it works.

http://dhost.info/kmeleonskins/KM1.6b3/base/SetDefault.exe

Options: ReplyQuote
Re: No Hurry
Posted by: deadlock
Date: January 05, 2012 08:17PM

@adodupan
Your reg shot 'Too many unnecessary keys.'
contains keys that are not modified by setDef.
It is missing the .URL keys I've added.
Does Seven prevent their creation?

Some of the "unnecessary keys are for backup
of previous value and they are used by uninstall.

SetDefault can use version detection to add
specific keys. This is what we need:
1) Exact Windows Version.
2) A working reg- or inf-file (important!).
3) Admin or user? (keys were written)



Edited 1 time(s). Last edit at 01/05/2012 10:51PM by deadlock.

Options: ReplyQuote
Re: No Hurry
Posted by: adodupan
Date: January 06, 2012 02:57AM

deadlock
Your reg shot 'Too many unnecessary keys.' contains keys that are not modified by setDef.

Trust me, it's all changed with SetDef.exe.

It is missing the .URL keys I've added. Does Seven prevent their creation?
7 did not prevent the creation of these keys. Little info for you:
You do not need to give much attention to this key. This key preventing error when you clicking on
internet shortcut. Try clicking on an internet shortcut in your favorites without this key (of course, if you already not made a mess from action of the control panel). Also, you do not need .URL value in the key FileAssociations.

Some of the "unnecessary keys are for backup of previous value and they are used by uninstall.
This is ok.

SetDefault can use version detection to add specific keys. This is what we need:
1) Exact Windows Version.

Windows 7 Ultimate
2) A working reg- or inf-file (important!).
explain this ??
3) Admin or user? (keys were written)
As Alain's file, your way also requires admin authority.

Here you do mess:
[HKEY_LOCAL_MACHINE\SOFTWARE\RegisteredApplications]
"K-Meleon"="Software\\K-Meleon\\Capabilities"

[HKEY_LOCAL_MACHINE\SOFTWARE\K-Meleon\Capabilities]

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Capabilities]

Alain
I have found a page where it describes a function to use with c++, for example, which does the trick, but I'm not a programmer, and I think it would be too much complicate, and nsis does it correctly.

Show us what you got.



Edited 2 time(s). Last edit at 01/10/2012 12:12AM by adodupan.

Options: ReplyQuote
Re: No Hurry
Posted by: JujuLand
Date: January 06, 2012 04:33AM

Quote
adudopan
SetDefault can use version detection to add specific keys. This is what we need:
1) Exact Windows Version.
Windows 7 Ultimate
Not necessary, just Seven/Vista or other
Quote
adudopan
2) A working reg- or inf-file (important!).
explain this ??
As I answer to a deadlock mail, the keys are known, but it's just the way to register it which is not easy.
Quote
adudopan
3) Admin or user? (keys were written)
As Alain's file, your way also requires admin authority.
Perhaps, but I you look to the harcopy I put in the file, you'll see that after launching setdefault,in the report of the nsis plugin sample, K-Meleon is registered, but HKCU keys applied are set.

But your right, to go faster, I have remove or modified the admin test, and it can work for me, and not for you.

I will try reintroducing Admin tests.

A+


Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:24.0) Gecko/20140105 Ubuntu/12.04 K-Meleon/74.0

Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr




Options: ReplyQuote
Re: No Hurry
Posted by: deadlock
Date: January 06, 2012 04:59AM

@adodupan
>Your reg shot 'Too many unnecessary keys.' contains keys that are not >modified by setDef.
>Trust me, it's all changed with SetDef.exe.

Trust me, you're wrong. Example:

[HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify]
'LastAdvertisement'='hex(11):80,EC,71,D3,77,CB,CC,01'
'UserStartTime'='hex(11):60,51,0B,A8,95,01,CB,01'

Your system's internal activity changes registry values all time.

>Also, you do not need .URL value in the key FileAssociations.
On my system (XP SP3) it was associated
with Internet Explorer, that's why I added it.
Default browser is used if it is not set.

>>2) A working reg- or inf-file (important!).
>explain this ??

Create a KM-All-Required-Keys-Sample.reg
file that works on your system.
I'll modify SetDefault for Seven with your keys.

>As Alain's file, your way also requires admin authority.
I didn't remove keys yet.
Changes for users without privileges will follow later.

>Here you do mess:
>[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Capabilities]

Thanks, but it was not me, all credits go to the previous author.
That's obviously a typo in Alain's sources.
I'll fix it for next upload with updated version number.

Forgot one thing before posting:
I'm using keyname K-MeleonHTML instead of K-Meleon.HTML.
Should I change it back to the old value?

Should we post a file to cleanup dead keys
for those who are testing?

Options: ReplyQuote
Re: No Hurry
Posted by: adodupan
Date: January 06, 2012 11:07PM

deadlock sorry, i'm not a guy for discussions, too many irrelevant questions and unnecessary excuses. Just do it what you think is best.
You already have my comment and reg file.

Best regards

Options: ReplyQuote
Re: No Hurry
Posted by: deadlock
Date: January 07, 2012 03:25AM

@adodupan tongue sticking out smiley
The reg-file with the hint to wrong keys
did help and I found some more.
I will remove .URL again (have read about it)
and use the old key K-Meleon.HTML again.

@Jujuland
NSIS doesn't know if it is started by admin
or user. A script with admin detection will
help to stop the script comparing wrong keys:

File extensions didn't register because it used
Software/Classes in the wrong branch.
HKLM instead of HKCU.

Options: ReplyQuote
Re: No Hurry
Posted by: deadlock
Date: January 07, 2012 08:36PM

new SetDefault.exe

SetDefault-2012-01-07.7z

Options: ReplyQuote
Re: No Hurry
Posted by: JujuLand
Date: January 07, 2012 10:24PM

Same result on Seven. Protocols are set, extensions are not set.

Please, send your source ...

A+


Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:24.0) Gecko/20140105 Ubuntu/12.04 K-Meleon/74.0

Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr




Options: ReplyQuote
Re: No Hurry
Posted by: deadlock
Date: January 08, 2012 12:17AM

@JujuLand
>Same result on Seven. Protocols are set, extensions are not set.
That shouldn't happen if there is full access to registry,
but a missing delete of another PersistentHandler
is a possible reason.

I've added this:
http://social.technet.microsoft.com/Forums/en/ieitprocurrentver/thread/a5544ebe-01b1-40b9-ae95-3b91579b0e4f

Does FF do the job on your Seven?
I've almost added 50% of similar values.

Try to find the missing keys
and I will add them.
Looks good on XP Pro and XP Home now.

>Please, send your source ...
I'm not finished with it.
(Currently unreadable.)

Options: ReplyQuote
Re: No Hurry
Posted by: JujuLand
Date: January 08, 2012 12:59AM

1) No persistentHandler

2) Don't want to use vbscript

3) FF does the trick, Seamonkey too, and I prefer to compare with Seamonkey which is nearest from K-Meleon.

4) No missing key, just a method to use to register the modifications to Seven.

5) Send it yet

A+


Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:24.0) Gecko/20140105 Ubuntu/12.04 K-Meleon/74.0

Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr





Edited 2 time(s). Last edit at 01/08/2012 01:01AM by JujuLand.

Options: ReplyQuote
Re: No Hurry
Posted by: adodupan
Date: January 10, 2012 03:40AM

Quote
JujuLand
I'm now able to open protocols with K-Meleon, but not to open extensions. When importing my regfile, some keys are rejected, saying that these keys are opened by the system or by other processes, but I don't know why

Quote
adodupan
When i choose in control panel another browser and set it as default, the OS does not change the values in my keys, just ignore them. After that, my way doesn't work.

This happens because after action from control panel, win 7 adds permission Deny SetValue in the key UserChoice:
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.html\UserChoice

I updated reg file, now are all the keys there, but from javascript it is probably not possible remove this permission.
I am also updated kmprefs.jar (new file DefaultBrowser.js), maybe someone has a good idea how to bypass this problem.

Regards



Edited 1 time(s). Last edit at 01/11/2012 11:13PM by adodupan.

Options: ReplyQuote
Pages: Previous123Next
Current Page: 2 of 3


K-Meleon forum is powered by Phorum.