Support for asp.net core

Request new features that you would like to see in the next version of Advanced Installer.
Post Reply
cblaise
Posts: 4
Joined: Tue Jun 07, 2016 4:16 pm

Support for asp.net core

Post by cblaise » Wed Nov 23, 2016 10:27 pm

Does Advanced Installer currently support asp.net core? If so, is it limited to being hosted in IIS or can in run as a self-hosted service like typical asp.net applications?

Thanks

Eusebiu
Posts: 4807
Joined: Wed Nov 14, 2012 2:04 pm

Re: Support for asp.net core

Post by Eusebiu » Tue Nov 29, 2016 3:05 pm

Hi,

I'm afraid that we do not have support for this yet. However, this feature is already on our TODO list and we will try to add it in a future version of Advanced Installer. We will update this thread when it will be available.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

richardw
Posts: 3
Joined: Wed May 30, 2018 10:01 pm

Re: Support for asp.net core

Post by richardw » Wed May 30, 2018 10:20 pm

Hi,

Can I ask what the current situation with ASP.Net core support is?

I have an ASP.Net Core 2.0 app (built with .Net 4.7.1 rather than .Net Core), and can build an installer that directly installs that into an IIS server that already has the required dependencies installed. However, if I create a web deploy package for the same application and add that into an AI installer, I get the following error when I try to build the install:

Error calling MSI API: 1627 Method: MsiDatabaseImport Table: AI_IIsWebDeployParams. Extended Error: 1: 2216 2: C:\Dev\TFS3WebApiGit\installer\Your Application-SetupFiles\Your Application.msi 3: AI_IIsWebDeployParams.idt 4: 4 .

Advanced Installer 14.9 build d1a66ff2f1
*** Stack Trace (x86) ***

[0x74bfd722] RaiseException()
[0x026ea6dd] -----
[0x016c518c] -----
[0x016c0c29] -----
[0x016dbfe6] -----
[0x016dad65] -----
[0x016143c9] -----
[0x0161cc86] -----
[0x014d21c5] -----
[0x01611130] -----
[0x01289721] -----
[0x01289729] -----
[0x011d12e5] -----
[0x011da0fc] -----
[0x01e9c170] -----
[0x019363d1] -----
[0x770f2ec0] RtlValidSecurityDescriptor()
[0x770f2e90] RtlValidSecurityDescriptor()
[0x00e20000] MODULE_BASE_ADDRESS

This is with AI 14.9 and a basic ASP.Net Core app created with the Visual Studio 2017 project template.
Doing the same with an ASP.Net package seems to work ok, so i'm not sure if this would be 'expected' due to lack or support for Core?

Thanks,
Richard Webb

Eusebiu
Posts: 4807
Joined: Wed Nov 14, 2012 2:04 pm

Re: Support for asp.net core

Post by Eusebiu » Tue Jun 05, 2018 1:31 pm

Hi Richard and welcome to Advanced Installer forums.

Sorry for the delayed reply.

I'm afraid that the Asp.Net Core was not added to Advanced Installer yet. I increased its priority and hope to add it soon. We will update this thread when it will be available.

That error seems to appear because the project contains duplicate or incomplete rows in the "AI_IIsWebDeployParams" table, but I'm not sure why this happens.

Can you send me, to support at advancedinstaller dot com, your AIP (project file) and the web deploy package that you try to import, so I can investigate them and try to find the problem?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

richardw
Posts: 3
Joined: Wed May 30, 2018 10:01 pm

Re: Support for asp.net core

Post by richardw » Tue Jun 05, 2018 3:22 pm

Hi,

On closer investigation, the error seems to be down to a missing value for the 'IIS Web Application Name' parameter:
advinst1.png
advinst1.png (4.05 KiB) Viewed 22088 times
It builds ok if I manually set a value.

The parameters.xml file in the ASP.Net Core web deploy package contains

Code: Select all

<parameter name="IIS Web Application Name" value="Default Web Site" tags="IisApp">
Wheres a similar trivial package for ASP.Net contains

Code: Select all

<parameter name="IIS Web Application Name" defaultValue="Default Web Site/WebApplication2_deploy" tags="IisApp">
Which might explain the difference in behaviour between them?

This occurs with a new basic asp.net core 2.0 app and a new AI project without any other log in it, but I can mail examples to you if you still want them.

Thanks,
Richard Webb

Eusebiu
Posts: 4807
Joined: Wed Nov 14, 2012 2:04 pm

Re: Support for asp.net core

Post by Eusebiu » Wed Jun 06, 2018 11:04 am

Hi Richard,

Indeed, the lack of that value caused the build failure. I'm glad you found and resolved the problem.

It would be really helpful if you could send me an example and the steps that reproduce the problem to support at advancedinstaller dot com, so we can investigate and fix it.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

richardw
Posts: 3
Joined: Wed May 30, 2018 10:01 pm

Re: Support for asp.net core

Post by richardw » Thu Jun 07, 2018 2:46 pm

Ok, mailed. (had a little delay as the package I was testing with was too large to mail, so I created a smaller .Net Core package instead).

Thanks,
Richard Webb

Eusebiu
Posts: 4807
Joined: Wed Nov 14, 2012 2:04 pm

Re: Support for asp.net core

Post by Eusebiu » Fri Jun 08, 2018 8:59 am

Hi Richard,

Thank you very much for sending me the sample project.

I tested the scenario and, indeed, I reproduced the problem. I will submit this case to our development team to investigate why a default value is not set for that parameter and fix this in a future version if this is really an Advanced Installer issue.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Catalin
Posts: 3132
Joined: Wed Jun 13, 2018 7:49 am

Re: Support for asp.net core

Post by Catalin » Tue Jul 09, 2019 1:56 pm

Hello,

This was fixed in version 16.1 of Advanced Installer, released on July 2nd, 2019.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Carignankg
Posts: 1
Joined: Wed Jan 25, 2017 9:21 pm

Re: Support for asp.net core

Post by Carignankg » Tue Jul 09, 2019 4:53 pm

And what about the support of most recent .net core 2.2?

Catalin
Posts: 3132
Joined: Wed Jun 13, 2018 7:49 am

Re: Support for asp.net core

Post by Catalin » Wed Jul 10, 2019 8:27 am

Hello and welcome to Advanced Installer forums,
And what about the support of most recent .net core 2.2?
Unfortunately, we do not offer a predefined prerequisite for .NET Core 2.2. We offer predefined prerequisites ("Prerequisites" page --> "Packages") for the following:

- .NET Core Runtime 2.1.5 - x86 & x64

- .NET Core IIS Hosting 2.1.5

However, we already have this on our TODO list and as soon as this will be implemented, I will update this thread.

Until then, you can simply download the .NET Core setup from the official Microsoft website and then add it to your package as a prerequisite.

Hope this helps.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Daniel
Posts: 8115
Joined: Mon Apr 02, 2012 1:11 pm
Contact:

Re: Support for asp.net core

Post by Daniel » Wed Aug 07, 2019 10:23 am

Hello,

This improvement has been added in version 16.2 of Advanced Installer released on August 1st, 2019.

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

Post Reply