|
-
April 4th, 2010, 11:45 AM
#1
How to Sign executable for Vista etc.
I was playing around with just running the IDE on Vista under a non-admin account and I got the following error: An unidentified program wants access to your computer
So I tried to sign it by doing the following:
Code:
---make a test certificate:
Makecert -r -pe -sr localMachine -ss demostore -n "CN=DemoCert"
---sign it:
Signtool Sign /v /s demostore /n DemoCert vb6.exe
--Add certificate to the store:
Certmgr -add democert.cer -s -r localMachine Root
No errors, but no luck. Still get the same error. Any ideas? Also, how does one sign their final .exe for distribution/install?
It seems like when you do an install, Vista gives your .exe admin rights by default. I was able to get VB6.exe to run under a non-admin account but first I had to Right Click/Properties/Compatibility tab/ and uncheck the run as admin.
--hope you all had a good Easter too!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|