Inno Script 990 runtime error

I have written an Inno Script to provide some of my apps to the Windows community. I got the script compiled and wrapped in my certificate without any errors. However, after installing the app it crashes upon launch with a Runtime error of 990.

Has anyone else encountered this error? What’s the solution?

Thanks in advance, TJ

The full text of the error or a screenshot would be helpful.

Runtime Error

Common\plugin.cpp 990
Failure condition: pluginEntryTable GetEntrypointName, out]
can’t find plugin method BevelButton,DeleteAllRows

I do not have any BevelButtons in my app

Did you not include the MyApp Libs folder?

Libs folder was included, as was the Resources folder

[quote=336876:@TJ Hanson]I have written an Inno Script to provide some of my apps to the Windows community. I got the script compiled and wrapped in my certificate without any errors. However, after installing the app it crashes upon launch with a Runtime error of 990.
[/quote]
After installing on what version of Windows ?
There is a PDF next to the IDE in Documentation called WindowsUniversalRuntime.pdf that explains these changes
Your installer may need to install the Windows C Runtime redistributable

I’m using Windows 10.

I ran both vc_redist.x86.exe and vc_redist.x64.exe of the Windows runtime. The 990 error persists. I’ll go back and read that pdf doc. I must have missed something.

The error you pasted here doesn’t read like the runtime error message…

You should not install those on Windows 10
They are only needed on Windows 7 AFAIK

Take a look at the directory it installs into. Double click the Xojo-made executable. If it doesn’t run, that means your script is putting files into the wrong place. AFAIK, that’s the only time you would get a plugin entry error.

Show us the line in your innoscript that installs the libs , please.

expecting to see something like this, where the compiled app is in a folder on your machine called C:\myapp

DLLs go into “myapp libs”

Source: "C:\\myapp\\myapp Resources\\*"; DestDir: "{app}\\myapp Resources"; Flags: ignoreversion recursesubdirs createallsubdirs ; Attribs: hidden; Source: "C:\\myapp\\myapp Libs\\*"; DestDir: "{app}\\myapp Libs"; Flags: ignoreversion recursesubdirs createallsubdirs ; Attribs: hidden;

Over versions of Xojo may need these variants:

dlls go into a Libs folder

Source: "C:\\myapp\\myapp Resources\\*"; DestDir: "{app}\\myapp Resources"; Flags: ignoreversion recursesubdirs createallsubdirs ; Attribs: hidden; Source: "C:\\myapp\\myapp Libs\\*"; DestDir: "{app}\\Libs"; Flags: ignoreversion recursesubdirs createallsubdirs ; Attribs: hidden;

…all in one folder

Source: "C:\\myapp\\myapp Resources\\*"; DestDir: "{app}\\myapp Resources"; Flags: ignoreversion recursesubdirs createallsubdirs ; Attribs: hidden; Source: "C:\\myapp\\myapp Libs\\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs ; Attribs: hidden;

I see that now.

I have a screen shot of the runtime error, but can’t post it to this forum.

You can upload images to imgur.com and then link to them or embed them here.

Here is the complete inno script. I’ll try to post the runtime error screenshot.

; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName “ANOVA OneWay”
#define MyAppVersion “10.1”
#define MyAppPublisher “TJ Hanson”
#define MyAppURL “http://www.forestmgt.com/
#define MyAppExeName “ANOVA OneWay”

[Setup]
; NOTE: The value of AppId uniquely identifies this application.
; Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{F7F9B051-DAD5-45DD-BC63-40721B4CFAF3}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={pf}\{#MyAppName}
DisableProgramGroupPage=yes
LicenseFile=C:\Users\TJ Hanson\Desktop\Stat Apps\ANOVA OneWay\EUL.rtf
OutputDir=C:\Users\TJ Hanson\Desktop\Setup Files
OutputBaseFilename=ANOVA OneWay Setup
Compression=lzma
SolidCompression=yes
SignTool=kSign

[Languages]
Name: “english”; MessagesFile: “compiler:Default.isl”

[Tasks]
Name: “desktopicon”; Description: “{cm:CreateDesktopIcon}”; GroupDescription: “{cm:AdditionalIcons}”; Flags: unchecked

[Files]
Source: “C:\Users\TJ Hanson\Desktop\Stat Apps\ANOVA OneWay\ANOVA OneWay.exe”; DestDir: “{app}”; Flags: ignoreversion
Source: “C:\Users\TJ Hanson\Desktop\Stat Apps\ANOVA OneWay\ANOVA OneWay Libs\"; DestDir: “{app}”; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "C:\Users\TJ Hanson\Desktop\Stat Apps\ANOVA OneWay\ANOVA OneWay Resources\
”; DestDir: “{app}”; Flags: ignoreversion recursesubdirs createallsubdirs
;Source: “C:\Users\TJ Hanson\Desktop\Stat Apps\ANOVA OneWay\ANOVA1Way.ico”; DestDir: “{app}\Icons”; Flags: ignoreversion recursesubdirs createallsubdirs
Source: “C:\Users\TJ Hanson\Desktop\Stat Apps\ANOVA OneWay\EUL.rtf”; DestDir: “{app}”; Flags: ignoreversion

; NOTE: Don’t use “Flags: ignoreversion” on any shared system files

[Icons]
Name: “{commonprograms}\{#MyAppName}”; Filename: “{app}\{#MyAppExeName}”
Name: “{commondesktop}\{#MyAppName}”; Filename: “{app}\{#MyAppExeName}”; Tasks: desktopicon

[Run]
Filename: “{app}\{#MyAppExeName}”; Description: “{cm:LaunchProgram,{#StringChange(MyAppName, ‘&’, ‘&&’)}}”; Flags: nowait postinstall skipifsilent

Screenshot

EDITED : NP - fixed image URL

Also, I’m on Xojo 2017 1.1

and I am accessing Windows 10 via Bootcamp

You’re not installing the Libs and Resources correctly.
Source: “C:\Users\TJ Hanson\Desktop\Stat Apps\ANOVA OneWay\ANOVA OneWay Libs\"; DestDir: “{app}\ANOVA OneWay Libs”; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "C:\Users\TJ Hanson\Desktop\Stat Apps\ANOVA OneWay\ANOVA OneWay Resources\
”; DestDir: “{app}\ANOVA OneWay Resources”; Flags: ignoreversion recursesubdirs createallsubdirs

I will make those changes

That was it. Inno setup compiled without errors and I was able to install my app without errors; and it now executes without errors.

Thanks to everyone that took the time to look at this problem for me. I never would have solved it by myself.

Now I enter the next phase, getting the app up on the Microsoft store.

I’m sure there are a few threads in the Windows Target discussing this
https://forum.xojo.com/conversations/windows

https://forum.xojo.com/36648-windows-store-sign-up
https://forum.xojo.com/40496-desktop-apps-in-the-windows-store
https://forum.xojo.com/36149-how-to-get-a-xojo-app-in-the-windows-store
https://forum.xojo.com/37886-windows-store-marketing
https://forum.xojo.com/36287-xojo-apps-in-the-windows-store
https://forum.xojo.com/36881-free-trials-and-in-app-purchases-in-the-windows-store