Vista: Executing exe-files from archives does not work
Moderators: Hacker, petermad, Stefan2, white
Vista: Executing exe-files from archives does not work
With Vista it's not possible to execute a programm from within an archive (zip in my case). TotalCommander asks for "unpack and execute" as usual. After unpacking the message "file not found" appears.
Other file types have no problems. So I can view images or text files from archives.
Other file types have no problems. So I can view images or text files from archives.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I can think of two possible reasons:
1. Where is your TEMP variable pointing? I guess that it points to an invalid location.
2. What file type? Can you try with a different file type, e.g. a TXT or even an EXE file? Vista seems to make a mess with associations.
1. Where is your TEMP variable pointing? I guess that it points to an invalid location.
2. What file type? Can you try with a different file type, e.g. a TXT or even an EXE file? Vista seems to make a mess with associations.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Indeed the UAC dialog isn't currentls supported by WinExec, which is used in this function.
2Lefteous
You said that WinExec supports UAC dialogs in your tests, but this wasn't the case in my tests. Can you test this again, please?
Just put the TC installer in a ZIP and try to start it from there while logged in as administrator with restricted rights on Vista.
Do you get the UAC dialog?
2Lefteous
You said that WinExec supports UAC dialogs in your tests, but this wasn't the case in my tests. Can you test this again, please?
Just put the TC installer in a ZIP and try to start it from there while logged in as administrator with restricted rights on Vista.
Do you get the UAC dialog?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
2ghisler(Author)
Yes it still works when I call WinExec directly in a test app.You said that WinExec supports UAC dialogs in your tests, but this wasn't the case in my tests. Can you test this again, please?
No in this case I can actually confirm the "file not found" message. Other apps work fine when started from an archive though. I don't understand the problem here. TC extracts the file frm the archive and then executes it. If should work in the same way as direct execution.Just put the TC installer in a ZIP and try to start it from there while logged in as administrator with restricted rights on Vista.
Do you get the UAC dialog?
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact: