I am attempting to create a patch file that will install new files, update existing files and the newer .MSI contains the same merge modules. When applying the patch, it returns an internal 1334 error.
In current version, the sequencing issue is fixed, but the Media table is not properly updated in the patch file.
Example: This is how the File Table looks in the Previous .MSI
File1.exe | 1 |
File2.exe | 2 |
File3.exe | 3 |
Mergemodulefile.exe | 4 |
Mergemodulefile1.exe | 5 |
This is how the File Tables looks in the upgraded .msi
File Table
File1.exe | 1 |
File2.exe | 2 |
File3.exe | 3 |
Newfile.txt | 4 |
Newfile1.txt | 5 |
Mergemodulefile.exe | 6 |
Mergemodulefile1.exe | 7 |
Now the Media Table in the Upgrade .MSI looks like the following:
Media Table
DiskID | LastSequence | DiskPrompt | Cabinet | VolumeLabel Source |
1 | 5 | LABEL | #Cabs.w1.cab | |
1 | 7 | #Cabs.m2 |
File Table
File1.exe | 1 |
File2.exe | 2 |
File3.exe | 3 |
Mergemodulefile.exe | 4 |
Mergemodulefile1.exe | 5 |
Newfile.txt | 6 |
Newfile1.txt | 7 |
DiskID | LastSequence | DiskPrompt | Cabinet | VolumeLabel Source |
1 | 5 | LABEL | #Cabs.w1.cab | |
1 | 7 | #Cabs.m2 |
The New files are given new Sequence numbers, so that it is sequenced after the Merge module files. But notice the Media Table has not changed. This means that the two new files are expected to be in the #Cabs.m2 when running the patch file. Since the Media table was not properly updated, the two new files are still in the Cabs.w1.cab. This causes the internal error message 1334 for miscellaneous files.
You will not see this behavior with all patches. This issue appears to happen only when you set the REINSTALLMODE to AMUS in the new .msi.
Applies To
Windows XP SP2
Wise Installation Studio/Express 7.x
Wise Package Studio 7.x