Skip to content

Commit

Permalink
add UE5 default project Template to the installer (#30)
Browse files Browse the repository at this point in the history
* obsidian checkin: 2023-09-09 15:28:05

* obsidian checkin: 2023-09-09 15:30:38

* add optional ue5 template files

* make post-build event include out template files

* add template files to installer

* make the template installation optional
  • Loading branch information
ScottKirvan authored Sep 10, 2023
1 parent a0bc235 commit aca4c25
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 2 deletions.
19 changes: 19 additions & 0 deletions src/UE_QuickLaunch_installer/Components.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@
<File Source="ue-quicklaunch.bat" />
</Component>

<!--
<Component Id="TemplateUproject" Guid="4638e36d-e6ed-420f-bc31-55bcf6f5d048" Directory="UEQLTemplateFolder" >
<File Source="eu_quicklaunch_template\eu_quicklaunch_template.uproject" />
</Component>
<Component Id="TemplateConfig" Guid="0b518f08-3dd6-478b-b876-0eff1be128f9" Directory="UEQLConfigFolder" >
<File Source="eu_quicklaunch_template\Config\DefaultEngine.ini" />
</Component>
-->

<!-- Registry Components -->
<Component Id="RegistryComponent_clickInFolder" Guid="AB8C4904-52D3-4444-A80D-EDC9968D3EF4">
<RegistryKey Root="HKCR" Key="Directory\Background\shell\UE_QuickLaunch">
Expand Down Expand Up @@ -52,5 +62,14 @@
</Component>

</ComponentGroup>
<ComponentGroup Id="TemplateComponents" Directory="INSTALLFOLDER">
<Component Id="TemplateUproject" Guid="4638e36d-e6ed-420f-bc31-55bcf6f5d048" Directory="UEQLTemplateFolder" >
<File Source="eu_quicklaunch_template\eu_quicklaunch_template.uproject" />
</Component>

<Component Id="TemplateConfig" Guid="0b518f08-3dd6-478b-b876-0eff1be128f9" Directory="UEQLConfigFolder" >
<File Source="eu_quicklaunch_template\Config\DefaultEngine.ini" />
</Component>
</ComponentGroup>
</Fragment>
</Wix>
8 changes: 7 additions & 1 deletion src/UE_QuickLaunch_installer/Folders.wxs
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<Fragment>
<StandardDirectory Id="ProgramFiles6432Folder">
<Directory Id="INSTALLFOLDER" Name="!(bind.Property.ProductName)" />
<Directory Id="INSTALLFOLDER" Name="!(bind.Property.ProductName)" >
<!-- Example Template folders -->
<Directory Id="UEQLTemplateFolder" Name="ue_quicklaunch_template" >
</Directory>
<Directory Id="UEQLConfigFolder" Name="ue_quicklaunch_template\Config" >
</Directory>
</Directory>
</StandardDirectory>
</Fragment>
</Wix>
8 changes: 7 additions & 1 deletion src/UE_QuickLaunch_installer/Package.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,17 @@
<Property Id="URL" Value="https://github.com/ScottKirvan/UE_QuickLaunch" Sequence="execute" Before="CreateShortcuts" />
-->
<Property Id="URL" Value="https://github.com/ScottKirvan/UE_QuickLaunch" />
<Property Id="INSTALLTEMPLATES" Value="0" />


<Feature Id="Main">
<Feature Id="Main" Title="Required Components" Level="1">
<ComponentGroupRef Id="DefaultComponents" />
</Feature>

<Feature Id="Template" Title="UE5 Template" Level="1" >
<ComponentGroupRef Id="TemplateComponents" />
</Feature>

<MediaTemplate EmbedCab="yes" />

<WixVariable Id="WixUILicenseRtf" Value="license.rtf" />
Expand Down

0 comments on commit aca4c25

Please sign in to comment.