|
|
#1 |
|
Junior Member
Join Date: Apr 2005
Posts: 4
|
using ExecWait to run .msi to install software
I can not get ExecWait to run sucessfully "postgresql-8.0-int.msi". any idea why how to do it?
|
|
|
|
|
|
#2 |
|
Junior Member
Join Date: Apr 2005
Posts: 19
|
try
ExecWait 'msiexec /i "$INSTDIR\postgresql-8.0-int.msi" /qn' /qn - means silent install, you can remove this parameter |
|
|
|
|
|
#3 |
|
Major Dude
Join Date: Jan 2005
Location: Oregon Coast
Posts: 737
|
An MSI file is not an actual executable file. It is basically just a data file that tells Windows installer (MSIEXEC.EXE) what to do.
Therefore, to use Exec and wait, you'll probably want to call the actual EXE (MSIEXEC) and pass the MSI file to it as a parameter. Something like this: code: Full details about the usage of MSIEXEC can be found at http://msdn.microsoft.com/library/de...ne_options.asp |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Apr 2005
Posts: 4
|
Hello,
thanks for the reply, but I tried this command: ExecWait 'msiexec /i "C:\postgresql-8.0.msi"' and it jumps to the next line right when the setup windows for postgres pops up, it doesn't wait. any ideas why? |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Sep 2005
Location: Sacramento CA
Posts: 24
|
Thanks, this worked like a charm for me too.
|
|
|
|
|
|
#6 |
|
Guest
Posts: n/a
|
Difficult with installing as service.
Hello,
i could run the msi, but I have to install postgre as service, and it asks me for password. Can i put a password in silent mode? If yes, is there an easiest way then finding the window, then finding the item... Thanks. |
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|