- #INNO SETUP STUDIO ERROR DLL HOW TO#
- #INNO SETUP STUDIO ERROR DLL INSTALL#
- #INNO SETUP STUDIO ERROR DLL CODE#
"C:\Program Files\Inno Setup 5\iscc" "/sStandard=C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\signtool.exe sign /f CertPath\mycert.pfx /p MyPassword $p" sfquery.iss Here’s the solution: you need to add the same “sign tool” definition you did to the UI to the command line. Once I added the SignTool directive in my ISS files, my command line builds failed. However, I also like to build setups as part of a build process, so I call the Inno Setup compiler via the command line.
![inno setup studio error dll inno setup studio error dll](https://i0.wp.com/mycrackfree.com/wp-content/uploads/2018/06/9f4E3KxH4DdzP3oWUnlbprsh4Hajq7JA-1.jpg)
Now, every time you build your setup using the Inno Setup UI, your setup executable is automatically signed. Specify the name of your “sign tool” in place of “Standard” and a descriptive name for your setup program in place of “Stonefield Query Installer.” $q is an Inno Setup constant representing a quote and $f is a constant containing the name and path of the setup EXE created by Inno Setup. SignTool=Standard /d $qStonefield Query Installer$q $f
#INNO SETUP STUDIO ERROR DLL CODE#
Or, the missing file can be copied over from one users %AppData%\Local\VCLStylesSkin\ to the same folder (which should be created first) of the user which encountered the issue.įinally, if there is no access to the ‘original’ user, or to the VclStylesIno.dll file, the file can be downloaded from here, and then copied over to the users %AppData%\Local\VCLStylesSkin\ folder.As I discussed a couple of years ago, code signing your executables is important for a variety of reasons.
#INNO SETUP STUDIO ERROR DLL INSTALL#
In case the user used to install the tool is available, it can be used to uninstall ApexSQL applications. This means that in case when a different user is used to uninstall the application than the one that was used to install it, the above-mentioned file will be missing from the respective folder and uninstall process will hence fail.Īs mentioned above, the solution for this issue is to ensure that the VclStylesIno.dll file exists in the appropriate location (%AppData%\Local\VCLStylesSkin\VclStylesIno.dll). Reason behind lies in the fact that this file is created when the application was created in the User\AppData folder only for the specific user which was used to install the application.
![inno setup studio error dll inno setup studio error dll](https://www.jcz.fr/innosetup/inno_08.png)
![inno setup studio error dll inno setup studio error dll](https://i.stack.imgur.com/U5bKB.jpg)
Once the uninstall process is initiated, the ‘Runtime Error (at -1:0): Cannot import dll:%AppData%\Local\VCLStylesSkin\VclStylesIno.dll.’ error is encountered’ error is encountered and uninstall process is immediately terminated.Īs the error message suggests, the reason why this error is encountered because the VclStylesIno.dll file does not exist in the specified location.
![inno setup studio error dll inno setup studio error dll](https://i.stack.imgur.com/QQklv.jpg)
#INNO SETUP STUDIO ERROR DLL HOW TO#
This article explains how to resolve an issue which prevents uninstall process of ApexSQL tools.