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

[Inno Setup] Runtime Error | Cannot Import dll: #41

Open
Crisis2010 opened this issue Nov 8, 2017 · 7 comments
Open

[Inno Setup] Runtime Error | Cannot Import dll: #41

Crisis2010 opened this issue Nov 8, 2017 · 7 comments

Comments

@Crisis2010
Copy link

Crisis2010 commented Nov 8, 2017

After start setup.exe got this error:
Runtime Error (at -1:0):
Cannot Import dll:C:\Users\user\AppData\Local\Temp\is-S5690.tmp\VclStylesinno.dll.

Issue on version 1.5.4.1.
Verison 1.4.5.0 works fine.

OS Winsows 10 1511.

Issue only in new versions.

Fix this please.

@Crisis2010 Crisis2010 changed the title [Inno Setup] [Inno Setup] Runtime Error | Cannot Import dll: Nov 8, 2017
@RRUZ
Copy link
Owner

RRUZ commented Nov 21, 2017

Please check if you are using the proper version of the functions (Ansi/Unicode) that must match with version of Inno Setup (Ansi/Unicode).

@Crisis2010
Copy link
Author

Checked, everything is correct.

Unicode dll + Unicode inno setup

It looks like the problem occurred with changing some function with updates between 1.4.5.0 and 1.5.4.1 when changing to a new format of vcl theme

@RRUZ
Copy link
Owner

RRUZ commented Nov 21, 2017

Ok, So then maybe you are using the Lite version of the plugin which only loads the old VCL Style format.

@Crisis2010
Copy link
Author

Error appears only after update VclStylesinno.dll to latest version

Lite verison also give me this error...

@Crisis2010
Copy link
Author

Crisis2010 commented Nov 21, 2017

I tried the following combinations:
VclStylesinno.dll 1.5.4.1 + New VCL Style format = Runtime Error
VclStylesinno.dll 1.5.4.1 + Old VCL Style format = Runtime Error
VclStylesinno.dll (Lite) 1.5.4.1 + New VCL Style format = Runtime Error
VclStylesinno.dll (Lite) 1.5.4.1 + Old VCL Style format = Runtime Error
VclStylesinno.dll 1.4.5.0 + Old VCL Style format = Ok
Without dll = Ok

@Crisis2010
Copy link
Author

There are already two cases of user error in my program.
http://s018.radikal.ru/i511/1711/70/255553289877.png
http://s48.radikal.ru/i119/1711/fd/86804ba92735.png

@MidKnightXS
Copy link

Try changing the TEMP folder location into a path that does not use environment variables. In my case, the error message said it cannot import the file from filepath. This is strange since no filepath has at the start. The program seems to have problem translating environment variable in certain build of Windows.

I hope this works in your case. I don't know why on some computer Inno setup fail to translate environment variables correctly.

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

3 participants