Code Monkey home page Code Monkey logo

Comments (12)

tuarua avatar tuarua commented on May 22, 2024

It needs Microsoft Visual C++ 2015 Redistributable (x86) runtime installed.

from desktoptoastane.

hferreira avatar hferreira commented on May 22, 2024

I only want to support Windows 10 + macOS, so I will try to run on a clean Windows 10 on a virtual machine to see how it works.
Perhaps Windows 10 may already include the necessary files.

from desktoptoastane.

tuarua avatar tuarua commented on May 22, 2024

Windows 10 should have the 2015 C++ redistributable (and earlier) as default. It will be listed under Programs and Features. Please let me know if the clean VM has this installed. Thanks.

from desktoptoastane.

hferreira avatar hferreira commented on May 22, 2024

I will do a test on a clean Windows 10 and let you know the results.
I'm now without time but probably I can do this latter next week.

from desktoptoastane.

hferreira avatar hferreira commented on May 22, 2024

I will do the test this week.
I'm installing now a clean Windows 10 on a virtual machine.

from desktoptoastane.

hferreira avatar hferreira commented on May 22, 2024

It's confirmed.
With a clean install of Windows 10 Pro without Internet connection (so there is no updates), one sample AIR App with your ANE does not work (don't crash but also don't show the toast).
After install the Visual C++ 2015 distributable (x86), the ANE works.

from desktoptoastane.

tuarua avatar tuarua commented on May 22, 2024

ok, I will update the README to reflect that this is needed

from desktoptoastane.

hferreira avatar hferreira commented on May 22, 2024

It's a pity because I would love to use this ANE.
Perhaps I will use for macOS and in case of Windows 10 I add a button "Enable local notification on this machine" and then call Visual C++ 2015 distributable (x86) directly from the offical web site.

2 suggestions:

  1. The isSupported method on macOS only returns true in case of the macOS have the minimum OS version required;
  2. Add a new method on Windows side of the ANE (for example haveRuntimeRequirements) that check if Visual C++ 2015 distributable is installed on the local machine (perhaps check for a vital DLL from the runtime).

from desktoptoastane.

tuarua avatar tuarua commented on May 22, 2024

Erm, any program, or dll written with Visual Studio needs these runtime dlls. This ANE is not a rarity or special.
Windows programs should be packaged with an installer such as Inno setup or Wix. These installers are configured to check for dependencies, setup shortcuts write registry entries etc etc.
These are standard things in building real world desktop apps.

I take on board your point about OSX version and will look a version check.

from desktoptoastane.

hferreira avatar hferreira commented on May 22, 2024

I understand your point of view.
Currently this AIR Desktop App that I'm talking about is available on macOS and Windows, using a installer for macOS and another one for Windows and I'm using shared runtime (included on the setup with Adobe authorization of course) and 0 ANE's (shared runtime don't support ANE's).
I'm considering moving to captive runtime (because in the future we will have AIR with support for Windows x64 and hopefully also supporting ANE's x64).
But unfortunately from my experience install of runtimes fails many times (specially on very old machines) so I'm considering a very basic setup with the App and 0 additional runtimes.
This will garantee 100% of good experience install my App.
The small percentage of people with Windows 10 and without Visual C++ 2015 distributable already installed by other Apps, can then install separately.

from desktoptoastane.

tuarua avatar tuarua commented on May 22, 2024

ok.
If you do ever want to look into an installer where you can check for required see this:
https://www.codeproject.com/articles/20868/net-framework-installer-for-innosetup

from desktoptoastane.

hferreira avatar hferreira commented on May 22, 2024

Thanks.

from desktoptoastane.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.