Edit MSI with Orca to add registry keys to installation
I am trying to optimize the installation of a package that requires a registry change after installation. Instead, I wanted to just add registry changes to the MSI (I didn't write any code, I'm just trying to edit an existing MSI) and deploy it remotely and just do with it.
Can anyone provide some good examples of how to do this? Also, any book recommendations regarding modifying the MSI or a site that provides a detailed explanation of what Microsoft provides would be highly appreciated.
Thank,
source to share
What you are looking for is called transformation. Cm:
Basic concepts of correction and conversion in ORCA
Basically you use ORCA (or InstallShield Tuner or similar tools) to create a transform with your registry values ββand then save it to an MST file. From there, you can say:
msiexec / i foo.msi TRANSFORMS = foo.mst
And you will see your expected behavior without changing the original MSI. Also, if the vendor ships a new MSI, you have a chance to add the MST to the new MSI. (YMMV whichever changed from release to go to MSI.)
By the way, while it is important for program developers to understand transformations, your question is usually viewed as an IT deployment issue and possibly related to ServerFault.
Also I should note that InstallShield has a Transform project type that allows you to use the full InstallShield user interface to create an MST without going directly (except when you need to) to the underlying MSI tables.
source to share
In Visual Studio, you can use a setup and deployment project. http://support.microsoft.com/kb/307353
http://msdn.microsoft.com/en-us/library/aa266445%28v=vs.60%29.aspx
source to share