Comments (12)
It needs Microsoft Visual C++ 2015 Redistributable (x86) runtime installed.
from desktoptoastane.
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.
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.
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.
I will do the test this week.
I'm installing now a clean Windows 10 on a virtual machine.
from desktoptoastane.
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.
ok, I will update the README to reflect that this is needed
from desktoptoastane.
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:
- The isSupported method on macOS only returns true in case of the macOS have the minimum OS version required;
- 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.
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.
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.
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.
Thanks.
from desktoptoastane.
Related Issues (11)
- UTF-8 HOT 12
- isSupported HOT 2
- Events not received on Windows 10 HOT 6
- Remove the C++ distributable dependency HOT 9
- Does this module handle Push Notifications to Mac & Windows ? HOT 3
- Windows activation suggestion HOT 1
- Usage HOT 7
- AIR for Windows 64 bits HOT 6
- isSupported does not work HOT 2
- I can't package targeting .air (for desktop) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from desktoptoastane.