Click to See Complete Forum and Search --> : How to use Msi API to uninstall an application by its "Product Code" ?


cuiqimeng
October 30th, 2009, 10:13 AM
I know that there's a method,

C++
UINT MsiInstallProduct(
__in LPCTSTR szPackagePath,
__in LPCTSTR szCommandLine
);

However, it needs a package path, how can i get it by product code?

Thanks!