We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

xen2
Posts: 3
Joined: Thu Oct 20, 2016 5:38 pm

Custom SignTool: how to pass filename to sign?

Hi,

I am using a custom signtool.

Is there any way to pass the filename of the file currently expected to be signed to the command line?

The doc show examples such as:
signtool sign /a /d <desc.> /t "http://timestamp.digicert.com" <file_name>

but <file_name> doesn't seem to work.

Right now my workaround is to try to sign all of them at every step (MSI, EXE, etc.) but it's not great (MSI is written again during .EXE signing, etc.).
But it doesn't work in more advanced cases (when there is a Part1/Part2 folders)

Thanks in advance!
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Custom SignTool: how to pass filename to sign?

Hello,

You can configure the files to be signed from the "Files configured for signing" tab.
Screenshot 2022-07-12 114334.png
Screenshot 2022-07-12 114334.png (27.79 KiB) Viewed 7345 times

Hope this helps!

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

Return to “Building Installers”