MsiShim.h
Go to the documentation of this file.
1 #pragma once
2 
3 namespace AppSecInc {
4 namespace Msi {
5 
7 class MsiShim : public MsiPackage
8 {
9 private:
11  std::wstring _filename;
12  MsiDatabase _database;
13 public:
14  MsiShim();
15  ~MsiShim();
17  void Import(const std::wstring& path, const std::wstring& file);
19  int ExecuteCA(const std::wstring& dll, const std::wstring& name);
20 };
21 
22 }}
A smart pointer for an MSI database.
Definition: MsiDatabase.h:14
MsiShim()
Definition: MsiShim.cpp:4
A smart pointer for an MSI database.
Definition: MsiPackage.h:7
void Import(const std::wstring &path, const std::wstring &file)
import table data into the current database
Definition: MsiShim.cpp:36
A temporary package that exposes MSI functions.
Definition: MsiShim.h:7
int ExecuteCA(const std::wstring &dll, const std::wstring &name)
execute a custom action in a custom action DLL
Definition: MsiShim.cpp:59
A smart pointer that calls CoInitializeEx.
Definition: CoInitialize.h:8
~MsiShim()
Definition: MsiShim.cpp:53


© Application Security Inc. - All Rights Reserved http://msiext.codeplex.com