I'm trying to compile msp, between empty setup and setup with 1 file: empty.wsx:
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="71478e9e-07b8-4ccf-b46c-ac42d34cb439"
Name="AproductClient"
Language="1033"
Version="4.0.0"
Manufacturer="Aproduct(c)"
UpgradeCode="71478e9e-07b8-4ccf-b46c-ac42d34cb439">
<Package InstallerVersion="405" Compressed="yes" Platform="x64" SummaryCodepage="Windows-1252" Languages="1033" InstallScope="perMachine" />
<MediaTemplate CompressionLevel="high" EmbedCab="no" MaximumUncompressedMediaSize="512" />
<FeatureRef Id="Complete"/>
</Product>
<Fragment>
<Feature Id="Complete" Title="Complete" Level="1">
</Feature>
</Fragment>
<Fragment>
</Fragment>
</Wix>
setup with 1 file:
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="71478e9e-07b8-4ccf-b46c-ac42d34cb439" Name="AproductClient" Language="1033" Version="4.0.0" Manufacturer="Aproduct(c)" UpgradeCode="71478e9e-07b8-4ccf-b46c-ac42d34cb439">
<Package InstallerVersion="405" Compressed="yes" Platform="x64" SummaryCodepage="Windows-1252" Languages="1033" InstallScope="perMachine" />
<MediaTemplate CompressionLevel="high" EmbedCab="no" MaximumUncompressedMediaSize="512" />
<FeatureRef Id="Complete" />
</Product>
<Fragment>
<Feature Id="Complete" Title="Complete" Level="1">
<ComponentRef Id="Component_ProgramFiles64Folder.Aproduct.AproductPlus.bin" />
</Feature>
</Fragment>
<Fragment>
<DirectoryRef Id="ProgramFiles64Folder.Aproduct.AproductPlus.bin">
<Component Id="Component_ProgramFiles64Folder.Aproduct.AproductPlus.bin" Guid="12df9f76-78a1-45fd-985d-9792ad0ebd85" Win64="yes">
<File Id="_test.txt" Source="C:\tmp\patch1\test.txt" />
</Component>
</DirectoryRef>
</Fragment>
<Fragment>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFiles64Folder" Name="ProgramFiles64Folder">
<Directory Id="ProgramFiles64Folder.Aproduct" Name="Aproduct">
<Directory Id="ProgramFiles64Folder.Aproduct.AproductPlus" Name="AproductPlus">
<Directory Id="ProgramFiles64Folder.Aproduct.AproductPlus.bin" Name="bin">
<Directory Id="ProgramFiles64Folder.Aproduct.AproductPlus.bin.plugins" Name="Plugins"></Directory>
</Directory>
</Directory>
</Directory>
</Directory>
</Directory>
</Fragment>
</Wix>
patch definition:
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Patch Manufacturer="Aproduct(c)" MoreInfoURL="http://www.Aproduct.com" DisplayName="MF 4.0.111.222 05" Description="2018.02.01.05: Manual number 5 of 2018.02 SP 1" Classification="Update" AllowRemoval="yes">
<Media Id="5000" Cabinet="RTM.cab">
<PatchBaseline Id="RTM" />
</Media>
<PatchFamilyRef Id="PatchFamily01" />
</Patch>
<Fragment>
<PatchFamily Id="PatchFamily01" Version="18.2.1.122" Supersede="yes">
<ComponentRef Id="Component_ProgramFiles64Folder.Aproduct.AproductPlus.bin" />
</PatchFamily>
</Fragment>
</Wix>
test.txt not installed by msp. unclear why: build log:
C:\sample\roman\manualfix>call candle.exe .\empty.wxs -out .\gen\empty.wixobj
Windows Installer XML Toolset Compiler version 3.10.3.3007
Copyright (c) .NET Foundation and contributors. All rights reserved.
empty.wxs
C:\sample\roman\manualfix>call light.exe .\gen\empty.wixobj -out gen\empty.msi
Windows Installer XML Toolset Linker version 3.10.3.3007
Copyright (c) .NET Foundation and contributors. All rights reserved.
C:\Users\rbelinsky\AppData\Local\Temp\olmptr31\empty.msi : warning LGHT1076 : ICE71: The Media table has no entries.
C:\sample\roman\manualfix>call candle.exe .\manualfix.wxs -out .\gen\manualfix.wixobj
Windows Installer XML Toolset Compiler version 3.10.3.3007
Copyright (c) .NET Foundation and contributors. All rights reserved.
manualfix.wxs
C:\sample\roman\manualfix>call light.exe .\gen\manualfix.wixobj -out gen\manualfix.msi
Windows Installer XML Toolset Linker version 3.10.3.3007
Copyright (c) .NET Foundation and contributors. All rights reserved.
C:\sample\roman\manualfix>torch.exe -p -xi gen\empty.wixpdb gen\manualfix.wixpdb -out gen\diff.wixmst
Windows Installer XML Toolset Transform Builder version 3.10.3.3007
Copyright (c) .NET Foundation and contributors. All rights reserved.
C:\sample\roman\manualfix>candle.exe manualfix-msp.wxs -out gen\manualfix-msp.wixobj
Windows Installer XML Toolset Compiler version 3.10.3.3007
Copyright (c) .NET Foundation and contributors. All rights reserved.
manualfix-msp.wxs
C:\sample\roman\manualfix>light.exe gen\manualfix-msp.wixobj -out gen\manualfix-msp.wixmsp
Windows Installer XML Toolset Linker version 3.10.3.3007
Copyright (c) .NET Foundation and contributors. All rights reserved.
C:\sample\roman\manualfix>pyro.exe gen\manualfix-msp.wixmsp -t RTM gen\diff.wixmst -out out\manualfix.msp
Windows Installer XML Toolset Patch Builder version 3.10.3.3007
Copyright (c) .NET Foundation and contributors. All rights reserved.
pyro.exe : warning PYRO1110 : Component 'Component_ProgramFiles64Folder.Dalet.DaletPlus.bin' was added to feature 'Complete' in the transform 'C:\sample\roman\manualfix\gen\diff.wixmst'. If you cannot guarantee that this feature will always be installed, you should consider adding new components to new top-level features to prevent prompts for source when installing this patch.
C:\sample\roman\manualfix>del /q/f install.log
C:\sample\roman\manualfix>msiexec /p out\manualfix.msp /qb /l*vx install.log
installation log: https://gist.github.com/kain64/9f58f8680dd49ad94d6db3831d65eb42 any idea