Skip to content

Commit

Permalink
PG-1260
Browse files Browse the repository at this point in the history
 + extended setup to automatically Disable all sample tab scripts delivered by powerEvents, because custom File and Item tabs replace them
    by moving the scripts to this subfolder, powerEvents updates keep updating them correctly which does not happen after deleting those. the scripts would be restored in the event scripts directy and thus suddenly appear in the Vault Client (with the same name) after update installations of powerGate.
  • Loading branch information
coolOrange-Public committed Nov 24, 2022
1 parent ed4b13d commit f5f90cf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
7 changes: 7 additions & 0 deletions Installer/ClientSetup/Directories.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@
<Component Id="CMP_PE_README" Guid="*">
<File Id="FILE_PE_README" KeyPath="yes" Source="..\Resources\README.txt" />
</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">
<CreateFolder/>
<CopyFile Id="MoveSampleERPTabsToDisabledFolderBecauseCustomOnceBecomeInstalled" SourceDirectory="POWEREVENTS_SCRIPTS_DIR" SourceName="Sample.*ERP*Tab.ps1*" DestinationDirectory="POWEREVENTS_DISABLEDSCRIPTS_DIR" Delete="yes"/>
</Component>
</Directory>
</Directory>
<Directory Id='POWERGATE_INSTALL' Name='powerGate' >
<Component Id="CMP_PG_README" Guid="*">
Expand Down
5 changes: 3 additions & 2 deletions Installer/ClientSetup/Product.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,16 @@
Cabinet="media1.cab"
EmbedCab="yes" />

<Feature Id="DataStandardCustomization" Title="Vault DataStandard UI Customization">
<Feature Id="DataStandardCustomization" Title="Vault DataStandard Customization">
<ComponentGroupRef Id="SETUP_UI" />
<ComponentGroupRef Id="HeatGenerated_DataStandardFiles" />
<ComponentRef Id="CMP_VDS_README" />
</Feature>

<Feature Id="PowerEventsFiles" Title="powerEvents Workflow Enhancements">
<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" />
</Feature>

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

0 comments on commit f5f90cf

Please sign in to comment.