コード例 #1
0
        private bool IsInstallOrUninstall()
        {
            if (commandLine.IsInstall || commandLine.IsUninstall)
            {
                // Tis is an installation (Setup file or "/install" arg) or uninstallation (/uninstall arg)
                // Need some temp main window when only message boxes will be shown for commands
                MainWindow = CreateTempMainWindow();

                installer.InstallOrUninstall();

                return(true);
            }

            return(false);
        }