starting programs out of Salamander doesn't work as expected

Discussion of bugs and problems found in Altap Salamander. In your reports, please be as descriptive as possible, and report one incident per report. Do not post crash reports here, send us the generated bug report by email instead, please.
ibex
Posts: 6
Joined: 23 May 2007, 15:28

starting programs out of Salamander doesn't work as expected

Post by ibex »

Hello to all....

Operating system: Windows XP Pro SP2 - Salamander 2.5

I need advice to correct a certain behaivor of Salamander. Pobably not Salamander but my windows settings might be reason of concern.

I have two computers, on both the operating system is Windows XP, on both I work on two accounts: one with admin rights, the other as main user.

Working as a main user enables me on one computer, to start programs within salamander by simply highlighting the program and then pressing return. On the other one this doesn't work, no action is performed, after pressing return. However, a program might be started out of the Salamander commandline (pressing control & return followed by return).

To make things even more irrtitating, highlighting for example a JPEG-File within Salamander and pressing return, this action immediately will start the associated programm (for example IrfanView).

Has someone an idea what Im doing wrong? Thanks for any advice in advance!

Gerd
User avatar
Ether
Posts: 1471
Joined: 10 May 2007, 16:08
Location: Czech Republic
Contact:

Post by Ether »

It isn't an issue with wrong permissions, because the program can be run eventually. Check the settings in Options->Configuration->General->Open files through salopen.exe, that may have something to do with your problem. But as the main candidate I see bad associations. Try running the program using 'start', that should mimic the Enter behavior. In the command line, enter the word 'start' and a space before you press Ctrl+Enter and Enter.

Any results?

And BTW is this only Salamander issue, or do the programs not run even in Explorer?
Ελληνικά rulez.
ibex
Posts: 6
Joined: 23 May 2007, 15:28

Post by ibex »

Hi...

many thanks for your interest and support :-)

Working with limited rights (main user):

Programs may be started out of the Explorer, by simply mouse left-clicking them.
The same applies to Salamander 1.52 and FreeCommander.

Changing the setting in 'Options->Configuration->General->Open files through salopen.exe' will not change the situation with Salamander 2.5

Starting Salamander 2.5 with admin rights, everything works fine.

However, working as a main user, I miss the open dialog when highlighting a program and mouse right-clicking it. But: this applies to the explorer and any other filemanger too.

Programs may be started using the Windows start button i.e. command line (lower left on the screen) without difficulties. Uninstallation and reinstallation of Salamander hasn't changed the situation so far.
User avatar
Ether
Posts: 1471
Joined: 10 May 2007, 16:08
Location: Czech Republic
Contact:

Post by Ether »

Looks like a registry problem. Try comparing these two keys, their subkeys and values, when you run AS as Admin and when you run AS as your main user. (Using the Windows Registry item in the Change Drive panel.)

REG:\HKEY_CLASSES_ROOT\exefile
REG:\HKEY_CLASSES_ROOT\.exe
Ελληνικά rulez.
Tomas Kopal
ALTAP Staff
ALTAP Staff
Posts: 132
Joined: 07 Dec 2005, 23:01
Location: Prague, Czech Republic
Contact:

Post by Tomas Kopal »

Try also scanning your computer for viruses, they like to mess with executables and their startup sequences...
ibex
Posts: 6
Joined: 23 May 2007, 15:28

Post by ibex »

Operating system: Windows XP Pro SP2 - FAT32


Thanks to all for your interest and support!

What I need is a big bottle of redwine - better two.... this issue drives me mad :-(

The problem is related to Salamander only. Mouse cklicking on an exe file starts the related program within MS explorer and (used for testing) FreeCommander within both accounts, as there are admin and user accounts.

Salamander works fine with admin rights. Uninstalling and reinstalling Salamander has changed the situation a bit: while working with limited rights, a double click on an exe file - for example irfanview - brings up a different programm (here Ninotech Date Edit). In the opend program window I can read: "Item: c:\programme\IrfanView\i_view32.exe".

Typing on the Salamander commandline: start c:\programme\IrfanView\i_view32.exe followed by return will start the correct program without delay.

I've checked within HKEY_CLASSES_ROOT the .exe and exefile relations... nothing special to see, everything appears to be fine... seems logical, as other filemanger work fine.

Viruscheck sofar is negative.

What I haven't tested until now is to create a new user account and to run Salamander within this account with a new profile. As I mentioned above: I need a big bottle of wine.

If someone has an idea what I could test, check or change... your comments and ideas are highly appreciated. Thanks in advance!

regards... Gerd
Petr Solin
ALTAP Staff
ALTAP Staff
Posts: 1112
Joined: 08 Dec 2005, 09:13
Location: Novy Bor, Czech Republic
Contact:

Post by Petr Solin »

Please try to open context menu on some .exe file (right mouse click on it) in Salamander's panel. Do you see there default item (in bold font) Open? Or is there any default item at all? When you hit Enter key, Salamander finds default item in context menu and executes it.

See attached screenshots with .exe and exefile keys in registry. Open is the default item in my context menu on .exe files in XP.
Attachments
exe.png
exe.png (17.9 KiB) Viewed 10074 times
exefile-open.png
exefile-open.png (16.81 KiB) Viewed 10074 times
Post Reply