Building Installer with Digital Signature Leads to File Not Found Error

Updated Jun 6, 2019

Reported In

Software

  • LabVIEW
  • LabVIEW Application Builder Module

Issue Details

When building an installer with the LabVIEW Application Builder using a Windows Security certificate I get the following error message and the build aborts as unsuccessful:

CodeSignAPI.lvlib:Get Signing Error String.vi<ERR>
Error: The file to sign could not be found on the path specified.

<b>Complete call chain:</b>
CodeSignAPI.lvlib:Get Signing Error String.vi
CodeSignAPI.lvlib:Sign with Certificate.vi
IB_MSI.lvclass:Sign_Setup.vi
IB_MSI.lvclass:Build.vi
CDK_Engine_Main.vi
CDK_Build_Invoke.vi
CDK_Build_Invoke.vi.ProxyCaller


Solution

This is a known issue when building Installers using the [ProductVersion] tag in the Installation destination dialog box under Product Information in the build specification. Remove the [ProductVersion] tag to prevent this from occurring:


 

Additional Information

This behaviour was fixed in LabVIEW 2019 and you can use the [ProductVersion] tag there together with the digital signature.

WAS THIS ARTICLE HELPFUL?

Not Helpful