Prerequisite SQL install fails null or empty string setting ACTION - Advanced Installer Community
BCh
Posts: 63
Joined: Wed Jan 17, 2007 6:32 am
Location: Australia

Prerequisite SQL install fails null or empty string setting ACTION

Hi,

Been battling with a couple of issues for quite a few days and now getting really urgent.

Using Advanced Installer 13.7 trying to install SQL 2014 as a silent prerequisite install.


1) Failure of SQL 2014 install as a silent prerequisite install.

The install keeps failing at client with a '<null or empty string>' is not a valid value for setting 'ACTION'. Refer to Help for more information.

The install works OK on any of my machines (Surface and VM running Windows 10 Pro) but keeps failing on multiple client Windows 10 (Home I think) with the above message.

I can then take the ConfigurationFile that advanced Installer places on the client machine and use that as a manual install of SQL 2014 and all works OK.


2) Install condition NOT be considered for prerequisite SQL 2014 install.

When I manually install SQL 2014 (as above) and then run advanced Installer (AI) install again AI trys to install SQL again even though the Install Condition exist.
The install condition is:
Registry key exists = HKLM|SOFTWARE\Microsoft\Microsoft SQL Server\120\SQLServer2014\CurrentVersion
REGEDIT clearly shows that this Registry exists.


Brian
BCh
Posts: 63
Joined: Wed Jan 17, 2007 6:32 am
Location: Australia

Re: Prerequisite SQL install fails null or empty string setting ACTION

Is the Install Command Line wrong with quotes(") around [LocalAppDataFolder].......\ConfgurationFile.ini as shown below?

"/ConfigurationFile="[LocalAppDataFolder]Con\NM\prerequisites\ConfigurationFile.ini"" and should be

"/ConfigurationFile=[LocalAppDataFolder]Con\NM\prerequisites\ConfigurationFile.ini"
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Prerequisite SQL install fails null or empty string setting ACTION

Hi Brian,
1) Failure of SQL 2014 install as a silent prerequisite install.
I'm not sure why the prerequisite fails, but as the error says, it seems that the "ACTION" argument is not set to a valid value (e.g. /ACTION=Install). Does the problem appears only on Windows 10 Home Edition machines? Can you please send me a sample project that reproduces the problem?
2) Install condition NOT be considered for prerequisite SQL 2014 install.
This may happen if the "Use 64-bit locations when evaluating conditions on a 64-bit machine" option is not set in the "Install Conditions" tab of your prerequisite. Can you select that option and see if it works?
Is the Install Command Line wrong with quotes(") around [LocalAppDataFolder].......\ConfgurationFile.ini as shown below?
The "[LocalAppDataFolder].......\ConfgurationFile.ini" path should be enclosed into quotes only if it contains spaces. However, I think that the command line should look like below:

Code: Select all

/ConfigurationFile="[LocalAppDataFolder]Con\NM\prerequisites\ConfigurationFile.ini"
Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”