Hi FYI,
for a comodo codesign certificate there is a promo coupon code 15% less:
EARLY15LESS
4D Code for code sign windows:
C_TEXT($1;$path;$vt_SignTool;$vt_pfxSHA1Path;$vt_pfxSHA256Path;$cmd)
C_TEXT($vtin;$vtout;$vterror)
If (Test path name($1)=Is a document)
$path:=$1
$vt_pfxSHA1Path:="\"S:\\SHA1.pfx\""
$vt_SignTool:="\"C:\\Program Files (x86)\\Windows
Kits\\10\\bin\\10.0.18362.0\\x64\\SignTool.exe\""
$cmd:=$vt_SignTool+" sign /f "+$vt_pfxSHA1Path+" /p
"+"\"****mypass****\""+" /t http://timestamp.comodoca.com "+"\""+$path+"\""
SET ENVIRONMENT VARIABLE("_4D_OPTION_HIDE_CONSOLE";"true")
SET ENVIRONMENT VARIABLE("_4D_OPTION_CURRENT_DIRECTORY";"C:\\Program
Files
(x86)\\Windows Kits\\10\\bin\\10.0.18362.0\\x64\\")
$vt_SignTool:="SignTool.exe"
$cmd:=$vt_SignTool+" sign /f "+$vt_pfxSHA1Path+" /p "+"\"nodegmbh\""+"
/fd
SHA1 /t \"http://timestamp.verisign.com/scripts/timstamp.dll\" /v
"+"\""+$path+"\""
LAUNCH EXTERNAL PROCESS("cmd.exe /C "+$cmd;$vtin;$vtout;$vterror)
If ($vtout#"@Successfully signed@")
ALERT($vtout)
End if
$vt_pfxSHA256Path:="\"S:\\SHA256.pfx\""
SET ENVIRONMENT VARIABLE("_4D_OPTION_HIDE_CONSOLE";"true")
SET ENVIRONMENT VARIABLE("_4D_OPTION_CURRENT_DIRECTORY";"C:\\Program
Files
(x86)\\Windows Kits\\10\\bin\\10.0.18362.0\\x64\\")
$vt_SignTool:="SignTool.exe"
$cmd:=$vt_SignTool+" sign /f "+$vt_pfxSHA256Path+" /p
"+"\"****mypass****\""+" /fd SHA256 /tr
\"http://sha256timestamp.ws.symantec.com/sha256/timestamp\" /td sha256 /as
/v "+"\""+$path+"\""
LAUNCH EXTERNAL PROCESS("cmd.exe /C "+$cmd;$vtin;$vtout;$vterror)
If ($vtout#"@Successfully signed@")
ALERT($vtout)
End if
End if
Regards Armin
4D Tech mailing list wrote
> Hi Jim,
>
> First thank you for viewing and responding.
>
> I’m playing/learning Inno Setup at this time. I have found a code signing
> certificates service suggested by George Huhn - at Comodosslstore.com.
> There are two types offered and one is extended and cost three times as
> much as a basic one. But the extended handles all the various
> security/trust issues. With my nascent market I don’t need that level of
> “trust”.
>
> I need to figure out how to have it install the application in the
> “programs folder” and the Data files in a folder in the “user/Documents”.
> Figure less trouble that way when they are adding data.
>
> I am still managing it manually but would like to automate from 4D in the
> not too distant timeframe.
>
> Appreciate the offer of help.
>
> I’ll let you know if I need a clarification or two.
>
> John...
>
>> We code sign our installers on Windows, using Inno Setup and an extended
>> validation certificate through https://www.qualityssl.com/, good for 3
>> years (just renewed).
>> Our customers have fewer problems installing our vertical market app
>> because the installer is signed.
>> Over the years we found Inno Setup the easiest installer tool to use, but
>> it is not without effort. If you have any trouble getting signtool
>> working
>> with Inno Setup, we can probably help.
>> Our build and make installer scripts are all automated - you can update
>> the
>> installer script from 4D with your current build and version info. It's
>> just a text file.
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive: http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************