/build/static/layout/Breadcrumb_cap_w.png

Update installed MST with new property for repair

I have an MSI that was customized with MST and installed to users. Now I need to update a property value (eg. License server name) in a new MST and then update that for all the users who currently have it installed. This application is a couple GB so don't really want to perform an uninstall then install the new version. The previous MST had a few CA's and other stuff I don't want anymore too. I was hoping I could update the cached MST then kick off a repair?

What's the best practice for storing license server names in packages? Previous places I did it via changing the DNS aliases but here not possible.


0 Comments   [ + ] Show comments

Answers (1)

Posted by: pjgeutjens 12 years ago
Red Belt
0

You can store the licenseserver name in a public property.

As for modifying the cached MSI, you could use a script to look for the entry in HKCR\Installer\Products for your product, then read out the cached MSI path from the LastUsedSource and PackageName values, and finally modify this MSI using WiRunSQL.vbs (part of the SDK)

 
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