unattended install - Advanced Installer Community

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!

Jebrew
Posts: 53
Joined: Thu Jan 18, 2007 8:53 pm

unattended install

Sorry if this question is covered elsewhere, but I seem to be having trouble finding it:
How do you setup the installer to perform unattended (silent) installations?
I don't mean that I just want the prerequisites to be installed silently, I need my product to be installed silently. I'll also need to be able to read the commands passed in to get information about the configuration for the install.

Thanks,
Jebrew
Jebrew
Posts: 53
Joined: Thu Jan 18, 2007 8:53 pm

Little clarification

Just a little clarification on that. I've done the "Limit to basic user interface" option, but I need to be able to run my custom actions during the install and read the command line the user used as well. Also, it would be ideal if the regular installer simply had a 'silent' mode that could be induced via the command line.

If this option doesn't exist, I'd like to request it to be put in.

Thanks,
Jebrew
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Jebrew,

If you run your MSI in silent mode then the UI custom actions (scheduled under "InstallUISequence") are not executed. If you create an EXE then you can pass command line arguments to the MSI file in the "Media->Bootstrapper" page. To run your package in silent mode (no UI) you can use /qn as command line switch.

Also you can pass command line parameters to the EXE file like this: Setup.exe /qn

Hope this helps.

Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
Jebrew
Posts: 53
Joined: Thu Jan 18, 2007 8:53 pm

Excellent, very helpful. I'm a little tired this morning though, so forgive me if this is a poorly phrased question:
How do you pass the command lines from the exe to the msi (I'm assuming I'll need that to pass things to my custom actions). I have two important variables that need to be set by the user. Ideally I'd like to have a command line that looks similar to:
Setup.exe /qn SERVER=server PORT=4096

We need a mechanism to deploy our install to several hundred machines on a regular basis, so being able to do installs this way would be extremely helpful. Is this pretty easy to do and I'm just missing it?

Thanks,
Jebrew
Jebrew
Posts: 53
Joined: Thu Jan 18, 2007 8:53 pm

Never mind, got the answer from another thread

Thanks again
Jebrew

Return to “Common Problems”