Amit Arora wrote:
>
> HI All,
>
> I need to install a package and check the return value using the
> VerInstallFile() API :
>
> The function declaration which I get on MSDN is :
>
> DWORD VerInstallFile( DWORD uFlags,
> LPCTSTR szSrcFileName,
> LPCTSTR szDestFileName,
> LPCTSTR szSrcDir,
> LPCTSTR szDestDir,
> LPCTSTR szCurDir,
> LPTSTR szTmpFile,
> PUINT lpuTmpFileLen
> )
>
> Anybody has used this API and could share an example using a standard
> msi package will be of great help .........
> MSI packages can be any package , you make take installation of an
> ActivePerl package for instance ....
> (ActivePerl.msi)
>
> Regards,
> ~Amit Arora
VerInstallFile isn't really what you need for msi packages.
Try the msiexec command line utility, or you can use WMI
to install one.
hth
Roger
_______________________________________________
Python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32