Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to circumvent "can not import VclStylesInno.dll" errors...?! #43

Open
TheShaman opened this issue Jul 17, 2018 · 2 comments
Open

How to circumvent "can not import VclStylesInno.dll" errors...?! #43

TheShaman opened this issue Jul 17, 2018 · 2 comments

Comments

@TheShaman
Copy link

TheShaman commented Jul 17, 2018

Hi there, I have seen there is already a thread about that problem from a dev perspective and no solution.

Any advice for a USER who has the problem with a BUNCH of current installers (mainly Codex game updaters, but also other, legit ones) not running due to the same error.

Here is what I get: whenever I try to run one of these installers, I get an Error 217, followed by
Runtime Error (at - 1:0): Cannot Import dll:<utf8>C:\pathtosometempdir\VclStylesInno.dll

The dll actually IS in the temp directory, the version appears to be 1.54.1.

The usual recommendation (malware, UAC, antivir, safe boot, run as admin, blahblah... ) have been tried and failed.

Windows 10 Pro 64 bit, English, Build 17134

Any idea how to circumvent this problem?
From what I understand that dll is only needed for optics, which I could not care less about, I just want my installers to run... :D

Thanks for any ideas!

@MidKnightXS
Copy link

I also experience this problem and have searched the internet for solution to no avail.

Then I have my suspicion after someone said something about the right before the file path. I suspected the the installer have some problem translating the environment variables for temporary folder in Windows. The default path for TEMP contain %USERPROFILES% that gets translated into the actual path. It is trying to retrieve the dll from an incorrect file path due to the at the start.

My workaround is to change the default path for TEMP and TMP to a path that does not use environment variables. Restart windows and try installing again. The installer extracted the dll to a different TEMP folder and retrieved it successfuly.

I hope my method can be applied to your case.

@TheShaman
Copy link
Author

Makes sense @MidKnightXS, thanks for the idea!

Currently no need since Fitgirl was kind enough to update the repacks of my favorite games, lol, but next time I need a Codex updater I will test this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants