Maarten
08-31-2016, 03:36 AM
Hi,
I just managed to convert my setup builder installer into a Windows Store compatible AppX package.
I use a Digicert code sign certificate (a Windows Store requirement) which works fine on my normal installer builds.
In order to sign the AppX file I thought the simplest way would be to make a small setupbuilder project with the following line:
#code-sign application "E:\Dropbox\StakePoint\DesktopAppConverter\stakepoi nt\StakePoint\StakePoint.appx" ["StakePoint"]" ["e:\Dropbox\StakePoint\CodeSigning\Digicert\sasusta kepointcodesign.pfx"]
This however gives me the following error code:
stakepoint sign appx.sbp
Init Standard Variables...
Performing pre-checks...
OK
Timestamp server(s)...
SHA-1: http://timestamp.digicert.com/authenticode
SHA-2: http://timestamp.digicert.com/authenticode
Type : 0
Script format version detected: 7.0.2600
Recursive compile (0:29): Common Definitions.sbi
#pragma loaded: MINVER
Finished
Continue (0:1:30): E:\Dropbox\StakePoint\SetupBuilder Projects\StakePoint Sign AppX.sbp
Adding Digital Certificate (Preprocessor)...
SIGNTOOL: E:\Dropbox\StakePoint\DesktopAppConverter\stakepoi nt\StakePoint\StakePoint.appx
SVER: 10.0.10586.212
SHA1: 1
Compiler error GEN1053: Code signing process failed. Error Code: 1
Script(s) processed
--------------------------------------- Done ---------------------------------------
StakePoint Sign AppX.sbp - 1 error(s), 0 warning(s), 0 file(s) code-signed
Regards,
Maarten MOSTERT
I just managed to convert my setup builder installer into a Windows Store compatible AppX package.
I use a Digicert code sign certificate (a Windows Store requirement) which works fine on my normal installer builds.
In order to sign the AppX file I thought the simplest way would be to make a small setupbuilder project with the following line:
#code-sign application "E:\Dropbox\StakePoint\DesktopAppConverter\stakepoi nt\StakePoint\StakePoint.appx" ["StakePoint"]" ["e:\Dropbox\StakePoint\CodeSigning\Digicert\sasusta kepointcodesign.pfx"]
This however gives me the following error code:
stakepoint sign appx.sbp
Init Standard Variables...
Performing pre-checks...
OK
Timestamp server(s)...
SHA-1: http://timestamp.digicert.com/authenticode
SHA-2: http://timestamp.digicert.com/authenticode
Type : 0
Script format version detected: 7.0.2600
Recursive compile (0:29): Common Definitions.sbi
#pragma loaded: MINVER
Finished
Continue (0:1:30): E:\Dropbox\StakePoint\SetupBuilder Projects\StakePoint Sign AppX.sbp
Adding Digital Certificate (Preprocessor)...
SIGNTOOL: E:\Dropbox\StakePoint\DesktopAppConverter\stakepoi nt\StakePoint\StakePoint.appx
SVER: 10.0.10586.212
SHA1: 1
Compiler error GEN1053: Code signing process failed. Error Code: 1
Script(s) processed
--------------------------------------- Done ---------------------------------------
StakePoint Sign AppX.sbp - 1 error(s), 0 warning(s), 0 file(s) code-signed
Regards,
Maarten MOSTERT