Zsolt Kollarits
Posts: 340
Joined: Fri May 29, 2015 10:36 am

Specific value of a property prevents us from building our product

Wed Jul 06, 2022 1:12 pm

Dear Advanced Installer Support Team,

We potentially found an AI bug.

We have the following value set to the Name textbox of the Product Details tab:
Therefore™ [|THE_PRODUCTVERSION] [|THE_PRODUCTTYPE] [|THE_MODE]

One of the properties is causing the bug to occur, so the repro steps are:
1. Set a specific value for THE_PRODUCTTYPE by clicking on "Use specific value" and setting it to "" -> so to quotes WITHOUT a space inside
2. The rest of the properties can be anything (our resolved value is "Therefore™ Online Server")
3. Go to the "Digital Signature" tab and define the following text:
[|ProductName] Setup
to the "Description" textbox of the "Signature Properties area.
4. Make sure you have at least one custom action where "Sign script" combobox is checked
5. Try to build your product. For every custom action that are signed we are getting this error message:
"
ERROR: Digital Signature. The digital signing of the '<custom_action_name>' inline PowerShell script failed. Error message: 'Done Adding Additional Store

Number of errors: 2
SignTool Error: File not found: Client
SignTool Error: File not found: Setup /du <therefore_link> /fd sha256 /tr <timestamp server link> /td sha256 C:\Users\<username>\AppData\Local\Temp\pss123B.ps1
File "C:\Users\<username>\AppData\Local\Temp\pss123B.ps1" can not be signed!

For a possible solution please check our Digital Signature FAQ from:
"

Note: If we change the THE_PRODUCTTYPE property and we replace the double quotes with something else, then the product can be built, no errors are coming.

Could you please take a look at this?

Best regards
Zsolt

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

Re: Specific value of a property prevents us from building our product

Thu Jul 07, 2022 8:21 am

Hello Zsolt,

First of all, thank you for the detailed test-case.

I was indeed able to reproduce the behavior you described.

However, I would like to point out something.
1. Set a specific value for THE_PRODUCTTYPE by clicking on "Use specific value" and setting it to "" -> so to quotes WITHOUT a space inside
Are you doing the above because you want the "THE_PRODUCTTYPE" property to be empty?

If that is the case, please note that you can create an empty property by simply leaving the "Value" field empty and adding something in the "Comment" field (it can be anything).

When doing so, I noticed the signing of the script worked.

Hope this helps!

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

Zsolt Kollarits
Posts: 340
Joined: Fri May 29, 2015 10:36 am

Re: Specific value of a property prevents us from building our product

Fri Jul 08, 2022 7:17 am

Dear Catalin,

Thanks for the hint, in the meantime we solved our original problem in a different way, but I still wanted to report this bug to you, so you can a little bit improve your product :)

Best regards,
Zsolt

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

Re: Specific value of a property prevents us from building our product

Fri Jul 08, 2022 2:25 pm

You are always welcome, Zsolt! :)

Glad to hear you managed to solve this.

And thank you for bringing this to our attention. I will discuss this with our dev team and see what we can do about it.

As you may already know, we use a third party tool for signing (singtool.exe) and it is a chance we might not be able to solve this if the issue is with the tool.

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

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

Re: Specific value of a property prevents us from building our product

Fri Oct 21, 2022 3:44 pm

Hello Zsolt,

This has been fixed in version 20.0 of Advanced Installer, released on October 18th, 2022.

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

Return to “Common Problems”