Solved

How do I make my VB6 application executable digitally signed?

Posted on 2008-06-23
12
911 Views
Last Modified: 2013-12-25
Hello, I have a vb6 application which i distribute to each of my users PC's. When they run it the app, XP says to them something about 'this publisher has not been digitally signed, are you sure you wish to run it?' ..... and it does this every single time. Each of the users is using a custom stripped down version of XP, and I dont have permissions to edit any of their registry settings. So I need to make my VB6 program digitally signed.

How do I do this?

Much thanks, 500 points for some good advice  or links. Pete.

0
Comment
Question by:blueskies77
  • 4
  • 3
  • 2
12 Comments
 
LVL 4

Expert Comment

by:abdulhameeds
ID: 21852792
i think the fire wall for the computwer will effect this try to add the exe file as trusted files
i will search also and back
0
 
LVL 4

Expert Comment

by:abdulhameeds
ID: 21852816
0
 
LVL 4

Expert Comment

by:abdulhameeds
ID: 21852820
0
 
LVL 40

Expert Comment

by:Vadim Rapp
ID: 21856563
Your users - where they are? are you network administrator and your users are in your own network? or they download your product form Internet?

If the former, you don't need to digitally sign it.
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 40

Accepted Solution

by:
Vadim Rapp earned 500 total points
ID: 21859373
...from what you said, that your users have locked xp, I will assume that this is company network.

If so, then users' pc's requesting certificate is controlled by group policy set up by network administrator. There are two possibilities:

1. you produce self-signing certificate using tools included in Microsoft Office or in Visual Studio (http://msdn.microsoft.com/en-us/library/aa194055(office.11).aspx ). Uou send this certificate to the network administrator, who will enroll it on your network. This will make network computers to trust this certificate.

or

2. You can request certificate  from your own network. See article "Requesting certificates" in Windows XP Help for details. Network administrator should be able to assist, also he will have to ensure that domain computers will trust the issued certificate.
0
 
LVL 40

Expert Comment

by:Vadim Rapp
ID: 22102229
Objection. I gave clear instructions on how to obtain the certificate.
0
 
LVL 1

Author Comment

by:blueskies77
ID: 22110015
Hi,

My users are on a local network, just using drive mappings. they recieve updates by a batch file that automatically copies the EXE from server to their local drive.

I had a look through these links but they werent of assistance.
Vadi's point 1. links to this, but I need it for VB6 not these products.

The SelfCert tool included with Microsoft Office.
The MakeCert tool included with Microsoft Visual Studio .NET.

point 2.
my network administrator has told me i should be able to get the application signed and this should not need group policy adjustments.

I dont feel it should be necessary to have to pay for a digital signature from Thwarte or other places as this is a local network and is not public.

Any other suggestions?
0
 
LVL 40

Expert Comment

by:Vadim Rapp
ID: 22110578
You can use any tool that creates code-signing certificate. If you have Office or vs.net, you can use that one. Maybe there are other tools as well. Also,as I said before, you can simply request certificate from your domain controller. It does not matter what tool has created the certificate, it matters that this certificate is trusted by the computers where you want your code to run, and and have signed your code with it. For the latter, you can use signtool.exe .
0
 
LVL 1

Author Comment

by:blueskies77
ID: 22304480
I need more time to test if this works. Please leave open for now if possible. Thanks
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now