Skip to main content
Participating Frequently
December 10, 2015
Question

AIR/adt: windows native installer packaging fails

  • December 10, 2015
  • 1 reply
  • 734 views

I've been trying to package a .swf I created into an .exe native windows installer with the following adt command:

adt

  -package

  -storetype pkcs12

  -keystore my_cert.p12

  -storepass ********

  -target native

  -storetype pkcs12

  -keystore my_cert.p12

  -storepass ********

  MyProject.exe

  MyProject-app.xml

  MyProject.swf

  assets

However, I keep running into errors about missing SDK files. First, I got an error about missing "naip.exe". I found it in my Flash Builder folder on my Mac and copied it to the Windows machine I'm trying to package on. Then, I got another missing file error, "SDK is missing file runtimes/". I found that folder as well and am copying it over now, but I feel like I'm digging a deeper and deeper hole. Why do I need Flash Builder SDK files to package a native installer? Why can't I just use the latest AIR SDK (20.0.0.204) as downloaded?

This topic has been closed for replies.

1 reply

ericsocoAuthor
Participating Frequently
December 17, 2015

I ended up downloading Flash Builder and using the SDK files in the install (didn't have to use Flash Builder itself).

While I managed to package an .exe, though, it doesn't work -- it just hangs when running it. Nothing is logged to stdout, so I have no idea what is happening when I run it

Participant
September 21, 2018

I know its old, but I am having the same issue I created a bare bones project and the generated native installer for windows, but it does not run, it just hangs. I can unzip the exe and run the installer inside, but the generated file itself does nothing. any ideas as to why or how to work around this?