File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
samples/snippets/csharp/VS_Snippets_CLR/InstallContext_InstallContext/CS Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ class InstallContext_Example : Installer
3434
3535 public override void Install ( IDictionary mySavedState )
3636 {
37+ base . Install ( mySavedState ) ;
3738// <Snippet6>
3839 StringDictionary myStringDictionary = myInstallContext . Parameters ;
3940 if ( myStringDictionary . Count == 0 )
@@ -61,11 +62,13 @@ public override void Install( IDictionary mySavedState )
6162
6263 public override void Uninstall ( IDictionary mySavedState )
6364 {
65+ base . Uninstall ( mySavedState ) ;
6466 // The 'Uninstall' procedure should be added here.
6567 }
6668
6769 public override void Rollback ( IDictionary mySavedState )
6870 {
71+ base . Rollback ( mySavedState ) ;
6972 if ( myInstallContext . IsParameterTrue ( "LogtoConsole" ) == true )
7073 {
7174 myInstallContext . LogMessage ( "The 'Rollback' method has been called" ) ;
@@ -76,6 +79,7 @@ public override void Rollback( IDictionary mySavedState )
7679
7780 public override void Commit ( IDictionary mySavedState )
7881 {
82+ base . Commit ( mySavedState ) ;
7983 if ( myInstallContext . IsParameterTrue ( "LogtoConsole" ) == true )
8084 {
8185 myInstallContext . LogMessage ( "The 'Commit' method has been called" ) ;
You can’t perform that action at this time.
0 commit comments