ALTaleX531 / TranslucentFlyouts

Translucent effect for most of the win32 flyouts
GNU Lesser General Public License v3.0
810 stars 25 forks source link

I get an error message when installing/uninstalling translucentflyouts #41

Closed Dhyfer1 closed 5 months ago

Dhyfer1 commented 1 year ago

Hi @ALTaleX531

I have followed the steps to install translucentflyouts, but every time i run the bat file (as admin and without admin) to install/uninstall this error message you see in the image always appears, and there is no visible change in the menus

image_5.png

This happens in Windows 11 Pro latest dev build

ALTaleX531 commented 1 year ago

image It works fine in my Windows 11 Canary Build 25921, so I guess some of your system components was corrupted...

Dhyfer1 commented 1 year ago

It works fine in my Windows 11 Canary Build 25921, so I guess some of your system components was corrupted...

I don't know if it's like you say. Is there a way to send you a log about this problem? I forgot to say that I used before AcrylicMenus, but i uninstalled it before using translucentflyouts

ALTaleX531 commented 1 year ago

Please go to System > About, and copy the Windows specifications to me.

Dhyfer1 commented 1 year ago

I send you a screenshot of my windows specs

Screenshot 2023-08-09 102017.png

ALTaleX531 commented 1 year ago

I just installed the last dev build of Windows, but it works fine except there is a bug that task scheduler doesn't execute specific commands automatically. So, I suggest you to download the TranslucentFlyouts again or reinstall Windows.

Dhyfer1 commented 1 year ago

Hmm. I have installed the latest version, but I still have the same problem. I will reinstall Windows and let you know if that was the solution.

Dhyfer1 commented 1 year ago

Hi again.

I have reinstalled Windows dev channel from scratch, but still have the same problem. :'( I don't understand why I can't run translucentflyouts, instead AcrylicMenus which is based on translucentflyouts does work without problem. And I don't understand what is the cause of the error shown in the image and how to fix it. ๐Ÿ˜ข

ALTaleX531 commented 1 year ago

I have adjusted the compile options, please try this build. TranslucentFlyoutsV2.x64.zip

If this build is still not working, please try to disabled your anti-virus software temporarily.

Dhyfer1 commented 1 year ago

Nothing. I have downloaded the version from the link, but still appear the same error message, even disabling the antivirus I can't get translucentflyouts to work. ๐Ÿ˜ฅ

ALTaleX531 commented 1 year ago

Emm, I have no idea how to solve it...

Dhyfer1 commented 1 year ago

I have no idea either, I don't understand why it's not working. As I said before, AcrylicMenus is based on translucentflyouts, but AcrylicMenus does work without any problem.

Why isn't it working? Maybe some key is missing from the registry? or does translucentflyouts need a specific version of the .net framework, .net core or visual studio redistributable? or i don't have some dll file that translucentflyouts needs?

ALTaleX531 commented 1 year ago

This program does not need any .net framework/core and visual studio redistributable. From your image, it seems an error occured while executing LoadLibraryExW but I still don't know why. Have you ever tried the beta.2 version yet?

Dhyfer1 commented 1 year ago

Have you ever tried the beta.2 version yet?

Of course. I have used the latest beta version, but it hasn't fixed that error, I still get the same message. It seems that the problem is some missing or not registered dll file, I don't know. ๐Ÿ™

ALTaleX531 commented 11 months ago

Please try this build...๐Ÿ˜ข TranslucentFlyoutsV2.x64.zip

Dhyfer1 commented 11 months ago

Please try this build...๐Ÿ˜ข TranslucentFlyoutsV2.x64.zip

I have tried it, and also the latest version 2.1.0, but it has not solved my issue yet. In the readme of your project, there is a note for the installation that says:

[Note!]:
Downloading symbol files from Microsoft server is required at the first time or after a windows update, otherwise some functionalities will be unavailable!

When I run the install.bat or uninstall.bat file (as admin, or without admin) a command window opens showing only the text "C:\Windows\System32>start Rundll32 C:\Program Files\TranslucentFlyoutsV2.x64\TFMain64.dll",Main /install and in less than a second this command window closes, and then the error message that I have already shown in this issue appears.

Here is a video where you can see that the command window closes quickly, and it does not look like it is downloading anything.

ALTaleX531 commented 11 months ago

Well...๐Ÿค” Are you using a clean Windows from MSDN? I tested it in 5 different machines but I still can't reproduce this error, so my suggestion is that please try to install a clean Windows in a separate disk. This error really appears to be caused by missing system components.๐Ÿ˜ข

Dhyfer1 commented 11 months ago

Are you using a clean Windows from MSDN? I tested it in 5 different machines but I still can't reproduce this error, so my suggestion is that please try to install a clean Windows in a separate disk.

From MSDN? I do not know what you mean. I download the ISO for the latest dev version of windows 11 from here and then I mount it with Rufus on my unsupported PC. Maybe translucentflyouts doesn't work on an unsupported PC with Windows 11? All your 5 machines they are compatible?

Yesterday I reinstalled windows 11 again, on my main drive and on another partition, but I have the same problem. ๐Ÿ™

ALTaleX531 commented 11 months ago

From MSDN

It means download the iso file from official website of Microsoft and you just did it.

Maybe translucentflyouts doesn't work on an unsupported PC with Windows 11

No, it is impossible. I tested it in a unsupported PC with windows 11 and it was OK.

All your 5 machines they are compatible?

Yes, I'm 100% sure they're all compatible.

Well, let me do a small test, can you execute this command successfully? rundll32.exe shell32.dll,Control_RunDLL If yes, it will open a control panel, otherwise it will reproduce the error message you have shown before.

I will mark this issue as a unique one and never close it until I am able to reproduce it. Once I successfully reproduce it, I will solve it as soon as possible. Before then, I think you have to use AcrylicMenus...๐Ÿ˜ข

Dhyfer1 commented 11 months ago

Well, let me do a small test, can you execute this command successfully? rundll32.exe shell32.dll,Control_RunDLL If yes, it will open a control panel, otherwise it will reproduce the error message you have shown before.

Yes, after executing the command the Control Panel appears as you said, no error dialog appears after that.

I will mark this issue as a unique one and never close it until I am able to reproduce it. Once I successfully reproduce it, I will solve it as soon as possible.

Thanks for taking my problem into account. It seems that I am the only user to whom this happens, too bad, I hope you can find a solution.

Before then, I think you have to use AcrylicMenus...๐Ÿ˜ข

Yeah, I have been using AcrylicMenus for a long time. I already knew TranslucentFlyouts from the first version but I never used it, because I have always used AcrylicMenus. But now that the dev of AcrylicMenus is going to abandon the project as mentioned in his repository and recommends to use TranslucentFlyouts that has more features, I decided to try TranslucentFlyouts, but I'm running into this problem, which is why I created this issue.

So, in the meantime, I'm afraid I'll have to keep using AcrylicMenus. ๐Ÿ˜ž

bbmaster123 commented 11 months ago

I get this issue as well on all systems that don't have visual studio installed, both windows 10 and 11 If I install VS and compile myself, TFMain64 installs and runs fine, but If I move the self-compiled files to a new system without VS, it will fail to install with the same error as OP

edit: Fixed by including the C++ Runtime in output directory in configuration properties > advanced. hope that helps, and hopefully this will be resolved in the next major release cheers :)

Dhyfer1 commented 11 months ago

@bbmaster123 Hi. Can you tell me step by step how you did it? What should I install for translucentflyouts to work? I'm not an advanced user so I don't know anything about compiling something.

bbmaster123 commented 11 months ago

@Dhyfer1 do you plan to build from source? If not, I'm happy to zip up the 14 or so dll's and post them here Its as simple as dropping the files into the TranslucentFlyouts folder and running install.bat as admin

Dhyfer1 commented 11 months ago

@Dhyfer1 do you plan to build from source?

As I said before, I don't know anything about compiling code, much less building from source, I'm a newbie ๐Ÿ˜…

If not, I'm happy to zip up the 14 or so dll's and post them here Its as simple as dropping the files into the TranslucentFlyouts folder and running install.bat as admin

I think it's a good idea. Thx. On my PC I still can't run translucentflyouts and I think your files would be of help to me, until @ALTaleX531 releases a new version that I hope will solve my problem taking into account your previous comment.

So I'm waiting for your files. Thank you.

bbmaster123 commented 11 months ago

no worries, here's the runtime files from visual studio https://github.com/bbmaster123/FWFU/raw/main/TFv2-Runtimes.zip

hope it works for you :)

Dhyfer1 commented 11 months ago

Thanks for the link ๐Ÿ˜Š but it's down ๐Ÿ™

ALTaleX531 commented 11 months ago

@bbmaster123 image However, TranslucentFlyouts does not rely on C++ Runtime at all, and it works fine in my brand new OS.

bbmaster123 commented 11 months ago

that's odd, my OS was brand new as well, downloaded from microsoft's media creation tool. if translucentflyouts doesn't rely on C++ Runtime, I don't understand why that works for me? I tried to narrow it down to a single file on the OS without visual studio, but it only successfully installs when all dlls are present...

Dhyfer1 commented 11 months ago

@bbmaster123 I'm sorry to say that your solution has not worked for me ๐Ÿ˜ฅ I copied the 14 files into the translucentflyouts folder, then ran the install.bat file as admin but the error message still appears, even after a fresh install of Windows. What is the problem?

I was wondering that maybe it could work for my machine if I built translucentflyouts from source like you did, but like I said before I have no idea about this.

Or do I have to have some c++ runtime installed for it to work?

SanekGamer007 commented 11 months ago

i have the same thing on windows 10 2009

Eurothopia commented 10 months ago

mhm so I got the same thing over here (10 22H2, freshly reset) and I dug up something from event viewer: image

Faulting application name: rundll32.exe_TFMain64.dll, version: 10.0.19041.3570, time stamp: 0x534b7e9f
Faulting module name: TFMain64.dll, version: 0.0.0.0, time stamp: 0x64eb92bb
Exception code: 0xc000001d
Fault offset: 0x0000000000008d7b
Faulting process id: 0x3798
Faulting application start time: 0x01da01f280912e21
Faulting application path: C:\WINDOWS\system32\rundll32.exe
Faulting module path: C:\Users\lehie\runtimes\TranslucentFlyouts\TFMain64.dll
Report Id: 11035098-8760-4b21-8238-b35ac8900bf0
Faulting package full name: 
Faulting package-relative application ID: 

and then another instantly following error: image

Windows cannot access the file  for one of the following reasons: there is a problem with the network connection, the disk that the file is stored on, or the storage drivers installed on this computer; or the disk is missing. Windows closed the program Windows host process (Rundll32) because of this error.

Program: Windows host process (Rundll32)
File: 

The error value is listed in the Additional Data section.
User Action
1. Open the file again. This situation might be a temporary problem that corrects itself when the program runs again.
2. If the file still cannot be accessed and
    - It is on the network, your network administrator should verify that there is not a problem with the network and that the server can be contacted.
    - It is on a removable disk, for example, a floppy disk or CD-ROM, verify that the disk is fully inserted into the computer.
3. Check and repair the file system by running CHKDSK. To run CHKDSK, click Start, click Run, type CMD, and then click OK. At the command prompt, type CHKDSK /F, and then press ENTER.
4. If the problem persists, restore the file from a backup copy.
5. Determine whether other files on the same disk can be opened. If not, the disk might be damaged. If it is a hard disk, contact your administrator or computer hardware vendor for further assistance.

Additional Data
Error value: 00000000
Disk type: 0

but then like image doesn't really make sense imo

Eurothopia commented 10 months ago

image dunno

bananakid commented 8 months ago

Hey @ALTaleX531, would you kindly let me know if there're some operating system dependencies (Policies, etc.) for TFMain64.dll to install? I get no errors (in Event Viewer as well) on my main operating system โ€” Windows 10, version 21H2 (OS build 19044.1288) โ€” when I try to install TF, but it doesn't install. At the same time it installs perfectly with the same operating system and settings in virtual machine. I wonder if I made some change to my main operating system that causes the problem?.. Rundll32 works fine, I can launch DLLs with it and I'm using Administrator account with both OS.

ALTaleX531 commented 8 months ago

TranslucentFlyouts mainly relies on Task Scheduler to run at startup. I think maybe your anti-virus software prevent TF from running at startup...

bananakid commented 8 months ago

@ALTaleX531, thanks, I've double-checked and 2.1.0 installs and works fine on the same OS but with a new administrator account. Guess something got corrupted in my main Administrator account. Interestingly, version 2.0.0 installed and worked fine with "corrupted" Administrator accountโ€ฆ I guess we'll never know since repairing OS with DISM and SFC didn't help.

P.S. In case someone has the same problem, it's not the case the TF won't startup (Task Scheduler works fine, RunDLL32 works fine): the TFMain64.dll 2.1.0 won't install at all, the message "The operation completed successfully" simply doesn't appear, the Rundll32 process isn't started. As stated earlier, using a different account fixed the problem.

ALTaleX531 commented 5 months ago

I finally realized that your CPU probably doesn't support the enhanced instruction set, I think I should be able to fix it soon.

Dhyfer1 commented 5 months ago

I finally realized that your CPU probably doesn't support the enhanced instruction set, I think I should be able to fix it soon.

Is what you say for me or someone else in this post? If it's for me, perfect, I'm still waiting for a solution.

ALTaleX531 commented 5 months ago

I think it has been fixed in the latest version.

Dhyfer1 commented 5 months ago

I think it has been fixed in the latest version.

That's right. Thank you very much!, translucentflyouts is now running smoothly on my PC. I've been wanting to try your app for a long time and now I can, I'm happy because it's finally working. ๐Ÿ˜ƒ