Solved

How do I make my VB6 application executable digitally signed?

Posted on 2008-06-23
12
923 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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: 21852820
0
Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

 
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
 
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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

728 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