Silent Install - Advanced Installer Community
tscheuerman
Posts: 43
Joined: Thu Feb 11, 2016 11:39 pm

Silent Install

Hello,

I am using AI 12.7.1. I have an installer that creates an exe. This install works fine. This Installer has a couple of dialogs that the user must interact with to configure the installation. This installer work fine. Now I am attempting to figure out how this installer can be run silently. In an effort to find a solution to do this I've created another installer (i.e. msi from an EXE) using the following link http://www.advancedinstaller.com/user-g ... o-msi.html. I can run the resulting .msi file from the command line and the installer works fine (it appears that the msi is calling the original exe installer and installing the software as expected). Here's the command that I am using:

C:\Temp>"Acuity 7.30 Setup.msi" /Lv C:\Temp\log1.out
Refer to attached log file "log1.out"

Now when I attempt to run the same msi installer but silently (i.e. /qn command line switch), the installer fails to install. Here's the command that I am using:

C:\Temp>"Acuity 7.30 Setup.msi" /qn /Lv C:\Temp\log2.out
Refer to attached log file "log2.out"

Looking at log2.out, line #231 I see the following error:

MSI (s) (A8:14) [15:59:30:477]: Product: Acuity 7.30 -- Error 1606. Could not access network location "".

What is causing this error?

The intent is that most of the time the installer will be run in non-silent mode (i.e. the user will interact with the Installer dialogs). However, we would like to be able to deploy silently by pushing the installation down to specific machines. When deploying silently, we want to bypass the dialogs (i.e. the Installer UI) and simply install Features (other msi installers) and our software.

Any suggestions would be greatly appreciated!

Thanks in advance,

Todd
Attachments
log2.txt
Failure with /qn
(43.6 KiB) Downloaded 415 times
log1.txt
Success without /qn
(345.78 KiB) Downloaded 336 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Silent Install

Hi Todd,

From your log it seems that there is an uninitialized folder in your project (it points to an empty path) during the silent install and that is why the problem appears. Can you please send us your AIP file to support at advancedinstaller dot com, so we can investigate it?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
tscheuerman
Posts: 43
Joined: Thu Feb 11, 2016 11:39 pm

Re: Silent Install

Hi Eusebui,

Thank you for your reply. Based on what you said I was able to figure out what was not being initialized. I now can successfully run the installer (i.e. exe) by passing the necessary command line parameters to perform the necessary initialization.

I have another question related to Silent Installations. When I run my installer from the command line passing /qn, the installer no longer installed the "Prerequisite" packages that I have defined under "Feature-based". Is there something I need to do that will instruct the installer to install the prerequisites (assuming Install Condition(s) are met?

Thanks in advance,

Todd
tscheuerman
Posts: 43
Joined: Thu Feb 11, 2016 11:39 pm

Re: Silent Install

Hi Eusebui,

Please disregard my last post. The prerequisites are getting installed; they were taking a long time to install.

Thanks again for all your help!

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

Re: Silent Install

You're welcome Todd. I'm glad you got this working.

Just let us know anytime you need help.

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

Return to “Common Problems”