/build/static/layout/Breadcrumb_cap_w.png

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 the existing 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

0 Comments   [ + ] Show comments

Answers (8)

Posted by: naveen.packager 13 years ago
Green Belt
0
What did u edit in the media table? Did you make it it Cabs inside ?If so it wont work coz i think in mst u cannot make media change.U need that cab to install the application.
Posted by: timmsie 13 years ago
Fourth Degree Brown Belt
0
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.
Posted by: naveen.packager 13 years ago
Green Belt
0
Thanks, Timmsie.
Posted by: soorajganga 13 years ago
Senior Yellow Belt
0
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
Red Belt
0
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.
Posted by: soorajganga 13 years ago
Senior Yellow Belt
0
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
Senior Yellow Belt
0
Performed few more tests and it looks like the problem appears ONLY on those MSIs which were created with the earlier versions of Wise... 5, 6 etc..

Anyone had a similar issue transforming an 'old' MSI?
Posted by: pjgeutjens 13 years ago
Red Belt
0
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
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ