InstallShield 2009 basic MSI silent install: how to install Repair by default

Install Premiere Screen 2009: The basic MSI from the command line, entering setup.exe / s / v / qn is silently installed. But if it is installed once, before it selects "Change" by default and does not go to replace files. But I need to copy the files again. How to perform a default Repair in a second silent installation?

+5
source share
4 answers

First of all: it seems that we need more detailed information about what you are trying to achieve. you want to reinstall the product to fix any broken components, or you want to install a new version of the product (perhaps side by side with the previous configuration).

William's answer looks correct, but there may be some problems with quotation marks. The behavior you describe indicates that the Windows installer was unable to parse the command line. I have not tested this, but I will try:

Setup.exe / s / v "/ f {11111111-1111-1111-1111-111111111111} / qn"

: setup.exe - Installshield-provider setup. , /V " " exe Windows msiexec.exe ( msiexec.exe).

, Windows . MSI Windows GUID . , ( MSI ).

msiexec.exe:

:

  • msiexec.exe/i MySetup.msi/q

:

  • msiexec.exe/x MySetup.msi/qn
  • msiexec.exe/x {11111111-1111-1111-1111-111111111111}/qn

  • msiexec.exe/f MySetup.msi/qn
  • msiexec.exe/f {11111111-1111-1111-1111-111111111111}/qn

( MSI):

  • msiexec.exe/a MySetup.msi TARGETDIR = "C:\ExtractSourcesHere"

/qn , .

+2

InstallShield @2009

:

OnMaintUIBefore()...... // , (MODE = SILENTMODE),   nType = REPAIR;   goto Dlg_SdFeatureTree; ENDIF;

+1

: Basic MSI Property Manager _IsMaintenance "".

+1
Setup.exe /s /v"/f {11111111-1111-1111-1111-111111111111}" /v"/qn"

where "{11111111-1111-1111-1111-11111111111111}" is the installation ProductCode GUID of the installation you want to restore.

0
source

All Articles