Creating MSI or MST file from MSIEXEC command - Advanced Installer Community
Yourmum90
Posts: 2
Joined: Tue Apr 08, 2014 5:29 pm

Creating MSI or MST file from MSIEXEC command

Hi All,

I am new to this installer stuff and could do with some help. We have an MSI file that installs some Archivesoftware for our users, half way through the install it requests the Exchange Server address (the location where items are archived to) ideally i would like the MSI to automatically enters this information as our users might type an incorrect character in to this field thus breaking the link. I have managed to locate the MSIEXEC command that we can use to install the MSI silently and this works but i would prefer an MSI file that we can load in to Group Policy instead of using batch files.

MSIEXEC /I C:\archiveone.msi EXCHANGESERVER="servername"

If anyone is able to help, i am more than happy to PM the msi and real info over.

I thought this would be easy,

Thanks,
Rich
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Creating MSI or MST file from MSIEXEC command

Hello Rich and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

In order to achieve what you want you can create another MSI wrapper over the original (i.e. archiveone.msi) MSI file. For example, you can create using Advanced Installer a MSI wrapper which will include your original MSI file as a post-install prerequisite. Here are the steps to proceed:
- create a new Advanced Installer project
- go to "Install Parameters" page and add a new property like this:
  • Name: EXCHANGESERVER_WRAPPER_PROP
    Value: servername
- go to "Prerequisites" page and add your "archiveone.msi" file as a post-install prerequisite
- in the "Prerequisites Setup Files" tab -> "Install Command Lines" section -> "Silent (No UI)" field add the following command line:

Code: Select all

EXCHANGESERVER="[EXCHANGESERVER_WRAPPER_PROP]" /qn
- enable the "Prerequisites Setup Files" -> "Maintenance Command Lines" -> "Uninstall using this command line" option and add an uninstall command line for your prerequisite package
- build and deploy your MSI wrapper package through GPO

Also, please keep in mind that in order to implement this scenario you need at least an "Enterprise" project type.

If you have any questions just let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Yourmum90
Posts: 2
Joined: Tue Apr 08, 2014 5:29 pm

Re: Creating MSI or MST file from MSIEXEC command

Thanks Daniel,

i should have read your whole post about the licence type etc.. first, at least i have a backup plan now,

Thanks again.

EDIT - Had no idea it cost that much to add a command line item to an install. Guess it was worth a try,
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Creating MSI or MST file from MSIEXEC command

Hello Rich,

Alongside the "Embedded Chainers" feature, which allows you to run prerequisites packages using a command line when the main package is launched with basic or no UI, the "Enterprise" edition of Advanced Installer also comes with a suite of powerful features like "Update XML files", "Text File Updates", "Patches", "Dialog Editor", "Trials and Licensing", "Databases", etc. You can check our top "Enterprise" features or you can take a look on our full list of features by edition.

Also, since we always try to help our customers to get an adequate edition of Advanced Installer which suits for their needs, you can send us an e-mail to support at advancedinstaller dot com and if you are interested in an Enterprise edition of Advanced Installer maybe we can help you with a purchase discount.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”