velja
Posts: 45
Joined: Tue May 14, 2013 12:01 pm

Unhandled error when building appx bundle

Building individual packages works fine. However if I select Create bundle with individual packages inside build is interrupted. I sent few error reports today using error dialog button. I will send project file.


[Last part of build output]

Code: Select all

Creating AppX file
Unable to create file "D:\DOK....\Build_MSIX_APPXSetupFiles\main-x64.appx".
Error details
 
Build finished because an error was encountered.
[Error details]

Code: Select all

Unable to create file "D:\DOKUMENTI\Projects\ENC_REPO\010.Projects-PVP51\MViewerPro\Deploy\Build_MSIX_APPXSetupFiles\main-x64.appx".

Advanced Installer 15.4.1 build d38ed030a8
*** Stack Trace (x86) ***

[0x753bc41f]  RaiseException()
[0x02aed92a]  -----
[0x01a60eff]  -----
[0x01a5fea3]  -----
[0x019dc825]  -----
[0x01af7510]  -----
[0x017c4ca2]  -----
[0x017c4caa]  -----
[0x0170ce81]  -----
[0x0171570e]  -----
[0x02300230]  -----
[0x016f4d11]  -----
[0x771b9f72]  RtlInitializeExceptionChain()
[0x771b9f45]  RtlInitializeExceptionChain()
[0x01350000]  MODULE_BASE_ADDRESS

Aside from this problem. After spending some time with windows store projects I believe that list that appears under Organization->Feature Properties->Builds->Include feature only in selected builds should include all Architectures checked under APPX build. I realize that its different category from "Build" but it would make things easy.
velja
Posts: 45
Joined: Tue May 14, 2013 12:01 pm

Re: Unhandled error when building appx bundle

I believe I resolved this. There was orphaned directory named main-x64.appx in the output directory. I deleted it and it started working.
Dan
Posts: 4513
Joined: Wed Apr 24, 2013 3:51 pm

Re: Unhandled error when building appx bundle

Hello,

We are glad you got this working by yourself.

Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
velja
Posts: 45
Joined: Tue May 14, 2013 12:01 pm

Re: Unhandled error when building appx bundle

I believe that you can benefit from this :) . Does AI create "main-x64.appx" directory when creating bundle? Is it orphaned if you Cancel build at certain moment? Can it handle that situation?
Thanks in any case.
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Unhandled error when building appx bundle

Hello,

I am afraid I cannot replicate this issue. If you could isolate this into a small sample and send it alongside a detailed test case this will be really useful for us.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”