We're using WiX version 3.0.4805.0.

We need to install a root certificate.

I tried to search the forum and google for a workable example, but no luck.

I appreciate if someone could post some workable source code to show me how to 
install a root certificate.

Here is my code which doesn't work:
<Directory Id='TARGETDIR' Name='SourceDir'>
  <Directory Id='ProgramFilesFolder' Name='PFiles'>
    <Directory Id='INSTALLDIR' Name='MyProduct'>

      <Component Id="Component_MyCert_File" Guid="...">
    <File Source="MyCert.p7c" KeyPath="yes" Checksum="yes"/>
      </Component>
      <Component Id="Component_MyCert" Guid='...'>
    <iis:Certificate Id="MyCert" Name="Component_MyCert_File" 
StoreLocation="localMachine" Request="no"
       CertificatePath="[INSTALLDIR]MyCert.p7c" StoreName="root"/>
      </Component>

    </Directory>
  </Directory>
</Directory>

When compile, I simply got this error:
error CNDL0104: Not a valid source file; detail: 'iis' is an undeclared 
namespace.

Thanks you all.
/Brian



      __________________________________________________________________
Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to