Creating a Windows Store installer? - Advanced Installer Community
Codename K
Posts: 479
Joined: Fri Jan 29, 2010 3:04 pm

Creating a Windows Store installer?

Hello,

In normal installer you can specify the shortcut to the Start menu and Desktop so the user can click it can run the program. How to do that in a Windows Store appx installer? There are many files in the program which are included in the Windows Store installer. How to specify the correct executable as the main file to run like specifying the shortcuts in normal installer?

:?:
K
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Creating a Windows Store installer?

Hi,

An Appx package contains files and applications. An application is an executable file that can be launched by the user. There is already on our TODO list an improvement that will let you specifically set which files from your project are applications and which not.

However, shortcuts cannot be specified in an Appx project. The Operating System automatically creates shortcuts to all the applications from the Appx package which appear the "Apps" view from the Start Menu. There you can use the "Pin to Start" option to add them to the "Start" screen.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Codename K
Posts: 479
Joined: Fri Jan 29, 2010 3:04 pm

Re: Creating a Windows Store installer?

I understand. Furthermore I created an appx bundle but it is not working. I get the following error message,

Image

What is the issue here?

:?:
K
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Creating a Windows Store installer?

Hi,

This may happen because of an issue in Advanced Installer 13.1. Can you build your project using our latest version Advanced Installer (13.2.1) and see if it works?

Also, in order to avoid future possible errors, please keep in mind that all the Windows Store applications need digital signing with a valid certificate.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Codename K
Posts: 479
Joined: Fri Jan 29, 2010 3:04 pm

Re: Creating a Windows Store installer?

I have updated to the latest version 13.2.1 and I still get the same message above. I have sent my AIP file to your email. Can you look at it and see what is the issue please?

:?:
K
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Creating a Windows Store installer?

Hi,

I looked over your the project that you sent and I noticed the followings:
- it is not digitally signed
- it contains options that point to Windows 8. Do you test it on a Windows 8 machine or on a Windows 10 machine?

Is your application a fully Windows Store (UWP) application or it is a Win32 application that you want to create a UWP package for?

If a Win32 application is converted to UWP that error can be encountered on a corrupted machine even if the package is digitally signed. In this case the package installation may work through PowerShell using the "Add-AppxPackage" command. Can you reproduce the problem on multiple clean machines?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Codename K
Posts: 479
Joined: Fri Jan 29, 2010 3:04 pm

Re: Creating a Windows Store installer?

Well I digitally signed the installer and it worked. But after the installation reaches 99%, I get the following error,

Code: Select all

AppxManifest.xml(19,23): error 0x80070002: Cannot install or update package 25D425B7-C3B2-4AF7-886B-7AD1D3715B73_mhjtaat6nf07w because the splash screen image [SplashScreen.png] cannot be located. Verify that the package contains an image that can be used as a splash screen for the application, and that the package manifest points to the correct location in the package where this splash screen image can be found.
How to fix this please?

:?:
K
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Creating a Windows Store installer?

Hi,

Some images (i.e. tile logo, splash screen, etc.) are mandatory in an Appx package. We automatically set some default images for those that are mandatory in an UWP project.

Can you go in the "Visual Assets" page of your project, set your custom splash screen image and see if the problem persists?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Codename K
Posts: 479
Joined: Fri Jan 29, 2010 3:04 pm

Re: Creating a Windows Store installer?

I changed the splash screen image. It did not fix the issue. I have sent the AIP project file to your email. Can you see what is the error please?

I believe this has something to do with the way the image files are named. In the Asset folder in Files and Folders, the filename says SplashScreen.scale-100.png while the actual filename points to the file named SplashScreen.png

:?:
K
Codename K
Posts: 479
Joined: Fri Jan 29, 2010 3:04 pm

Re: Creating a Windows Store installer?

I fixed the issue. The reason is because, in the Asset folder in Files and Folders, the filename says SplashScreen.scale-100.png while the actual filename points to the file named SplashScreen.png. I change the names of the original file and in the Files and Folders into SplashScreen.png.

:D
K
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Creating a Windows Store installer?

Hello,

This issue will be fixed in the next version of Advanced Installer that will be released next week. We will update this thread as soon as the release will be available. Thank you for bringing it to our attention.

If there is anything else I can help you with, please let me know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Codename K
Posts: 479
Joined: Fri Jan 29, 2010 3:04 pm

Re: Creating a Windows Store installer?

Thanks. I found out in order to run a WIn32 application you have to change the Start Point in Application Details pane to Application is compiled:. This will ask the user to select the Win32 program included in the Files and Folders. But it also asks for Entry Point:. What is entered here?
K
Codename K
Posts: 479
Joined: Fri Jan 29, 2010 3:04 pm

Re: Creating a Windows Store installer?

I figured it out. You have to give Entry Point: as FullTrustApplication.
K
Codename K
Posts: 479
Joined: Fri Jan 29, 2010 3:04 pm

Re: Creating a Windows Store installer?

Hello,

I converted an Win32 installer to Windows Store installer using Desktop App Converter (UWP) in Advanced Installer. It created the installer and I was able to build the appx installer. But when I tried to install it, I get the following message,

Code: Select all

Ask the app developer for a new app package. This one isn't signed with a trusted certificate (0x800B0100)
I have given the correct digital certificate. I built the installer manually using Windows 10 SDK tools and signed using the same certificate and it worked there. But not here.

What is the issue here?
K
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Creating a Windows Store installer?

Hello,

This may happen if the developer certificate you used to sign the APPX package is not installed in the "Trusted Root Certification Authorities" store of the Local Machine. Can you please install your certificate in the certificates store of the Local Machine and let us know if this helped?

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

Return to “Common Problems”