airsdk / Adobe-Runtime-Support

Report, track and discuss issues in Adobe AIR. Monitored by Adobe - and HARMAN - and maintained by the AIR community.
202 stars 11 forks source link

An error occurred package AIR desktop native installer in AIR 33.1.1.98 #336

Open KaseYu opened 4 years ago

KaseYu commented 4 years ago

Hello,

When I use the current version of the AIR SDK to package a desktop application in Animate CC 2019, if I choose desktop native installer, the following error message occurs.

ErrorLog: unexpected failure: Platform conversion failed. Process exited with error 5. Output was "[ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="execute: UPDATEPropertySETValue= ? WHEREProperty= ?[1627]: MSI Error" errorID=0]<br>"<br>java.io.IOException: Platform conversion failed. Process exited with error 5. Output was "[ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="execute: UPDATEPropertySETValue= ? WHEREProperty= ?[1627]: MSI Error" errorID=0]<br>"<br> at com.adobe.air.nai.NativePackager.conversionFail(NativePackager.java)<br> at com.adobe.air.nai.NativePackager.invokePlatformConversion(NativePackager.java)<br> at com.adobe.air.nai.NativePackager.createPackage(NativePackager.java)<br> at com.adobe.air.ADT.parseArgsAndGo(ADT.java)<br> at com.adobe.air.ADT.run(ADT.java)<br> at com.adobe.air.ADT.main(ADT.java)

The AIR 32 version is normal work, so I want to confirm this error. How can I solve it ? Thanks a lot.

zwetan commented 4 years ago

How can I solve it ?

you need to publish a captive runtime

KaseYu commented 4 years ago

@zwetan No, i want to publish native installer(*.exe)

zwetan commented 4 years ago

what you want is not supported anymore

you need to publish a captive runtime and if you need to deploy your app for desktop use an installer like Inno Setup, NSIS, etc.

KaseYu commented 4 years ago

Thanks for the response, if this feature option has been discarded, then I should indeed package the program in a different way.