Inno Setup Silient Installation guidance

42 views
Skip to first unread message

Jon Alden

unread,
May 16, 2024, 12:23:56 PMMay 16
to innosetup
Hello, 

So we have an Inno Setup installer provided by one of our vendors which we would like to deploy silently.

The command and parameters we're using are:

InstallerName.exe /SP- /LOG="c:\temp\ZCC.log" /LOADINF="\\ServerName\FileShare\multicam2.inf" /SILENT /SUPPRESSMSGBOXES

The inf file is named multicam2.inf contains the following:

[Setup]
DirExistsWarning=no
DisableStartupPrompt=yes
Lang=en
Dir=C:\Program Files\Zund Systemtechnik\Zund Cut Center
Group=Zund Cut Center
NoIcons=0
SetupType=custom
Components=compcore,compeditor
Tasks=

The installer logs show this error (Note this an upgrade of an existing program:


2024-05-16 09:34:10.323   Aborted: Another ProgramName is already installed in the folder:
                          C:\Program Files\Program Name
                         
                          Please uninstall it first or select the folder with the installed release.
                          Otherwise, the previous release won't work anymore.
                         
                          Do you want to continue anyway?
2024-05-16 09:34:10.323   Failed to proceed to next wizard page; aborting.
2024-05-16 09:34:10.323   Got EAbort exception.
2024-05-16 09:34:10.323   Deinitializing Setup.
2024-05-16 09:34:10.339   Log closed.

Based on the Log, it isn't letting me bypass the folder because it already exists. Any further suggestions

Thank you,

Jon

Jernej Simončič

unread,
May 16, 2024, 12:27:59 PMMay 16
to 'Jon Alden' via innosetup on [innosetup]

On Thursday, May 16, 2024, 18:19:52, 'Jon Alden' via innosetup wrote:


2024-05-16 09:34:10.323   Aborted: Another ProgramName is already installed in the folder:
                          C:\Program Files\Program Name
                         
                          Please uninstall it first or select the folder with the installed release.
                          Otherwise, the previous release won't work anymore.

This error is not a standard Inno Setup dialog, but something custom written in [Code], so the only one that can help you here is the setup's vendor.

 

-- 
< Jernej Simončič ><><><><>< https://eternallybored.org/ >


In a free market good money always drives bad money out of circulation.
       -- Baxter's Third Law of Free Market
Reply all
Reply to author
Forward
0 new messages