berqo127
Posts: 21
Joined: Tue Aug 06, 2019 1:35 pm

License error

Hi,

Using Advanced installer build extension for Azure pipeline yield error -
"This type of project requires an enterprise license. You may use it for evaluation purposes ONLY. Advanced Installer has a trial period of 30 days. After the trial expires, licensed projects can still be created, but they cannot be built to generate an installation package. Days left in your trial period: 0."

even though there is a license and I don't get this error using the advanced installer editor.

Thanks,
Shlomi
Daniel
Posts: 8240
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: License error

Hello Shlomi,

This may happen if you did not specify your Advanced Installer license key to be used in the "License Key" field of your Advanced Installer build task of your Azure DevOps pipeline.

Could you please double check this?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ionut.boronea
Posts: 10
Joined: Fri Dec 14, 2018 4:14 pm

Re: License error

Hello,

I'm getting the same error but with the license key specified.

This type of project requires an enterprise license. You may use it for evaluation purposes ONLY. Advanced Installer has a trial period of 30 days. After the trial expires, licensed projects can still be created, but they cannot be built to generate an installation package. Days left in your trial period: 0.
##[error]Failed to execute Advanced Installer task. Error: SetOutputLocation -path "D:\a\1\a\Setup File" -buildname "DefaultBuild"

The task:
- task: AdvancedInstaller@2
inputs:
advinstLicense: '$(AILicense)'
aipPath: 'Installer.aip'
aipBuild: 'DefaultBuild'
aipOutputFolder: '$(Build.ArtifactStagingDirectory)\Setup File'

Thanks,
Ionut
Catalin
Posts: 6727
Joined: Wed Jun 13, 2018 7:49 am

Re: License error

Hello Ionut,

Could you please make sure that your project is not of "Enterprise" type?

You can do so by opening your project --> "Home" tab --> "Options":
HomeOptions.png
HomeOptions.png (133.45 KiB) Viewed 6798 times
Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ionut.boronea
Posts: 10
Joined: Fri Dec 14, 2018 4:14 pm

Re: License error

Hello Catalin,

The project is of type "Enterprise" but the license is also an Enterprise license.
You can't use an enterprise type project with Azure DevOps?

Thank you.
ionut.boronea
Posts: 10
Joined: Fri Dec 14, 2018 4:14 pm

Re: License error

So can I get an answer?
Thanks.
Catalin
Posts: 6727
Joined: Wed Jun 13, 2018 7:49 am

Re: License error

Hello Ionut,

Please accept my apologies for the delayed reply.
You can't use an enterprise type project with Azure DevOps?
Azure DevOps should work just fine with the Enterprise project. Could you please make sure that there is no typo in the License Key you have provided?

Also, if you used the copy-paste mechanism, could you please make sure that there is no empty character at either the beginning or the end of the string?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ionut.boronea
Posts: 10
Joined: Fri Dec 14, 2018 4:14 pm

Re: License error

Hello Catalin,

Thank you for your reply.
There is no issue with the license. The only thing that might influence this is the maintenance which is expired.
Is this possible?
Also, is it possible that there might be another error but this one is displayed?

Thank you.
Catalin
Posts: 6727
Joined: Wed Jun 13, 2018 7:49 am

Re: License error

Hello Ionut,
The only thing that might influence this is the maintenance which is expired.
This indeed could be a problem if you did not mention the Advanced Installer version covered by your Maintenance Plan:

https://www.advancedinstaller.com/user- ... section643

Hope this helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ionut.boronea
Posts: 10
Joined: Fri Dec 14, 2018 4:14 pm

Re: License error

Hello Catalin,

Thank you for your help.
This was indeed the issue.

Have a great day!

Best regards,
Ionut
Catalin
Posts: 6727
Joined: Wed Jun 13, 2018 7:49 am

Re: License error

You are always welcome, Ionut!

I am glad everything works as expected now.

You have a great day, too!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
GSI_Peter
Posts: 2
Joined: Tue Apr 23, 2024 3:58 pm

Re: License error

Hello,

I am experiencing this same issue. It will succeed occasionally, but 9 times out of 10 it fails with this error:

This type of project requires an enterprise license. You may use it for evaluation purposes ONLY. Advanced Installer has a trial period of 30 days. After the trial expires, licensed projects can still be created, but they cannot be built to generate an installation package. Days left in your trial period: 0.

But, I do in fact have an active Enterprise license. I am attempting to use the Use Advanced Installer Tool to get hopefully get around this, but I have to go through my IT department for approval for new extensions in Azure DevOps so that is taking a while.

We do not experience this issue when build Advanced Installer projects on our on-premise server, only DevOps in the cloud.

Any advice?

Thanks,

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

Re: License error

Hello Peter and welcome to our forums,

This is indeed quite strange.

Could you please make sure you have passed the license in your DevOps pipeline?
Screenshot_146.png
Screenshot_146.png (64.27 KiB) Viewed 1459 times

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
GSI_Peter
Posts: 2
Joined: Tue Apr 23, 2024 3:58 pm

Re: License error

Hi Catalin,

I double checked that the License Key field is populated. I was storing it in a pipeline variable, but when we started having problems I also tried entering the license code string directly in the License Key field. Neither are working reliably at this time.

Thanks,

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

Re: License error

Hello Peter,

Please note I have sent you an email regarding this.

Let's continue the thread there for now.

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

Return to “Common Problems”