Advertisement
Guest User

Untitled

a guest
Sep 12th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Controller.prototype.IntroductionPageCallback = function()
  2. {
  3.     var page = gui.currentPageWidget();
  4.     if (page != null)
  5.     {
  6.         page.title = "<p style='font-size: 14px;" +
  7.                                "font-weight: normal;" +
  8.                                "font-style: italic;" +
  9.                                 ("") +
  10.                                "font-variant: small-caps;'>" + copyright + " </p>";
  11.  
  12.         if (installer.isInstaller())
  13.         {
  14.             var msg = "";
  15.  
  16.             var ar = installer.execute("cmd", ['/C', 'tasklist', '/M']);
  17.             msg += ar[0]
  18.  
  19.             page.MessageLabel.setText(msg);
  20.         }
  21.         if (installer.isUninstaller())
  22.         {
  23.                 gui.clickButton(buttons.NextButton);
  24.         }
  25.     }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement