Skip to content

Commit

Permalink
add .feature file icon association
Browse files Browse the repository at this point in the history
  • Loading branch information
gasparnagy committed Jun 29, 2010
1 parent f9552f3 commit ecfc861
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
Binary file added Installer/Resources/gherkin.ico
Binary file not shown.
Binary file added Installer/Resources/specflowsetup.ico
Binary file not shown.
11 changes: 11 additions & 0 deletions Installer/SpecFlowInstaller/CoreFiles.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<Fragment>
<ComponentGroup Id="CompGroup_CoreFiles">
<ComponentRef Id="Comp_CoreFiles" />
<ComponentRef Id="Comp_AssociateGherkinFiles" />
</ComponentGroup>

<DirectoryRef Id="INSTALLLOCATION">
Expand All @@ -19,6 +20,16 @@
<File Name="IKVM.Runtime.dll" Source="$(var.SolutionDir)\lib\gherkin\IKVM.Runtime.dll" />
<File Name="IKVM.OpenJDK.Core.dll" Source="$(var.SolutionDir)\lib\gherkin\IKVM.OpenJDK.Core.dll" />
<File Name="IKVM.OpenJDK.Text.dll" Source="$(var.SolutionDir)\lib\gherkin\IKVM.OpenJDK.Text.dll" />
<File Name="gherkin.ico" Source="$(var.SetupResourcesDir)\gherkin.ico" />
</Component>

<!-- Gherkin file associations -->
<Component Id="Comp_AssociateGherkinFiles" Guid="2AE052A2-F932-4282-BF38-021CC54FC441">
<ProgId Id="GherkinFile" Description="Gherkin Specification File" Icon="[INSTALLLOCATION]gherkin.ico">
<Extension Id="feature" ContentType='application/text'>
<!--<Verb Id="open" TargetProperty="VS90DEVENV" Command="Open" Argument='/edit "%1"' />-->
</Extension>
</ProgId>
</Component>
</DirectoryRef>
</Fragment>
Expand Down
4 changes: 4 additions & 0 deletions Installer/SpecFlowInstaller/Product.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@
<CustomActionRef Id="VS90InstallVSTemplates" />
<CustomActionRef Id="VS2010InstallVSTemplates" />

<!-- icons -->
<Icon Id="specflowsetup.ico" SourceFile="$(var.SetupResourcesDir)\specflowsetup.ico"/>
<Property Id="ARPPRODUCTICON" Value="specflowsetup.ico" />

<!-- Sequences -->
<InstallExecuteSequence>
<RemoveExistingProducts After="InstallValidate" />
Expand Down

0 comments on commit ecfc861

Please sign in to comment.