Signed AIR package vs Signed Native Installer - actionscript-3

Im using Flex SDK 4.6 and Flashbuilder 4.6. On windows 7.
If I create a signed native installer, it installs and runs just fine.
If I create a signed air package, it installs but appears to run (i see the process in task manager) but I dont see anything, like it is running invisible.
Anyone got any idea how to troubleshoot this? what could be the cause?
If .air is supposed to run on any PC with AIR runtime, why do we need native installers?
(plain native installer and not the captured runtime). Any tips?

Related

Error trying to install a WP8.1 App in Windows Phone Mobile

Trying to install a WP8.1 App in a new Windows Phone Mobile 10 we are getting this error (We are using the "Windows Phone Application Deployment (8.1)" App):
Error - The provided package is already installed, and reinstallation
of the package was blocked. Check the AppXDeployment-Server event log
for details.
First, the app is not installed. We have verified twice.
Second, what is the AppXDeployment-Server and where I can find the log?
Thanks
The solution was as simple as update the Windows Phone OS to the latest version.
After that we can install WP8.1 Apps in Windows Phone Mobile.
First, the app is not installed. We have verified twice.
This error usually occurs when installing a package which is not bitwise identical to the package that is already installed. Therefore, if a package is rebuilt or resigned, it’s no longer bitwise identical to the previously installed package.
To fix it, you can increase your app’s version number, then rebuild and resign the package or remove the old package for every user on the system before installing the new one.
Besides, you mean the app is not installed before? That way you should use Windows Phone Application Deployment to install the package in default (C:) but not on the device SD card. If you want to install it on SD card, you should use Visual Studio to deploy your app.
Second, what is the AppXDeployment-Server and where I can find the log?
The AppXDeployment-Server provide more info to help you diagnose the cause of the error code.
You can follow steps below to access the event log:
• Run eventvwr.msc.
• Go to Event Viewer (Local) > Applications and Services Logs > Microsoft > Windows.
• The first log to check is AppxPackagingOM > Microsoft-Windows-AppxPackaging/Operational.
• Deployment-related errors are recorded in AppXDeployment-Server > Microsoft-Windows-AppXDeploymentServer/Operational.
Also, another option is to use PowerShell, try following command:
Get-Appxlog|Out-GridView
For more details, you might refer Troubleshooting packaging, deployment, and query of Windows Store apps.

How to port Windows Store 8.1 apps to Windows 10?

I have developed few apps in windows store 8.1 and i want to port them to windows 10.
Previously when windows 8.1 has released, In Visual Studio when you open the windows store 8 app code, in the solution we had an option called target to windows store 8.1, then it takes care of everything.
Now how to Port Windows store 8.1 apps to Windows 10 using C# and xaml
Any help or any article on this please?
Thanks in advance
The best way to do this is to create a new Windows 10 project based on the universal template and then copy all the source files and assets to it. There's a detailed description on MSDN here:
https://msdn.microsoft.com/en-us/library/windows/apps/dn705768.aspx
and here:
https://msdn.microsoft.com/en-us/library/windows/apps/dn751495.aspx
0) Install Win10 RTM
OK? =)
(But, If you just want to bulid the UWP project, Win8.1 is also ok. But you can't use the xaml designer, inspector, etc.... I can't recomend this way)
1) Install VS2015 RTM and Win10SDK RTM.
By default, Win10SDK is NOT installed. You should select the Win10 SDK from installation option dialog.
1.5) Update NuGET 3.1.
You can see the Flag Icon on the top-right corner of VS2015 Window. Click it to install Nuget Update.
2) Migrate your solution and project.
You should modify your .csproj manually with this guide.
Migrate apps to the Universal Windows Platform (UWP)
After that, you can build your app with VS2015.
Note - if you got the thousands of compile error, try Installing following nuget package from nuget console.
Microsoft.NETCore.UniversalWindowsPlatform
3) Modifying your app to suit for UWP manner
Following pages helps you.
Move from Windows Runtime 8 to UWP
Porting Windows Runtime 8 XAML and UI to UWP

Issue packaging a Windows Phone 8 app

I just installed Visual Studio 2013 on my machine (which runs Windows 8.1 Enterprise Build 9600). I checked to include the Windows Phone 8 SDK option during install.
Once complete, I launched VS and tried a new Windows Phone App project.
Created and built fine. However. when I tried to run on the emulator, I get the error:
Xap packaging failed. Cannot access a closed Stream.
... and ...
Could not find file 'c:\users\wade\documents\visual studio 2013\Projects\DataBoundApp1\DataBoundApp1\obj\Debug\XapCacheFile.xml'. Please rebuild the solution and try again.
Tried a clean and rebuild but still occurs. Also happens with the data bound app project.
So, I tried installing some of the SDK updates found here: http://developer.windowsphone.com/en-us/downloadsdk. All installed without a problem; however, when I tried again I got the same error.
Note: the emulator starts and runs just fine. The problem is creating the phone package and deploying to the emulator.
I'm not sure how to fix. Anyone have this issue?
UPDATE:
I have tried reinstalling the Windows Phone 8.0 SDK and all the updates. I should note that I also have VS 2012 installed and I also cannot create a Windows Phone 8 app in VS2012.
Here's an image of the WP8 stuff installed:
I resolved this issue by downloading the full Windows Phone 8.0 SDK ISO and installing (followed by a repair on the two updates).
I wish I could better explain how my machine got into this state. My suspicion is it's because I already had VS2012 installed on the machine and VS got into a confused state.
Total time spent? 4-5 hours.

Adobe AIR app installer offline

I'm making a software using AIR, and I got the installer installer.exe, but when I'm going to install in the target pcs, It tells me "This application requires a version of adobe air which cannot be found .....", but I need that my installer setup everything that I need to run my app in these pcs that have no Internet connection.
I'll appreciate any help !!
Greetings
Just download the latest AIR installer on a PC with an internet connection, and bring that along with your AIR app installer. You can get it from http://get.adobe.com/air/
From the research I've been doing, you can't legally include the runtime installer with your app unless you join adobe's runtime distribution license. If you look at the Adobe Runtime Distribution FAQ that seems pretty close to what you are trying to do.

Adobe AIR - Output a Mac installer on Windows

Is it possible to output an Adobe Air app Mac installer from Flash CS5 on Windows? I only see an option for a Windows .exe and not for a .dmg file.
Maybe anybody knows of a 3rd party tool for that?
Thanks.
assuming you are talking about native installers, then you're out of luck. native installers must be created on the target OS. it's the same for Flash CS5 on Mac, where we only have the option to make a .dmg native installer.
creating a native installer is possible, and fairly simple, using the AIR SDK and the command line. instructions are readily found online. if you have access to a mac all you need is your compiled .swf, your assets and a copy of the free AIR SDK and you can make one in no time without having to install Flash CS5 for Mac.