Просмотр исходного кода

Added certificate signing to the installer and exe files

git-svn-id: svn://svn.code.sf.net/p/ditto-cp/code/trunk@643 595ec19a-5cb4-439b-94a8-42fb3063c22c
sabrogden 14 лет назад
Родитель
Сommit
87db90ff41
1 измененных файлов с 44 добавлено и 0 удалено
  1. 44 0
      DittoSetup/BuildDitto.bld

+ 44 - 0
DittoSetup/BuildDitto.bld

@@ -124,6 +124,34 @@ End If
 			<indent type='3'>2</indent>
 			<name>Build Ditto 32</name>
 		</step>
+		<step action='Group'>
+			<indent type='3'>1</indent>
+			<name>Sign App Code</name>
+		</step>
+		<step action='Run Program'>
+			<command>"c:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\signtool.exe" sign /f "C:\Users\ScottTanis\Desktop\Ditto_Cert\Ditto.pfx" /p Hastings /t http://timestamp.comodoca.com/authenticode %workDir%\%branch%\Release64\Ditto.exe</command>
+			<indent type='3'>2</indent>
+			<name>Sign Ditto.exe 64</name>
+			<outputfrom type='3'>1</outputfrom>
+		</step>
+		<step action='Run Program'>
+			<command>"c:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\signtool.exe" sign /f "C:\Users\ScottTanis\Desktop\Ditto_Cert\Ditto.pfx" /p Hastings /t http://timestamp.comodoca.com/authenticode %workDir%\%branch%\Release64\Addins\DittoUtil.dll</command>
+			<indent type='3'>2</indent>
+			<name>Sign DittoUtil.dll 64</name>
+			<outputfrom type='3'>1</outputfrom>
+		</step>
+		<step action='Run Program'>
+			<command>"c:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\signtool.exe" sign /f "C:\Users\ScottTanis\Desktop\Ditto_Cert\Ditto.pfx" /p Hastings /t http://timestamp.comodoca.com/authenticode %workDir%\%branch%\Release\Ditto.exe</command>
+			<indent type='3'>2</indent>
+			<name>Sign Ditto.exe</name>
+			<outputfrom type='3'>1</outputfrom>
+		</step>
+		<step action='Run Program'>
+			<command>"c:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\signtool.exe" sign /f "C:\Users\ScottTanis\Desktop\Ditto_Cert\Ditto.pfx" /p Hastings /t http://timestamp.comodoca.com/authenticode %workDir%\%branch%\Release\Addins\DittoUtil.dll</command>
+			<indent type='3'>2</indent>
+			<name>Sign DittoUtil.dll</name>
+			<outputfrom type='3'>1</outputfrom>
+		</step>
 		<step action='Group'>
 			<indent type='3'>1</indent>
 			<name>Zip Source</name>
@@ -210,6 +238,22 @@ DittoSetup*]]></X>
 			<indent type='3'>1</indent>
 			<name>Zip Debug Files</name>
 		</step>
+		<step action='Group'>
+			<indent type='3'>1</indent>
+			<name>Sign Installers</name>
+		</step>
+		<step action='Run Program'>
+			<command>"c:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\signtool.exe" sign /f "C:\Users\ScottTanis\Desktop\Ditto_Cert\Ditto.pfx" /p Hastings /t http://timestamp.comodoca.com/authenticode %workDir%\%branch%\DittoSetup\Output\DittoSetup_%versionFileName%.exe</command>
+			<indent type='3'>2</indent>
+			<name>Sign Ditto Installer</name>
+			<outputfrom type='3'>1</outputfrom>
+		</step>
+		<step action='Run Program'>
+			<command>"c:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\signtool.exe" sign /f "C:\Users\ScottTanis\Desktop\Ditto_Cert\Ditto.pfx" /p Hastings /t http://timestamp.comodoca.com/authenticode %workDir%\%branch%\DittoSetup\Output\DittoSetup_64bit_%versionFileName%.exe</command>
+			<indent type='3'>2</indent>
+			<name>Sign Ditto 64 Installer</name>
+			<outputfrom type='3'>1</outputfrom>
+		</step>
 		<step action='Group'>
 			<indent type='3'>1</indent>
 			<name>Create Web Page</name>