a problem about automatically installing
Posted 04 August 2006 - 06:52
ourself, and they used for Updating our server.
So I found some ways here to install MSI files and they
work very well, but now I want to specify a path, so all
msi will be installed in this folder. but they always
installed the default folder defined in MSI database,
so may i have a way to install them easy and to
a specify folder.
BTW, maybe i need where i can specify some parameter when installing
and end user doese't need know,.
Posted 04 August 2006 - 18:14
msiexec.exe /I your.msi INISTALLDIR="C:\your dir"
Posted 07 August 2006 - 02:30
In fact i've open a MSI database, and i can open Directory table,
I can find some useful information there, and there are TargetDir,
InstallDir column, but the description in SDK about these three
column, I am not sure i can catch the meaning of them,
perhaps my experience is no so rich about this.
I wanner know how this table be orgnized, and how to use this
Even more whether I I can got more information from the MSI database.
and your suggestion is work well, and i found anther way,
use MsiInstallProduct directly, also work.
Posted 07 August 2006 - 09:00
Posted 08 August 2006 - 02:00
BTW, to develop MSI project, whether C++ is the only or best choice?