Hello My problem is this. I created mst file using method MsiDatabaseGenerateTransform. Transform file is generated, but it is impossible to use it. I tried also to create mst file using ORCA, but this file is working nice. In both transforms I made the same changes. But the ORCA generated mst file looks: Enforce Validation Flags: True
Base package: C:\SomeSetup.msi
ProductCode: {6EE479B8-A82A-44F4-80DA-3C58FC459112}; ProductVersion: 1.0.0; UpgradeCode: {1C4A9AC7-9C91-405B-BA57-452C6FD71D6C}

Transform: C:\Untitled.mst
Expected values - ProductCode: {6EE479B8-A82A-44F4-80DA-3C58FC459112}; ProductVersion: 1.0.0; UpgradeCode: {1C4A9AC7-9C91-405B-BA57-452C6FD71D6C} (list of changes) But mst file generated using method mentioned above is: Enforce Validation Flags: True
Base package: C:\SomeSetup.msi
ProductCode: {6EE479B8-A82A-44F4-80DA-3C58FC459112}; ProductVersion: 1.0.0; UpgradeCode: {1C4A9AC7-9C91-405B-BA57-452C6FD71D6C}

Transform: C:\instance1.mst
Expected values - ProductCode: ; ProductVersion: ; UpgradeCode:

(list of changes) I think, reason that mst file generated by that method is useless, because expected values are missing. But how to solve this problem? Why ORCA generated file is different from method generated file? Do you know answers to these questions? Thank you.[/align][/align]
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
1) ProductCode/PackageCode always should be changes directly within MSI.
2) Could you show your code with "using using MsiDatabaseGenerateTransform"?
Answered 02/21/2011 by: itolutions
Orange Senior Belt

Please log in to comment
0
I suspect that you have omitted the step to create the SummaryInformation stream. See this MSDN article for details.
Answered 02/21/2011 by: VBScab
Red Belt

Please log in to comment
0
Your suspicion was right. Thank you it works.
Answered 02/21/2011 by: Sorg
Senior Yellow Belt

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