OutputName in wixproj can not be parameterized because it's always rewritten #4614

Open
wixbot opened this Issue Dec 5, 2014 · 2 comments

Projects

None yet

1 participant

@wixbot
Collaborator
wixbot commented Dec 5, 2014

It's impossible to set any predefined name in custom project template based on wixproj file, because of this code in WixProjectNode:
This code does not check whether the OutputName project property is already being set, for example with some MSBuild parameter, like $SomeParameter$
but it's said that it initializes the project properties only if they are empty but there is no actual check if property is empty.
Thanks for such a great project! It can be even more amazing!

    /// <summary>
    /// Initialize common project properties with default value if they are empty.
    /// </summary>
    /// <remarks>
    /// The following common project properties are set to default values: OutputName.
    /// </remarks>
    protected override void InitializeProjectProperties()
    {
        string projectName = Path.GetFileNameWithoutExtension(this.FileName);
        this.SetProjectProperty(WixProjectFileConstants.OutputName, projectName);
    }

Originally opened by lakmus85

@wixbot
Collaborator
wixbot commented Dec 11, 2014

Release changed from v3.9 to v3.x

@wixbot
Collaborator
wixbot commented Jan 8, 2015

Originally changed by lakmus85
AssignedTo set to lakmus85

@wixbot wixbot added bug votive labels Dec 20, 2015
@wixbot wixbot added this to the v3.x milestone Dec 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment