It appears you have not yet registered with our community. To register please click here...



Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 1 Week Ago
Junior Member
 
Join Date: May 2008
Posts: 1
RRenu is on a distinguished road
Error instaling certificate - .pfx file
I am trying to install a certificate (.pfx) from a VB script on Vista. This script in turn is invoked by installshield.

iStoreLocation = CAPICOM_LOCAL_MACHINE_STORE
strStoreName = "ROOT"
Dim Store, OpenMode, KeyStorageFlag
OpenMode = CAPICOM_STORE_OPEN_MAXIMUM_ALLOWED OR CAPICOM_STORE_OPEN_EXISTING_ONLY
KeyStorageFlag = CAPICOM_KEY_STORAGE_DEFAULT
Set Store = CreateObject("CAPICOM.Store")
' Open the store.
Store.Open iStoreLocation, strStoreName, OpenMode

' Import the certificate(s) to the store.
Store.Load strCertificateFile, strPassword, KeyStorageFlag

I encounter with 'Access denied' message in 'Store.Load'

If "current user store" is used instead of "Local Machine store" installation succeeds.


Any info regarding this will be appreciated.

RR
Reply With Quote
  #2 (permalink)  
Old 1 Week Ago
Unregistered
Guest
 
Posts: n/a
Re: Error instaling certificate - .pfx file
Does this help? QBS Software Limited- Install Shield
Reply With Quote
  #3 (permalink)  
Old 1 Week Ago
kemical's Avatar
Senior Member
 
Join Date: Aug 2007
Location: Lat'51°28'52.87"N,Long' 0° 2'53.04"W
Posts: 861
kemical has a reputation beyond reputekemical has a reputation beyond repute
Re: Error instaling certificate - .pfx file
Have you tried 'Googling' for an answer? I did have a quick look for you but wasn't really sure what applied in your instance...
__________________
AMD X2 6400+ 3.2GHz BLACK EDITION::SCYTHE SAMURAI COOLER::GA-M51 M/B::3GB DDR2 6400RAM::GEFORCE 8800GTS320/625/900MHz DRIVER '174.74' BETA::160 RAID 0 SATA2::SOUND BLASTER AUDIGY/'DANIELS' DRIVERS::LITE-ON DVD RW/PIONEER DVD::HIPER 530W MODULAR::THERMALTAKE ARMOUR Jr CASE::RAZER COPPERHEAD MOUSE::VISTA HOME PREMIUM SP1
Reply With Quote
  #4 (permalink)  
Old 1 Week Ago
Celestra's Avatar
Senior Member
 
Join Date: Jan 2008
Location: Riverside, CA (USA) Home of the Devil Winds
Posts: 204
Celestra has a spectacular aura about
Re: Error instaling certificate - .pfx file
Hi!!! I think this is what you may be looking for. Capicom Reference (Windows) msdnmicrosoft.com/en-us/library/aa375732(vs.85).aspx Here is a picture of something I found on the site for you. Oh Well, I can't get the link, you'll have to look it up--Sorry! Sincerely, Celestra
Attached Thumbnails:
error-instaling-certificate-pfx-file-capicom.jpg  
__________________
Celestra

Last edited by Celestra : 1 Week Ago at 06:01 PM. Reason: fix
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
programs open and close instantly Unregistered Windows Vista Support 5 2 Weeks Ago 09:22 PM


All times are GMT -4. The time now is 03:54 AM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
All trademarks referenced on this site are the property of their respective owners.

SEO by vBSEO 3.1.0 ©2007, Crawlability, Inc.