Prerequisite Not Installed In Silent Mode - Advanced Installer Community
sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Prerequisite Not Installed In Silent Mode

I have an Enterprise install that installs two Feature-Based packages for "Visual C++ Redistributable for Visual Studio 2013".

In Full UI mode the prerequisites get installed and referenced and seen in the install log.

If I run the package in silent mode, i.e. all settings from a command line e.g.:

"CiceroIntegrator.exe" /L*V "%USERPROFILE%\My Documents\CiceroIntegrator_Install.log" /qn INSTALLDIR="C:\Program Files (x86)\Cicero Inc\" WORKSPACE_DIRECTORY="C:\ProgramData\Cicero Inc\Cicero" ADDLOCAL=Cicero_Files,Runtime_Files,Development_Files CXM_IAGREE=Yes

then the prerequisites don't show up in the install log and at all and the C++ DLLs don't seem to be on the machine.

The install Command Lines for both packages are defined as:
CaptureInstallCommandLine.JPG
CaptureInstallCommandLine.JPG (12.23 KiB) Viewed 11676 times
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Prerequisite Not Installed In Silent Mode

Hi,

I'm not sure why you encounter this problem. Did you create the project using the "Enterprise" edition or it was upgraded to "Enterprise" from a lower edition?

Can you please send us the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com, so we can investigate them?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Re: Prerequisite Not Installed In Silent Mode

Full Enterprise Edition, will send in AIP and log.
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Prerequisite Not Installed In Silent Mode

Hi Scott,

Thank you for the files that you sent. However, can you send me the main project also or a sample project that reproduces the problem because it really is important. I want to see all its configurations and try to reproduce the problem.

Did you check the "Run as administrator" option from the "Install Parameters" page for that project? Otherwise, the prerequisites will not have the necessary permissions to be installed.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Re: Prerequisite Not Installed In Silent Mode

Eusebiu,

Yes we've had "Run as administrator" checked for a long time. I will send the main project's AIP file.

Scott
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Prerequisite Not Installed In Silent Mode

Hi Scott,

Investigating the resources that you sent I noticed that you set the "ADDLOCAL" property from command line. However, you set only your custom features to that property, but not the prerequisite features, too.

If the prerequisite features are not added to that property, they are not set for installation and that is why they are not installed in silent mode. Can you try to use a correct command line and see if the problem still appears?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Re: Prerequisite Not Installed In Silent Mode

Eusebiu,

I do BUT the component identifiers are different from the actual component names, e.g.:

ADDLOCAL=Cicero_Files,Runtime_Files,Development_Files

Cicero_Files = the identifier for component "MainFeature"
Runtime_Files = the identifier for component "Runtime"
Development_Files = the identifier for component "Development"

Now maybe the Identifier being different from the actual component name has something to do with it, which I can verify.
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Re: Prerequisite Not Installed In Silent Mode

And actually in the log file for the silent command it knew that the MainFeature component (where the pre-requisites are, identified as Cicero_Files) was queued for change:

MSI (s) (74:FC) [10:04:48:102]: Feature: Cicero_Files; Installed: Absent; Request: Local; Action: Local
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Prerequisite Not Installed In Silent Mode

Hi Scott,

The identifiers of the prerequisites features are: CA62D813A4E74FA2AAE86A7D7B7B1493 and D564007E3BBE4F85950A09B470A7CA65

Please keep in mind that even if their parent feature (Cicero_Files) is installed, they are not automatically installed, if they are not specified in the "ADDLOCAL" property.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Re: Prerequisite Not Installed In Silent Mode

Okay good to know. I might have to move those out of their own sub-features into the parent feature as I can't have customers trying to use those long numeric strings LOL

I will investigate further.
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Prerequisite Not Installed In Silent Mode

I'm afraid that those components cannot be moved. However, in order to install all features, you can use ADDLOCAL=ALL.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Re: Prerequisite Not Installed In Silent Mode

Seems to be no way to changed that "GUID" identifier on those prerequisite sub-features either :cry:
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Prerequisite Not Installed In Silent Mode

Indeed, this is the normal behavior. We may improve this in the future, but for the moment you can only use their default identifiers.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Re: Prerequisite Not Installed In Silent Mode

Eusebiu,

Didn’t help. Here’s the ADDLOCAL portion of the command line I tried running:

ADDLOCAL=Cicero_Files,CA62D813A4E74FA2AAE86A7D7B7B1493,D564007E3BBE4F85950A09B470A7CA65,Runtime_Files,Development_Files

I e-mailed you another log file.
Scott Jeslis
Senior Software Engineer
Cicero, Inc.

Return to “Common Problems”