Error adding a file to MST
I am trying to create a transform for an MSI which was created using an older version of Wise.
When I try to add a file to the transform and save, it changes the File.Sequence and File.Attributes values of theexisting files in the msi and generates an external cab file.
After editing the File and Media table manually, I was able to save the transform. But, unable to install as it throws a runtime error saying
"Internal Error 2602. File, myfile.ext"
Has anyone had this error and can anyone tell me how to get this working?
I am using WPS 7.0 SP2. Target OS is MS XP SP2
When I try to add a file to the transform and save, it changes the File.Sequence and File.Attributes values of the
After editing the File and Media table manually, I was able to save the transform. But, unable to install as it throws a runtime error saying
"Internal Error 2602. File, myfile.ext"
Has anyone had this error and can anyone tell me how to get this working?
I am using WPS 7.0 SP2. Target OS is MS XP SP2
0 Comments
[ + ] Show comments
Answers (8)
Please log in to answer
Posted by:
naveen.packager
13 years ago
Posted by:
timmsie
13 years ago
Naveen, you can make changes to the media table using a transform!
The error means your file has no entry in the media table.
A list of windows installer errors is here http://msdn.microsoft.com/en-us/library/aa372835%28v=vs.85%29.aspx
sort the file table by sequence, what ever the last sequence number is must match the lastSequence value in the media table.
and the files must be in that order in the cab files.
The error means your file has no entry in the media table.
A list of windows installer errors is here http://msdn.microsoft.com/en-us/library/aa372835%28v=vs.85%29.aspx
sort the file table by sequence, what ever the last sequence number is must match the lastSequence value in the media table.
and the files must be in that order in the cab files.
Posted by:
soorajganga
13 years ago
ORIGINAL: timmsie
sort the file table by sequence, what ever the last sequence number is must match the lastSequence value in the media table.
and the files must be in that order in the cab files.
Yes. I did that. But, everytime I save the MST, it changes the File.Attributes and File.Sequence of the existing files in MSI and it gets added to an external cab file!!!
Posted by:
anonymous_9363
13 years ago
Posted by:
soorajganga
13 years ago
ORIGINAL: VBScab
It's pretty much common practice to set an MSI's read-only attribute before creating a transform for it. For me, this is a hangover from the days of Wise v5.something which would re-write the MSI as well as creating the transform.
Changing the MSI to read-only, did not solve my problem VBScab.
Is there anything else I can try?
Posted by:
soorajganga
13 years ago
Posted by:
pjgeutjens
13 years ago
could you post the contents of the media table and the relevant entries in the file table here (first 3 - last 3 when sorted by sequence numbers)? Could it be a mixup of different media types, where you add an entry to the line in the Media table for internal sources, for a file that's actually in an external cab?
Only thing I do remember from working with Wise (when I still did, it's been awhile) was new files getting added with a sequence number of 0, but I don't know if that's pertinent info in this case.
PJ
Only thing I do remember from working with Wise (when I still did, it's been awhile) was new files getting added with a sequence number of 0, but I don't know if that's pertinent info in this case.
PJ
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.