Skip to content

Commit

Permalink
Add a README.txt file to the installer, so that it's no empty.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fredrik Orderud committed Aug 30, 2023
1 parent 58950f0 commit 12fec6f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ScheduleReboot/Product.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,17 @@

<Fragment>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="ProgramFiles64Folder">
<Directory Id="INSTALLFOLDER" Name="ScheduleReboot" />
</Directory>
</Directory>
</Fragment>

<Fragment>
<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
<Component Id="README.txt" Guid="*">
<File Id="README.txt" KeyPath="yes" Source="README.txt" />
</Component>
</ComponentGroup>
</Fragment>
</Wix>
1 change: 1 addition & 0 deletions ScheduleReboot/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Dummy application for testing of reboot handling.
3 changes: 3 additions & 0 deletions ScheduleReboot/ScheduleReboot.wixproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
<ItemGroup>
<Compile Include="Product.wxs" />
</ItemGroup>
<ItemGroup>
<Content Include="README.txt" />
</ItemGroup>
<Import Project="$(WixTargetsPath)" Condition=" '$(WixTargetsPath)' != '' " />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets" Condition=" '$(WixTargetsPath)' == '' AND Exists('$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets') " />
<Target Name="EnsureWixToolsetInstalled" Condition=" '$(WixTargetsImported)' != 'true' ">
Expand Down

0 comments on commit 12fec6f

Please sign in to comment.