redzion
Posts: 58
Joined: Sun Sep 07, 2014 3:38 pm
Contact: Website Facebook Skype Twitter YouTube

UWP app build - not working

I have normal working installation (setup.exe named as "SShop.exe"). It is working on all Windows systems OK.

Then I tried also tried to create UWP install, so .appx, but here is the problem.

On Microsoft I have valid developer / publisher account.
.APPX build do OK, so I got installer.

On Windows 10, 32bit I tried install file with "double click" and I allways get the same error that file cannot be opened.

Installer file is available at:
https://www.simple-shop.si/prenos/SShop.appx

.AIP file was sended by e-mail.

Thank you!
Attachments
install_error_translate.png
install_error_translate.png (84.09 KiB) Viewed 12663 times
install_error.png
install_error.png (77.06 KiB) Viewed 12663 times
redzion
Posts: 58
Joined: Sun Sep 07, 2014 3:38 pm
Contact: Website Facebook Skype Twitter YouTube

Re: UWP app build - not working

Files which needed to build program you can download via:
https://www.simple-shop.si/prenos/SShop.zip

If you need some other files please report me, we will gladly provide it..
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: UWP app build - not working

Hello,

Please note that in order to install your APPX package (sideloading) you should call the PowerShell "Add-AppxPackage" cmdlet. Please take a look on the "Sideload LOB apps in Windows 10" article which explains the steps you need to do.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
redzion
Posts: 58
Joined: Sun Sep 07, 2014 3:38 pm
Contact: Website Facebook Skype Twitter YouTube

Re: UWP app build - not working

Great... I will try to do that.

But must say (just my opinion) that would be good if you make some simple step-by-step instructions..

After I'm done I will report if I'm successful.

PS. Thank you for pointing me to some direction...
redzion
Posts: 58
Joined: Sun Sep 07, 2014 3:38 pm
Contact: Website Facebook Skype Twitter YouTube

Re: UWP app build - not working

Sorry to say, but I tried what was your proposal - error is the same...

So testing machine was set as developer and certificate was imported as in above link instruction.

Some other proposal?

Did you check project file which I send to you. Is it OK?
redzion
Posts: 58
Joined: Sun Sep 07, 2014 3:38 pm
Contact: Website Facebook Skype Twitter YouTube

Re: UWP app build - not working

At attachment look what I got...
Attachments
manifest-error.png
manifest-error.png (22.29 KiB) Viewed 12644 times
redzion
Posts: 58
Joined: Sun Sep 07, 2014 3:38 pm
Contact: Website Facebook Skype Twitter YouTube

Re: UWP app build - not working

And detailed error..
Attachments
full_trust_error.png
full_trust_error.png (33.3 KiB) Viewed 12644 times
redzion
Posts: 58
Joined: Sun Sep 07, 2014 3:38 pm
Contact: Website Facebook Skype Twitter YouTube

Re: UWP app build - not working

Error description on provided link https://msdn.microsoft.com/en-us/library/hh973484.aspx
APPX_E_INVALID_MANIFEST 0x80080204
The package's AppxManifest.xml file isn't valid.
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: UWP app build - not working

Hello Simon,

It seems your application requires the "Full Trust" capability. Can you please proceed like this:
1. open you setup project in Advanced Installer and go to "Universal Windows" section in left pane -> "Capabilities" page
2. check the "Full Trust" option
3. rebuild your UWP AppX build

and then try to install/sideload again the APPX package?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
redzion
Posts: 58
Joined: Sun Sep 07, 2014 3:38 pm
Contact: Website Facebook Skype Twitter YouTube

Re: UWP app build - not working

OK, great.. Installation is now working...

Just one question.
How to specify, which .exe within project will be run by default button "Run" or in Slovenian language "Zaženi".
Currently is runned exe which is first in alphabetic order, in my case "Backup.exe", but I want to run "SShop.exe" via button seen on attachment picture.
Attachments
run.png
run.png (34.6 KiB) Viewed 12635 times
redzion
Posts: 58
Joined: Sun Sep 07, 2014 3:38 pm
Contact: Website Facebook Skype Twitter YouTube

Re: UWP app build - not working

So, do you have any idea how to achieve that I set what will be default running program from installation wizard?
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: UWP app build - not working

Hello Simon,

Currently we don't have support for this. I've added an improvement in this direction on our todo list and if we'll try to include this in a future version of our application. We will update this thread as soon as we have a resolution for this.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
redzion
Posts: 58
Joined: Sun Sep 07, 2014 3:38 pm
Contact: Website Facebook Skype Twitter YouTube

Re: UWP app build - not working

Great.
Thank you.
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: UWP app build - not working

You're welcome.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
redzion
Posts: 58
Joined: Sun Sep 07, 2014 3:38 pm
Contact: Website Facebook Skype Twitter YouTube

Re: UWP app build - not working

One quick question...

How can I manage, which .exe will "run" after finishing installing .APPX software..

You can see, that on test machine installer is working fine:
https://www.youtube.com/watch?v=0de0WOJHnSk

But the problem is, that when installing is finished, that when you press buton to run or in my native language "Zaženi", that installer run:
"Branches.exe", which is the first .EXE in alphabetic order, but we need to run "SShop.exe", which is not the first .EXE.

Because I think that this can be done, in case that this can not be done the only solution for me is to make another .EXE file, which would be named "A.exe", so that this file will be runed as fist found on alphabetic order and that this file then run "SShop.exe".

If you need installer project ".AIP" please write me e-mail to which I can send it.

Thank you for your answer.

Return to “Building Installers”