Hi there
I've being looking at creating patches using msimsp.exe to create patches
that are installed with msiexe.
Regarding this I've been trying to work out who to prevent access to the
original install source. I can do this when applying a patch to the original
(e.g using MsiFileHash Table). But when uninstalling the patch or applying a
later patch which targets the original install (and therefore needs to
uninstall a previous patch), the install process requests the original
install source.
Now according to the windows installer documentation, when applying the
patch a base-line cache is created.
I have done everything according to the documentation (under section
Reducing patch size) for the base-line cache to be used (e.g. using windows
installer 3.0 or later ).
I later found the cache under
windows\installer\$patchcache$\managed\[a guid]\
It seems that only files which have a version number are cached and not
others.
Is there a way around this to cache non-versioned files, or does the cache
system rely on the files version?
Phil Wilson said:
Yes to 1, you'll see msp files in the installer cache.
Yes to 2, if the modification is to add a feature that needs files.
--
Phil Wilson [MVP Windows Installer]
----
Viviana Vc said:
Hi Phil,
Is it correct when I say that _all_ the MSI files used by Windows
installer are cached in WindowsFolder\Installer under a random name?
[[ The cached MSI file does nor contain files - it's just the basic MSI
file
without the cab files that are in the original MSI file. ]]
Does that mean that whenever you do a modify you will need the original
media to get the new files from there?
Thanks,
Viv