Hello,
I created a small sample project for a MSP package similar to the tutorial. The patch adds two files and modifies an existing file. The patch works. I creating also a protocol during execution of the patch and noticed the actions InstallFiles and PatchFiles:
Action 08:46:36: InstallFiles. Copying new files
InstallFiles: File: dummy.dll, Directory: C:\Programme\SXP\Dummy\, Size: 77927
InstallFiles: File: test.exe, Directory: C:\Programme\SXP\Dummy\, Size: 49258
Action 08:46:36: PatchFiles. Patching files
PatchFiles: File: main.exe, Directory: C:\Programme\SXP\Dummy\, Size: 2732118
The MSP patch for out product does not work however, it does nothing. The installation is more complex since it installs more files. I checked that the product ID of the old and new version is equal. I created the patch in the same way I created the dummy patch.
Here is a part of the log (german):
Aktion gestartet um 08:55:30: InstallFiles.
GenerateScript: Neue Dateien werden kopiert
Aktion beendet um 08:55:30: InstallFiles. Rückgabewert 1.
Aktion gestartet um 08:55:30: PatchFiles.
Aktion beendet um 08:55:30: PatchFiles. Rückgabewert 1.
As you can see nothing is patched although the file versions differ. The log of the creation of the patch looks good also in my view. There is one warning at the end "WARNING: A major upgrade patch is being created. A major upgrade patch will have trouble applying to a product which might have patches with sequencing info applied" and there are a few warnings that the files versions are reversed (not for all files).
Does anyone know how to solve the problem?
Kind regards
Markus.