Skip to content

Commit

Permalink
PG-1260
Browse files Browse the repository at this point in the history
  + extended installer to disable also delivered Sample.DisplayERPTab.xaml files when custom scripts (as those delivered in this project) are used
  • Loading branch information
coolOrange-Public committed Nov 30, 2022
1 parent 28b0f7a commit aab2485
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Installer/ClientSetup/Directories.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
</Component>
<Directory Id="POWEREVENTS_SCRIPTS_DIR" Name="Events">
<Directory Id="POWEREVENTS_DISABLEDSCRIPTS_DIR" Name="Disabled"/>
<Component Id="CMP_PE_DISABLE_SAMPLE_TAB_SCRIPTS" Guid="7C5FABF5-A487-4521-9E95-61EBA3E51EB5">
<Component Id="CMP_PE_DISABLE_SAMPLE_TABS" Guid="7C5FABF5-A487-4521-9E95-61EBA3E51EB5">
<CreateFolder/>
<CopyFile Id="MoveSampleERPTabsToDisabledFolderBecauseCustomOnceBecomeInstalled" SourceDirectory="POWEREVENTS_SCRIPTS_DIR" SourceName="Sample.*ERP*Tab.ps1*" DestinationDirectory="POWEREVENTS_DISABLEDSCRIPTS_DIR" Delete="yes"/>
<CopyFile Id="MoveSampleERPTabsToDisabledFolderBecauseCustomOnceBecomeInstalled" SourceDirectory="POWEREVENTS_SCRIPTS_DIR" SourceName="Sample.*ERP*Tab.*" DestinationDirectory="POWEREVENTS_DISABLEDSCRIPTS_DIR" Delete="yes"/>
</Component>
</Directory>
</Directory>
Expand Down
2 changes: 1 addition & 1 deletion Installer/ClientSetup/Product.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<Feature Id="PowerEventsFiles" Title="powerEvents Workflow and UI Enhancements">
<ComponentGroupRef Id="HeatGenerated_PowerEventsFiles" />
<ComponentRef Id="CMP_PE_README" />
<ComponentRef Id="CMP_PE_DISABLE_SAMPLE_TAB_SCRIPTS" />
<ComponentRef Id="CMP_PE_DISABLE_SAMPLE_TABS" />
</Feature>

<Feature Id="PowerGateFiles" Title="powerGate Shared Files">
Expand Down

0 comments on commit aab2485

Please sign in to comment.