Thanks Rob,

1.       I will test the certificate install by taking 2.0.4820 from the 
sourceforge site.

2.       I am not clear on how to add UninstallCertificates and 
InstallCertificates actions. I did not find any reference for it in the 
wix.chm.  As I understand, I need something like

<InstallExecuteSequence>

      <UninstallCertificates  After="??" />

      <InstallCertificates  After="??" />

    </InstallExecuteSequence>

Can you fill the blanks?



-Pankaj

From: Rob Mensching
Sent: Friday, December 29, 2006 5:32 PM
To: Pankaj Singh; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Client certificates not getting installed in the 
certificate store(Wix2)

Wow, that build is ancient.  It's like 3 years old.  You need a *very* recent 
build for Certificate install to work correctly.

From: Pankaj Singh
Sent: Friday, December 29, 2006 17:29
To: Rob Mensching; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Client certificates not getting installed in the 
certificate store(Wix2)

I use wix toolset as part of my corext build environment.
I believe we are using wix 2.0.

scs-ProjectC\public\ext\tools\x86
>filever light.exe
-ra-- W32i   APP   -      2.0.1112.0 shp     24,576 11-17-2006 light.exe

scs-ProjectC\public\ext\tools\x86
>filever candle.exe
-ra-- W32i   APP   -      2.0.1112.0 shp     15,360 11-17-2006 candle.exe

-Pankaj

From: Rob Mensching
Sent: Friday, December 29, 2006 5:26 PM
To: Pankaj Singh; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Client certificates not getting installed in the 
certificate store(Wix2)

No, you need the UninstallCertificates and InstallCertificates actions.  Those 
should have been required by the Compiler and provided by sca.wixlib.  What 
version of the WiX toolset are you using?

From: Pankaj Singh
Sent: Friday, December 29, 2006 17:13
To: Rob Mensching; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Client certificates not getting installed in the 
certificate store(Wix2)

Attached decompiled xml has reference to the following
<InstallExecuteSequence>
      <Custom Action="ConfigureIIs" After="InstallFiles" />
    </InstallExecuteSequence>

I assumed that this will do the job. I have not added any explicit 
InstallExecuteSequence in my wxs file. Do I need to do that? Thanks for your 
help.

-Pankaj

From: Rob Mensching
Sent: Friday, December 29, 2006 5:12 PM
To: Pankaj Singh; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Client certificates not getting installed in the 
certificate store(Wix2)

Yep, doesn't look like the Certificate CustomActions were executed.  Does your 
MSI have the Certificate actions in the InstallExecuteSequence?

From: Pankaj Singh
Sent: Friday, December 29, 2006 17:07
To: Rob Mensching; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Client certificates not getting installed in the 
certificate store(Wix2)

All the client certificates are installed as part of Client_Cert component. I 
can see its reference in the verbose log file(attached) but I do not see the 
certificate getting installed in the log.

-Pankaj

From: Rob Mensching
Sent: Friday, December 29, 2006 5:05 PM
To: Pankaj Singh; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Client certificates not getting installed in the 
certificate store(Wix2)

Does the verbose log file show the certificate getting installed?

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pankaj Singh
Sent: Friday, December 29, 2006 17:01
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Client certificates not getting installed in the 
certificate store(Wix2)

My goal is to install client certificates in the user's certificate store. I am 
using <Certificate> element for this purpose in my .wxs file.
The snippet is like this:
<Certificate Id="SPK_PARTNER_TEST_PFX" Request="no" 
CertificatePath="$(var.CERTSOURCEDIR)\SPK_PARTNER_TEST.pfx"  
PFXPassword="$(var.CERTPASSWORD)" StoreLocation="currentUser" StoreName="my"/>

Issue: Installing the msi does not install any client certificates in the 
store. I am not getting any error either.
I decompiled the msi using dark.exe and I can see that the table for 
certificates is correctly populated. Here is a snippet.
    <Row>
      <Data Column="Certificate"> <![CDATA[ SPK_PARTNER_TEST_PFX]]>   </Data>
      <Data Column="Component_"> <![CDATA[ Client_Cert]]>   </Data>
      <Data Column="StoreName"> <![CDATA[ 2 ]]>   </Data>
      <Data Column="StoreLocation"> <![CDATA[ 1 ]]>   </Data>
      <Data Column="Attribute"> <![CDATA[ 0 ]]>   </Data>
      <Data Column="CertificateData"> <![CDATA[ 
c:\enlistments\scsprojectc\private\tests\setup\certs\SPK_PARTNER_TEST.pfx  ]]>  
 </Data>
      <Data Column="PFXPassword"> <![CDATA[ SecretPassword  ]]>   </Data>
    </Row>

I need help to resolve this issue.


-Pankaj

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to