Inno Script 990 runtime error

  1. ‹ Older
  2. 2 years ago

    TJ H

    19 Jun 2017 Oregon

    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

  3. Tim P

    19 Jun 2017 Pre-Release Testers Rochester, NY

    Did you not include the MyApp Libs folder?

  4. TJ H

    19 Jun 2017 Oregon

    Libs folder was included, as was the Resources folder

  5. Norman P

    20 Jun 2017 Xojo Inc, Pre-Release Testers, Xojo Pro Seeking work. npalardy@great-w...

    @TJ H 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.

    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

  6. TJ H

    20 Jun 2017 Oregon

    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.

  7. Tim P

    20 Jun 2017 Pre-Release Testers Rochester, NY

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

  8. Norman P

    20 Jun 2017 Xojo Inc, Pre-Release Testers, Xojo Pro Seeking work. npalardy@great-w...

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

  9. Bob K

    20 Jun 2017 Pre-Release Testers, Xojo Pro Kansas City

    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.

  10. Jeff T

    20 Jun 2017 Pre-Release Testers Midlands of England, Europe
    Edited 2 years ago

    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;
  11. TJ H

    20 Jun 2017 Oregon

    I see that now.

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

  12. Tim P

    20 Jun 2017 Pre-Release Testers Rochester, NY

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

  13. TJ H

    20 Jun 2017 Oregon

    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

  14. TJ H

    20 Jun 2017 Oregon
    Edited 2 years ago

    Screenshot

    -image-

    EDITED : NP - fixed image URL

  15. TJ H

    20 Jun 2017 Oregon

    Also, I'm on Xojo 2017 1.1

    and I am accessing Windows 10 via Bootcamp

  16. Bob K

    20 Jun 2017 Pre-Release Testers, Xojo Pro Answer Kansas City

    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

  17. TJ H

    20 Jun 2017 Oregon

    I will make those changes

  18. TJ H

    20 Jun 2017 Oregon

    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.

  19. Norman P

    20 Jun 2017 Xojo Inc, Pre-Release Testers, Xojo Pro Seeking work. npalardy@great-w...
    Edited 2 years ago

    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

  20. Bob K

    20 Jun 2017 Pre-Release Testers, Xojo Pro Kansas City

    The key was the error you were getting. Since Xojo applications are 'self contained' if the executable doesn't run with the 'plugin entry' errors it means the app can't find the libraries. And it's very easy to get the path wrong in the InnoSetup script. I know this because I usually screw it up every time I create a new script. :)

  21. Norman P

    20 Jun 2017 Xojo Inc, Pre-Release Testers, Xojo Pro Seeking work. npalardy@great-w...

    And definitely grab Eugene's guide from
    https://forum.xojo.com/conversation/post/305265

or Sign Up to reply!