ValMakr – Command Line Windows Installer Automated Validation

4 Comments

Can this be used with a patch? I have a custom CUB file I want to verify a patch with as part of our build process.

Hi Nick. Unfortunately not. Validation is performed on MSI and/or MST only. Although I’m not sure it’s technically possible to validate an MSP to be honest. Perhaps you could perform an admin install, then patch it, and validate that instead?

I have written a CUB that will test changes in patches that we generate. Today what we use is Orca interactively where we load the base MSI, then apply a patch, then run the ICE custom actions in the CUB file against it using Tools->Validate. Both Msival2 and your tool both handle MSI’s, but I am in need of a tool that can run silently at the end of the build to verify the patch changes. I was hoping for something like passing the patch in on the cmd line 🙂 Thank you for the reply!

“I have written a CUB” – I hope you used CubMakr. 🙂
Yes unfortunately ValMakr and Msival2 both use Evalcom2under the hood, and that doesn’t support opening patches I don’t think. I’d probably have to use OpenDatabase and msiOpenDatabaseModePatchFile to hack around first, and then then perform validation afterwards. But unfortunately that’s not a 5 minute job! Sorry!

Leave a Reply
Send us a message

Send your message any time you want.

Our usual reply time: 2 Business Hours
Send us a message

Have a question? Send us a message.

Our usual reply time: 2 Business Hours