|
From: Thomas S. T. <tom...@ar...> - 2008-12-05 17:41:40
|
I used dark.exe to extract some files from an MSI that is modified by
one of my programs. Rather than bother with extracting and modifying
the original cab (this was back before WiX taught me so much about
Windows Installer), I created a new cab with the newer versions of the
files, added an entry to the Media table, and updated the sequence
numbers in the File table. Dark.exe extracted the file from the
original cab instead of the file from the new cab, even though the
sequence number indicates it should come from the second cab. I have
verified both in testing and production that msiexec installs the
correct file.
Here are the relevant rows from the MSI:
File
settings.xml _255AC3B343CF45AE802DB7CA6C3CA133 settings.xml
382 512 638
_D3A8191618394962B77991DDCC06762A
_971FA3B7456F4F76BFDE571E9E3BC5B1 uci~0001.con|uci.config 1068
512 639
Media
1 637 1 #Instal01.cab DISK_1
2 640 #client.cab
I haven't tried to trace this down in the code yet. I guess I should
actually set the LastSequence to 639.
Thanks,
--
Thomas S. Trias
Senior Developer
Artizan Internet Services
http://www.artizan.com/
|