[python-win32] Re: Python Help needed - VerInstallFile API
Roger Upole
rwupole at msn.com
Thu May 3 06:37:43 CEST 2007
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
More information about the Python-win32
mailing list