Question

J'essaie de rationaliser l'installation d'un package nécessitant un changement de registre après l'installation.Je voulais plutôt pouvoir simplement ajouter le changement de registre dans le MSI (je n'ai pas écrit le code, j'essaie simplement de modifier le MSI existant) et d'avoir déployé à distance et d'être fait avec elle.

Quelqu'un peut-il offrir de bons exemples sur la manière de procéder à cela?En outre, toute recommandation pour les livres traitant de la modification des MSIS ou d'un site qui donne une explication approfondie sur ce que Microsoft fournit serait grandement apprécié.

merci,

Était-ce utile?

La solution

Le MSDN a une étape étape par étape de la manière de créer un package MSI utilisant ORCA.Une des étapes consiste à ajouter des informations de registre.Vous pouvez le trouver ici

Autres conseils

What you are looking for is called a transform. See:

Basic Patch and Transform Concepts in ORCA

Basically you use ORCA ( or InstallShield Tuner or similar tools ) to create a transform with your registry values then save it to an MST file. From there you can say:

msiexec /i foo.msi TRANSFORMS=foo.mst

And you'll see your expected behavior without modifying the original MSI. Also if the vendor ships a new MSI there's a good chance you'll be able to appy the MST to the new MSI. ( YMMV depending on what changed from release to relase in the MSI. )

BTW, while it's important for Setup Developers to understand transforms, your question is typically see as an IT Deployment question and possibly belongs over on ServerFault.

Also I should note that InstallShield has a Transform project type allows you to use the full UI of InstallShield to author the MST without dealing directly (unless you need/want to ) the underlying MSI tables.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top