"Invalid command line" error when running install app - Advanced Installer Community
switchvox2
Posts: 13
Joined: Sat Mar 26, 2011 12:58 am

"Invalid command line" error when running install app

After I successfully build the setup I run the resulting setup app and get error message box that says: "Invalid command line".

I used Professional template. I am working with AI 8.2

My setup app is an EXE built with 1 CAB file option. It has 3 .NET assemblies and 2 prerequisites:
1. Visual Studio 2010 Tools for Office Runtime (x86 and x64) : I set it to run as Silent and tried both

a. /q:a /c:"install /q /l" and
b. /q /norestart

2. .NET 4 where I use /q /norestart and also set it to run as silent.

Anybody could tell me what and where I am doing wrong?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: "Invalid command line" error when running install app

Hello,

Advanced Installer simply helps you build a setup which installs and sets everything on the target machine. The way the application runs afterwards completely depends on its development.

This seems to be an auto-updater message. Are you running the Updater EXE directly or with a custom command line from your application? Please note that the Updater requires one of the predefined command line parameters to work correctly.

The User Guide also contains a tutorial for using the Updater which may help you.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Zeroeffect
Posts: 5
Joined: Wed Jul 08, 2015 3:56 pm

Re: "Invalid command line" error when running install app

I had a similar problem when running my setup program and when I googled I found this thread.
My problem was that I had accidentally put a space between "/L*V" (under Builds / Configuration / MSI Command line) when trying to create a logfile.

Code: Select all

/L*V "[TempFolder]MY_LOG_FILE.log"

Return to “Common Problems”