Installer updates

This commit is contained in:
Jaylyn Barbee
2025-09-22 14:55:31 -04:00
parent c27b0fff9c
commit 02e87f8e78
3 changed files with 6 additions and 14 deletions

View File

@@ -65,6 +65,7 @@
call cmd /C "copy ""$(ProjectDir)..\PowerToysSetupVNext\Hosts.wxs"" ""$(ProjectDir)..\PowerToysSetupVNext\Hosts.wxs.bk""""
call cmd /C "copy ""$(ProjectDir)..\PowerToysSetupVNext\ImageResizer.wxs"" ""$(ProjectDir)..\PowerToysSetupVNext\ImageResizer.wxs.bk""""
call cmd /C "copy ""$(ProjectDir)..\PowerToysSetupVNext\KeyboardManager.wxs"" ""$(ProjectDir)..\PowerToysSetupVNext\KeyboardManager.wxs.bk""""
call cmd /C "copy ""$(ProjectDir)..\PowerToysSetupVNext\LightSwitch.wxs"" ""$(ProjectDir)..\PowerToysSetupVNext\LightSwitch.wxs.bk""""
call cmd /C "copy ""$(ProjectDir)..\PowerToysSetupVNext\MouseWithoutBorders.wxs"" ""$(ProjectDir)..\PowerToysSetupVNext\MouseWithoutBorders.wxs.bk""""
call cmd /C "copy ""$(ProjectDir)..\PowerToysSetupVNext\NewPlus.wxs"" ""$(ProjectDir)..\PowerToysSetupVNext\NewPlus.wxs.bk""""
call cmd /C "copy ""$(ProjectDir)..\PowerToysSetupVNext\Peek.wxs"" ""$(ProjectDir)..\PowerToysSetupVNext\Peek.wxs.bk""""

View File

@@ -3,7 +3,7 @@
<?include $(sys.CURRENTDIR)\Common.wxi?>
<?define LightSwitchFiles=PowerToys.LightSwitchService.exePowerToys.LightSwitchService.exePowerToys.LightSwitchService.exe?>
<?define LightSwitchFiles=?>
<?define LightSwitchFilesPath=$(var.BinDir)\LightSwitchService\?>
<Fragment>
@@ -16,14 +16,8 @@
<!-- File components generated by generateAllFileComponents.ps1 -->
<DirectoryRef Id="LightSwitchServiceFolder" FileSource="$(var.LightSwitchFilesPath)">
<Component Id="LightSwitchFiles_Component" Guid="70654D33-B978-4ABE-B95D-DFBD77B08233">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="LightSwitchFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="LightSwitchFiles_File_PowerToys.LightSwitchService.exe" Source="$(var.LightSwitchFilesPath)\PowerToys.LightSwitchService.exe" />
</Component>
<!-- Generated by generateFileComponents.ps1 -->
<!-- LightSwitchFiles_Component_Def -->
</DirectoryRef>
<!-- Group to include the service + cleanup on uninstall -->
@@ -36,11 +30,6 @@
</RegistryKey>
<RemoveFolder Id="RemoveFolderLightSwitchServiceFolder" Directory="LightSwitchServiceFolder" On="uninstall" />
</Component>
<ComponentRef Id="LightSwitchFiles_Component" />
<ComponentRef Id="LightSwitchFiles_Component" />
<ComponentRef Id="LightSwitchFiles_Component" />
</ComponentGroup>
</Fragment>
</Wix>

View File

@@ -39,6 +39,7 @@ call powershell.exe -NonInteractive -executionpolicy Unrestricted -File $(MSBuil
call move /Y ..\..\..\FileExplorerPreview.wxs.bk ..\..\..\FileExplorerPreview.wxs
call move /Y ..\..\..\FileLocksmith.wxs.bk ..\..\..\FileLocksmith.wxs
call move /Y ..\..\..\Hosts.wxs.bk ..\..\..\Hosts.wxs
call move /Y ..\..\..\LightSwitch.wxs.bk ..\..\..\LightSwitch.wxs
call move /Y ..\..\..\ImageResizer.wxs.bk ..\..\..\ImageResizer.wxs
call move /Y ..\..\..\KeyboardManager.wxs.bk ..\..\..\KeyboardManager.wxs
call move /Y ..\..\..\MouseWithoutBorders.wxs.bk ..\..\..\MouseWithoutBorders.wxs
@@ -112,6 +113,7 @@ call powershell.exe -NonInteractive -executionpolicy Unrestricted -File $(MSBuil
<Compile Include="FileLocksmith.wxs" />
<Compile Include="Hosts.wxs" />
<Compile Include="ImageResizer.wxs" />
<Compile Include="LightSwitch.wxs" />
<Compile Include="KeyboardManager.wxs" />
<Compile Include="Peek.wxs" />
<Compile Include="PowerRename.wxs" />