cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
thangap
Level 4

Silent installation installs with public properties

Hi,

When a normal installation is started, the installation is perfectly fine, but when its started in quiet mode "/qn", the installation directory is not the directory being specified in installshield 2010 general properties.

In windows 2008, along with the "/qn" I gave INSTALLDIR="c:\program files" by which the installation directory was updated. windows installer 5.00.

In windows 2003, INSTALLDIR option doesn't help, is there a way to overwrite INSTALLDIR in quiet mode, windows installer 3.01.

Please guide me how do I fix the quiet installation procedure in Installshield, esp updating the properties for quiet installation.
Labels (1)
0 Kudos
(3) Replies
RobertDickau
Flexera Alumni

A first step is to generate an MSI log file on the system during installation, and then inspect the log to see when/why INSTALLDIR is being set to the value being used...
0 Kudos
thangap
Level 4

MSI log in windows 2003 during the installation process:

MSI (s) (D4!84) [10:31:28:875]: PROPERTY CHANGE: Adding INSTALLDIR property. Its value is 'C:\Program Files\102080110163067082221115017130027163254072095035'.

MSI (s) (D4:20) [10:31:28:906]: PROPERTY CHANGE: Modifying INSTALLDIR property. Its current value is 'C:\Program Files\102080110163067082221115017130027163254072095035'. Its new value: 'C:\Program Files\102080110163067082221115017130027163254072095035\'.

MSI (s) (D4:20) [10:31:28:921]: Dir (target): Key: INSTALLDIR , Object: C:\Program Files\102080110163067082221115017130027163254072095035\

Even if INSTALLDIR="C:\" is given in msiexec doesn't override the INSTALLDIR property in windows 2003.

msiexec /i "product.msi" /qn INSTALLDIR="c:\program files\product" /norestart ==> doesn't change the installdir
0 Kudos
thangap
Level 4

Why does the quiet installation differ from normal installation?

MSI log for normal installation (with User interface):

MSI (c) (5C!F0) [11:49:47:109]: PROPERTY CHANGE: Adding INSTALLDIR property. Its value is 'C:\Program Files\product'

MSI log for quiet installation:

MSI (s) (D4!84) [10:31:28:875]: PROPERTY CHANGE: Adding INSTALLDIR property. Its value is 'C:\Program Files\102080110163067082221115017130027163254072095035'.
0 Kudos