I know that there's a method,
C++
UINT MsiInstallProduct(
__in LPCTSTR szPackagePath,
__in LPCTSTR szCommandLine
);
However, it needs a package path, then how can i get it by product code?
Thanks!
Edited by cuiqimeng, 31 October 2009 - 15:05.
Posted 31 October 2009 - 13:57
Edited by cuiqimeng, 31 October 2009 - 15:05.
Posted 02 November 2009 - 09:20
Posted 02 November 2009 - 14:33
QUOTE (VBScab @ 2009-11-02 09:20) |
It's a lot easier to use the WindowsInstaller.Installer object but the APi is documented thoroughly (with examples) on MSDN as well as in the SDK. |
Posted 02 November 2009 - 14:43