Skip to content

Commit

Permalink
fix #281: enable 32 and 64 bit iisnode SxS on x64 machines
Browse files Browse the repository at this point in the history
  • Loading branch information
tjanczuk committed Jun 11, 2013
1 parent b95fcda commit 203752c
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 95 deletions.
60 changes: 0 additions & 60 deletions src/config/iisnode_schema_x64_wow.xml

This file was deleted.

1 change: 0 additions & 1 deletion src/iisnode/iisnode.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,6 @@ copy /y $(ProjectDir)\..\config\* $(ProjectDir)\..\..\build\$(Configuration)\$(P
<None Include="..\config\iisnode_schema_x64.xml">
<SubType>Designer</SubType>
</None>
<None Include="..\config\iisnode_schema_x64_wow.xml" />
<None Include="..\samples\configuration\hello.js" />
<None Include="..\samples\configuration\iisnode.yml" />
<None Include="..\samples\configuration\readme.htm">
Expand Down
3 changes: 0 additions & 3 deletions src/iisnode/iisnode.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -675,9 +675,6 @@
<None Include="..\..\test\functional\www\124_node_config_override\iisnode.yml">
<Filter>Tests\functional\www\124_node_config_override</Filter>
</None>
<None Include="..\config\iisnode_schema_x64_wow.xml">
<Filter>Config</Filter>
</None>
<None Include="..\scripts\interceptor.js">
<Filter>Scripts</Filter>
</None>
Expand Down
8 changes: 1 addition & 7 deletions src/setup/iisnode-msi/customactions.wxi
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,7 @@

<?if $(var.isWin64) = "yes" ?>
<CustomAction Id="AddIisnodeModuleRegistration"
ExeCommand="[System64Folder]inetsrv\appcmd.exe install module /name:iisnode /image:&quot;[iisnoderootdir]iisnode.dll&quot; /preCondition:bitness64 /commit:apphost"
Directory="TARGETDIR"
Execute="deferred"
Return="check"
Impersonate="no"/>
<CustomAction Id="AddIisnodeModuleRegistrationWow"
ExeCommand="[System64Folder]inetsrv\appcmd.exe install module /name:iisnode /image:&quot;[iisnoderootdirwow]iisnode.dll&quot; /preCondition:bitness32 /commit:apphost"
ExeCommand="[System64Folder]inetsrv\appcmd.exe install module /name:iisnode /image:&quot;%programfiles%\iisnode\iisnode.dll&quot; /commit:apphost"
Directory="TARGETDIR"
Execute="deferred"
Return="check"
Expand Down
12 changes: 0 additions & 12 deletions src/setup/iisnode-msi/iisnode.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,8 @@

<Feature Id="iisnode4iis" Title="Hosting node.js applications in IIS 7.x" Level="1" Description="IIS 7.x native module for hosting node.js applications in IIS">
<ComponentGroupRef Id="allfiles" />
<Condition Level="0">WOW</Condition>
</Feature>

<?if $(var.isWin64) = "yes" ?>
<Feature Id="iisnode4iiswow" Title="Hosting node.js applications in IIS 7.x in WOW mode" Level="1" Description="IIS 7.x native module for hosting node.js applications in IIS in WOW mode">
<ComponentGroupRef Id="allfileswow" />
<Condition Level="0">NOT WOW</Condition>
</Feature>
<?endif?>

<?if $(var.ProjectName) = iisnode-msi-full ?>
<WixVariable Id="WixUILicenseRtf" Value="$(var.ProjectDir)\License.rtf" />
Expand Down Expand Up @@ -104,12 +97,7 @@

<!-- install/rollback/uninstall iisnode module -->

<?if $(var.isWin64) = "yes" ?>
<Custom Action="AddIisnodeModuleRegistration" After="RemoveIisnodeModuleRegistration">(REMOVE&lt;>"ALL") AND (NOT WOW)</Custom>
<Custom Action="AddIisnodeModuleRegistrationWow" After="RemoveIisnodeModuleRegistration">(REMOVE&lt;>"ALL") AND WOW</Custom>
<?else?>
<Custom Action="AddIisnodeModuleRegistration" After="RemoveIisnodeModuleRegistration">REMOVE&lt;>"ALL"</Custom>
<?endif?>
<Custom Action="RollbackAddIisnodeModuleRegistration" After="RemoveIisnodeModuleRegistration">REMOVE&lt;>"ALL"</Custom>
<Custom Action="UndoAddIisnodeModuleRegistration" After="RemoveIisnodeModuleRegistration">REMOVE="ALL"</Custom>

Expand Down
12 changes: 0 additions & 12 deletions src/setup/iisnode-msi/iisnodefiles64wow.wxi
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,6 @@
</Directory>
</DirectoryRef>
</Fragment>
<Fragment>
<DirectoryRef Id="inetsrvdirwow">
<Directory Id="dirC3B05243102F810BD3959CD3BA949E89" Name="config">
<Directory Id="dirC3B05243102F810BD3959CD3BA949E90" Name="schema">
<Component Win64="yes" Id="cmpBFBC3A88B5FB1B48E1CB3DBC62C46CAD" Guid="*">
<File Id="fil98FE22082D3964939C1CB4060FC2A0C7" KeyPath="yes" Source="$(var.wowsourcedir)\iisnode_schema_x64_wow.xml" Name="iisnode_schema.xml"/>
</Component>
</Directory>
</Directory>
</DirectoryRef>
</Fragment>
<Fragment>
<DirectoryRef Id="iisnoderootdirwow">
<Component Win64="yes" Id="cmpF6505586D2A7DD2F0C68235A8CA281C6" Guid="*">
Expand Down Expand Up @@ -71,7 +60,6 @@
<ComponentGroup Id="allfileswow">
<ComponentRef Id="cmp1C33C88432AB7530411D254B8656120B"/>
<ComponentRef Id="cmp1C33C88432AC7530411D254B8656120B" />
<ComponentRef Id="cmpBFBC3A88B5FB1B48E1CB3DBC62C46CAD" />
<?if $(var.Configuration) = Debug ?>
<ComponentRef Id="cmpE429AFB5AD377FF35803A538B9BE37A8" />
<?endif?>
Expand Down

0 comments on commit 203752c

Please sign in to comment.