We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Lenny
Posts: 7
Joined: Mon Jul 11, 2016 11:21 am

Settings to a MSI

Hi,

I have a problem, I've created a MSI file which installs a CRM program to clients. When I launch the msi whit the msiexec.exe command i put in some values in the end like," CRMSERVER=crmserver.com DATABASENAME=crmdatabas" and so on. Is there any way to include these settings or parameters into the MSI using advanced installer? the values i need to include are the name of the server, the name of the database and that users autoinlog is turned of by default.

Thanx in advance,
Lenny
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Settings to a MSI

Hello Lenny,

Yes, in order to achieve this you can go in the "Install Parameters" page and create those properties with the values you need.

Just let me know if you need more details.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Lenny
Posts: 7
Joined: Mon Jul 11, 2016 11:21 am

Re: Settings to a MSI

Hi, and thank you for the aswer.

I found the properties page, but I'm not sure I'm doing it correctly. Is there a tutorial I can use in this matter?

/Lenny
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Settings to a MSI

Hello Lenny,

All you need to do is to use the "Property" toolbar button, then write the name and the value of the property that you want to create as in the example below:
  • Name: CRMSERVER
    Value: crmserver.com
You can see more details in the "Edit Property Dialog" article.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Lenny
Posts: 7
Joined: Mon Jul 11, 2016 11:21 am

Re: Settings to a MSI

Hi again,

I found that I could create a MSI which simply launches my primary MSI via a Custom Action -> launch file. And then in the command line field i put in my values, and it works fine. But now I've got a new problem.
I want to launch this whole msi in /qn mode. And if i put the switch /qn first in the command line the installation fails. And if i check the checkbox "Hide program's window" nothing happends, i still get the install window.

How can i launch this whole MSI quietly? My description here seems to be a bit confusing so I'll try to clear it out.

I want to run my main MSI which launches another MSI that is built in the main MSI, and I want all of this to be executed quietly.

Many thanks, Lenny

EDIT: I may add that when I run the main MSI with the switch /qr everything works fine. So mby I have to configure the UI in some way.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Settings to a MSI

Hello Lenny,

Please keep in mind that the recommended way to install an MSI package from another MSI package is to use the the support from the "Prerequisites" page as described in the "Run Batchfile after installation problem" thread. Then, in the "Setup Files" tab of that prerequisite you can send the appropriate command to install it silently and to set the properties you need.

In order to install the main MSI in silent mode, you need to launch it from an elevated console with the "/qn" command line.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
arunraj.n
Posts: 13
Joined: Wed Nov 09, 2016 7:41 am

Is it possible to set ten language in a single .msi file?

Hi all,
I want .MSI file in multiple language(more than 10) in a single package.Already i tried in .EXE it is possible but i don't want exe format.i need .msi format.And also i tried in .msi after language selection and build its generating separate package for every language.But i need single selection language package like .exe in .msi package it is possible or not?
Anyone face this type of problem if you know please tell me how to do that?
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Is it possible to set ten language in a single .msi file?

Hi,

You can see my response in the "Is it possible to set ten language in a single .msi file" thread.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”