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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

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.
Answered 05/11/2011 by: naveen.packager
Green Belt

Please log in to comment
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.
Answered 05/11/2011 by: timmsie
Fourth Degree Brown Belt

Please log in to comment
0
Thanks, Timmsie.
Answered 05/11/2011 by: naveen.packager
Green Belt

Please log in to comment
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!!!
Answered 05/11/2011 by: soorajganga
Senior Yellow Belt

Please log in to comment
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.
Answered 05/11/2011 by: VBScab
Red Belt

Please log in to comment
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?
Answered 05/11/2011 by: soorajganga
Senior Yellow Belt

Please log in to comment
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?
Answered 05/16/2011 by: soorajganga
Senior Yellow Belt

Please log in to comment
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
Answered 05/16/2011 by: pjgeutjens
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity