00001 #pragma once 00002 00003 namespace AppSecInc { 00004 namespace Msi { 00005 00007 class MsiShim : public MsiPackage 00008 { 00009 private: 00010 AppSecInc::Com::CCoInitialize coinit; 00011 std::wstring _filename; 00012 MsiDatabase _database; 00013 public: 00014 MsiShim(); 00015 ~MsiShim(); 00017 void Import(const std::wstring& path, const std::wstring& file); 00019 int ExecuteCA(const std::wstring& dll, const std::wstring& name); 00020 }; 00021 00022 }}
© Application Security Inc. - All Rights Reserved | http://msiext.codeplex.com |