|
#1
|
||||
|
||||
|
Using Authenticode Code Signing Certificates with Setup Factory 7.0
How can users trust code that is published on the Internet? Two issues that must be addressed are those of ensuring integrity and authenticity. Authenticity assures users that they know where the code came from. Integrity verifies that the code hasn't been tampered with since its publication. In the Microsoft article titled Introduction to Code Signing, they write: Quote:
If you plan to distribute your software over the Internet and you expect that some of your users will be using Windows XP Service Pack 2, you may want to consider signing your installer. Due to the changes made to Internet Explorer in Windows XP SP2, when a customer downloads and runs your software, they will be presented with a warning dialog asking the user if they really want to run your software. On that dialog, they will see "Unknown Publisher" if it is not signed. On the other hand, if you do sign your code, they will instead see your company name and an optional web link to follow for more information. Getting a Code Signing Certificate If you would like to purchase a code signing certificate, they are available from a number of companies, including Verisign, Thawte and Comodo. Comodo seems to offer a $99 certificate, so you may want to shop around and see what works best for you. During the purchase process, you will be instructed on creating and saving a "private key" file, which will later be used along with your certificate to actually "sign" your software. You will also be asked for a password to protect your private key. Do not misplace any of this information. Each piece is extremely important! It will take about 3-5 days for your application to be approved and your certificate issued. Keep in mind that you will likely need to provide supporting documentation to prove you actually are who you say you are. It's not something to be taken lightly and will likely require senior management to be involved. Download the Microsoft Authenticode SDK Now that you have a code signing certificate, you'll need to download some software from Microsoft so you can start using it.
Signing your Setup Factory 7.0 Installers Once the Authenticode package is installed on your system, you are ready to start signing your code.
Testing your Signature To verify that everything went according to plan and view your signature, Microsoft includes the "chktrust.exe" application. To use it, go to "Start > Run" and type "C:\inetsdk\bin\chktrust.exe filename.exe", where "filename.exe" is the full path to your installer. Alternatively, you could simply upload the installer to a web site and then download and run it from a computer using Windows XP SP2. You'll see the same information. Getting More Information There are many good resources on the Internet for finding out more about code signing, Authenticode, Windows XP, Security and related issues. Here are a few places to start.
Copyright (c) 2004 Indigo Rose Software. All rights reserved. Last edited by Colin; 4 Weeks Ago at 10:21 AM. |
|
#2
|
|||
|
|||
|
Authenticode with Setup Factory 6.0
Is there any reason these instructions regarding Authenticode couldn't be used with Setup Factory 6.0? Any special considerations or things to look out for?
|
|
#3
|
||||
|
||||
|
Setup Factory 6.0 wasn't designed with Authenticode signing in mind. It may or may not work, but hasn't been tested as such.
__________________
Check out the new MSI Factory 2.0! |
|
#4
|
|||
|
|||
|
Hi,
Are there any updates to this article? As Microsoft seem to have shifted the files that you need to download. Cheers Drew |
|
#5
|
|||
|
|||
|
Code Signing
I code sign all of my EXE's and DLL's. No problems signing EXE's built with Setup Factory. I use the one in the Windows Platform SDK.
I sugest using signtool.exe with this command line... signtool.exe signwizard It makes signing programs a no brainer. It would be nice if this built into Setup Factory. It is in some other products. Internet SDK http://www.microsoft.com/downloads/d...displaylang=en .NET SDK http://www.microsoft.com/downloads/d...displaylang=en Last edited by SteveDude; 10-31-2007 at 10:11 AM. Reason: Added Download Links |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| New Features in Setup Factory 7.0 | Ted Sullivan | Setup Factory 7.0 Discussion | 0 | 08-12-2004 01:13 PM |
| HOWTO: Add DirectX 8.1 Support to your Setup Factory 6.0 Installation | Support | Setup Factory 6.0 Knowledge Base | 0 | 10-30-2002 02:55 PM |
| HOWTO: Distribute an AutoPlay Application with Setup Factory 6.0 | Support | AutoPlay Media Studio 4.0 Examples | 0 | 10-25-2002 03:33 PM |
| FAQ: Setup Factory 5.0 Frequently Asked Questions | Support | Setup Factory 5.0 | 0 | 10-10-2002 10:50 AM |
| Setup Factory 6.0.1.0 Update Available | Brett | Setup Factory 6.0 | 0 | 04-26-2002 04:51 PM |
All times are GMT -6. The time now is 02:28 PM.








Linear Mode

