I would like to keep some files outside of my MSI in a directory: e.g.
C:\users\foo\msi-folder\
installer.msi
stuff\
files here i want to reference
I can successfully not embed the files with a custom <Media>
(not sure if this is necessary) element and setting compressed="no"
such that the files get created in my bin directory
but, when i run the installer it tries to look for them in (TARGETDIR) C:\stuff\...
.
I want to be able to do something like <Directory Name="stuff" SourceName="[SourceDir]stuff">
but that does not seem to work.
I ended up removing the files and using a custom action to reference them by path (using <SetProperty Value="[SourceDir]..." />
to reference the paths.
I also ended up switching to using PnPUtil
as DIFx is deprecated