New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overwrite="no" not working for certificate element #5703

Open
kennethgracilla opened this Issue Oct 13, 2017 · 5 comments

Comments

Projects
None yet
3 participants
@kennethgracilla

kennethgracilla commented Oct 13, 2017

Please provide answers to the following questions to help us narrow down, reproduce, and fix the problem. Fill out one section and delete the others.

Triage

Issues are triaged at online meetings, generally held alternate Tuesdays at 9:30 a.m. Pacific time (UTC-7/UTC-8). Meeting requests are sent to the wix-devs mailing list.

Discussions and support

Note that discussions are best held on the mailing lists, not in issues. Please do not open issues requesting support or debugging help; first start a thread on the wix-users mailing list and open an issue if the discussion suggests a bug in the WiX Toolset or that a feature request is appropriate.

Bugs

If this issue is a bug:

  • Which version of WiX are you building with?

v3.11.0.1701

  • Which version of Visual Studio are you building with (if any)?

Visual Studio Enterprise 2015 Version 14.0.25420.01 Update 3

  • Which version of the WiX Toolset Visual Studio Extension are you building with (if any)?

v3.11.0.1701

  • Which version of .NET are you building with?

4.0

  • If the problem occurs when installing your packages built with WiX, what is the version of Windows the package is running on?

No

  • Describe the problem and the steps to reproduce it.

(Be as specific as you can and err on the side of providing too much information, including code, error messages, command lines you used to invoke the build, and so forth.)

  • Describe the behavior you expected and how it differed from the actual behavior.

I have an msi that I run and install the certificate from local path. I'm finding a way to skip certificate installation to store if it exists and used the property Overwrite="No". However, it doesn't work and keeps on overwriting the certificate although I set Overwrite="No"

Code Snippet:

<Binary Id="certBinary" SourceFile="C:\Program Files\Microsoft Supportability\Certificates\suppcgw.css.msn-int.com.pfx"/>
<Directory Id="TARGETDIR" Name="SourceDir">
  <Directory Id="IISMain" Name='inetpub'>
    <Directory Id="PubFolderName" Name="msitest">
      <Component Id='WebsiteConfig' Guid='12345678-1234-1234-1234-111111111122' Win64="no" KeyPath="yes">
        <iis:Certificate Id="cert" BinaryKey="certBinary" Name="ExampleSite.org" StoreLocation="localMachine" StoreName="personal" PFXPassword="password" Request="no" Overwrite="no"/>

Feature requests

If this issue is a feature request:

  • Describe the scenario and benefits that the feature supports.

(Provide lots of specific detail so we understand the context around the feature.)

  • Describe how you're accomplishing the feature today (if possible).

(Be as specific as you can and err on the side of providing too much information.)

  • Describe what you'd like the new feature to do.

(There's no need to design it but suggestions are appreciated.)

@barnson

This comment has been minimized.

Show comment
Hide comment
@barnson

barnson Oct 13, 2017

Member

Please attach verbose log demonstrating the problem.

Member

barnson commented Oct 13, 2017

Please attach verbose log demonstrating the problem.

@kennethgracilla

This comment has been minimized.

Show comment
Hide comment
@kennethgracilla

kennethgracilla Oct 13, 2017

There's no error but I attached here the execution log

log.log

kennethgracilla commented Oct 13, 2017

There's no error but I attached here the execution log

log.log

@kennethgracilla

This comment has been minimized.

Show comment
Hide comment
@kennethgracilla

kennethgracilla Oct 23, 2017

@barnson Do you know any workaround while you investigate and determine the fix on this overwrite property?

kennethgracilla commented Oct 23, 2017

@barnson Do you know any workaround while you investigate and determine the fix on this overwrite property?

@barnson

This comment has been minimized.

Show comment
Hide comment
@barnson

barnson Oct 23, 2017

Member

The issue will be triaged at our next online meeting.

Member

barnson commented Oct 23, 2017

The issue will be triaged at our next online meeting.

@barnson barnson added this to the v3.14 milestone Oct 26, 2017

@barnson barnson added the extensions label Oct 26, 2017

@barnson

This comment has been minimized.

Show comment
Hide comment
@barnson

barnson Oct 26, 2017

Member

Overwrite="no" is not implemented. In v3.14, warn when using. In v4.0, investigate supporting it.

Member

barnson commented Oct 26, 2017

Overwrite="no" is not implemented. In v3.14, warn when using. In v4.0, investigate supporting it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment