Customizing MSI Packages

I have two msi packages which I need to do few things with :-
a) deploy them silenty, I also need answer the questions asked by the setup , these msi files are vendor specific . any freeware which can customize the package .
b) after the apps gets installed there are some files which needs to be replaced in where the program got installed.
c) whats the best way to deploy them silently.
d) after the software gets installed it also needs to be removed silently if needed.

0 Comments   [ + ] Show comments

Answers (2)

Posted by: AngelD 14 years ago
Red Belt
Hi saaa,

You really need to learn how to search through the forum and using Mr. Google ;)

Any changes you make should be done through a transform (.mst). This can be done through ORCA from included in the Platform SDK. You wil also find MakeCab in the SDK that will create a cabinet file (.cab) holding files.

Silent deployment:
msiexec /i "<path to .msi>" /qn-

File replacement:
Change the file info through a transform and create a cabinet holding the new files.
You will have to change the File and MsiFileHash table for the files you're replacing.
When you have created your transform add the command argument TRANSFORMS="<path to .mst>", so the command line for silent deployment with an transform should look like:
msiexec /i "<path to .msi>" TRANSFORMS="<path to .mst>" /qn-
Create the cabinet file (.cab) with MakeCab and place the cabinet in the same directory as the ".msi" file.

"need answer the questions asked by the setup":
You can use the free InstallTailor tool from www.wise.com or ORCA from the Platform SDK but then you'll have to go through the "dialog" associated tables to find out which property to change.

Silent removal:
msiexec /x "<path to .msi>" /qn-
msiexec /x "<ProductCode>" /qn-
Posted by: jonasm 14 years ago
Blue Belt

To deploy package silently you can use these parameters to msiexec. /q is the best was, to make it invisible to the users. I dunno if you have any kind of deploymentserver to use.

I suggest you to download Orca from Microsofte webpage. Here is one adress to it, but I guess there is plenty of them. In Orca are you supposed to be able to change a few settings and so on.
While we have purcased InstallShield AdminStudio, I don't use Orca much.

I hope this helps!

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
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