コード例 #1
0
ファイル: Session.cs プロジェクト: LegalizeAdulthood/izfree
        public MSI.InstallState FeatureState(string feature,
                                             out InstallState installedReturn, out InstallState actionReturn)
        {
            UInt32 installed;
            UInt32 action;

            MSI.InstallState result = (MSI.InstallState)
                                      MsiGetFeatureState(m_handle.Handle, feature,
                                                         out installed, out action);
            installedReturn = (InstallState)installed;
            actionReturn    = (InstallState)action;
            return(result);
        }
コード例 #2
0
ファイル: Session.cs プロジェクト: LegalizeAdulthood/izfree
        public MSI.InstallState ComponentState(string component,
                                               out InstallState installedReturn, out InstallState actionReturn)
        {
            UInt32 installed;
            UInt32 action;

            MSI.InstallState result = (MSI.InstallState)
                                      MsiGetComponentState(m_handle.Handle, component,
                                                           out installed, out action);
            installedReturn = (InstallState)installed;
            actionReturn    = (InstallState)action;
            return(result);
        }
コード例 #3
0
 public static void ConfigureFeature(string product, string feature,
                                     MSI.InstallState state)
 {
     TR(MsiConfigureFeature(product, feature, (int)state));
 }
コード例 #4
0
 public static void ConfigureProduct(string product, int installLevel,
                                     MSI.InstallState state, string commandLine)
 {
     TR(MsiConfigureProductEx(product, installLevel, (int)state,
                              commandLine));
 }
コード例 #5
0
 public static void ConfigureProduct(string product, int installLevel,
                                     MSI.InstallState state)
 {
     TR(MsiConfigureProduct(product, installLevel, (int)state));
 }
コード例 #6
0
ファイル: Product.cs プロジェクト: LegalizeAdulthood/izfree
 public void Configure(int installLevel, MSI.InstallState state,
                       string commandLine)
 {
     TR(MsiConfigureProductEx(m_code, installLevel, (int)state,
                              commandLine));
 }
コード例 #7
0
ファイル: Product.cs プロジェクト: LegalizeAdulthood/izfree
 public void Configure(int installLevel, MSI.InstallState state)
 {
     TR(MsiConfigureProduct(m_code, installLevel, (int)state));
 }
コード例 #8
0
ファイル: Product.cs プロジェクト: LegalizeAdulthood/izfree
 public void ConfigureFeature(string feature, MSI.InstallState state)
 {
     TR(MsiConfigureFeature(m_code, feature, (int)state));
 }