示例#1
0
 protected override void OnXmlWriteTag(XmlWriterEventArgs e)
 {
     e.XmlWriter.WriteAttributeString("type", m_type.ToString());
     e.XmlWriter.WriteAttributeString("position", XmlRectangle.ToString(m_position));
     e.XmlWriter.WriteAttributeString("enabled", m_enabled.ToString());
     e.XmlWriter.WriteAttributeString("display_install", m_display_install.ToString());
     e.XmlWriter.WriteAttributeString("display_uninstall", m_display_uninstall.ToString());
     e.XmlWriter.WriteAttributeString("check", m_check.ToString());
     e.XmlWriter.WriteAttributeString("has_value_disabled", m_has_value_disabled.ToString());
     base.OnXmlWriteTag(e);
 }
        protected override void OnXmlWriteTag(XmlWriterEventArgs e)
        {
            e.XmlWriter.WriteAttributeString("dialog_caption", m_dialog_caption);
            e.XmlWriter.WriteAttributeString("dialog_message", m_dialog_message);
            e.XmlWriter.WriteAttributeString("dialog_message_uninstall", m_dialog_message_uninstall);
            e.XmlWriter.WriteAttributeString("dialog_bitmap", m_dialog_bitmap);
            e.XmlWriter.WriteAttributeString("skip_caption", m_skip_caption);
            e.XmlWriter.WriteAttributeString("install_caption", m_install_caption);
            e.XmlWriter.WriteAttributeString("uninstall_caption", m_uninstall_caption);
            e.XmlWriter.WriteAttributeString("cancel_caption", m_cancel_caption);
            //e.XmlWriter.WriteAttributeString("reinstallflag_caption",m_reinstallflag_caption);
            e.XmlWriter.WriteAttributeString("status_installed", m_status_installed);
            e.XmlWriter.WriteAttributeString("status_notinstalled", m_status_notinstalled);
            e.XmlWriter.WriteAttributeString("failed_exec_command_continue", m_failed_exec_command_continue);
            e.XmlWriter.WriteAttributeString("installation_completed", m_installation_completed);
            e.XmlWriter.WriteAttributeString("uninstallation_completed", m_uninstallation_completed);
            e.XmlWriter.WriteAttributeString("installation_none", m_installation_none);
            e.XmlWriter.WriteAttributeString("uninstallation_none", m_uninstallation_none);
            // e.XmlWriter.WriteAttributeString("dialog_install_next",m_dialog_install_next);
            // e.XmlWriter.WriteAttributeString("dialog_install_skip",m_dialog_install_skip);
            e.XmlWriter.WriteAttributeString("installing_component_wait", m_installing_component_wait);
            e.XmlWriter.WriteAttributeString("uninstalling_component_wait", m_uninstalling_component_wait);
            e.XmlWriter.WriteAttributeString("reboot_required", m_reboot_required);
            e.XmlWriter.WriteAttributeString("must_reboot_required", m_must_reboot_required.ToString());

            e.XmlWriter.WriteAttributeString("dialog_otherinfo_caption", m_dialog_otherinfo_caption);
            e.XmlWriter.WriteAttributeString("dialog_otherinfo_link", m_dialog_otherinfo_link);

            e.XmlWriter.WriteAttributeString("complete_command", m_complete_command);
            e.XmlWriter.WriteAttributeString("complete_command_silent", m_complete_command_silent);
            e.XmlWriter.WriteAttributeString("complete_command_basic", m_complete_command_basic);
            e.XmlWriter.WriteAttributeString("wait_for_complete_command", m_wait_for_complete_command.ToString());

            e.XmlWriter.WriteAttributeString("prompt_for_optional_components", m_prompt_for_optional_components.ToString());
            e.XmlWriter.WriteAttributeString("auto_close_if_installed", m_auto_close_if_installed.ToString());
            e.XmlWriter.WriteAttributeString("auto_close_on_error", m_auto_close_on_error.ToString());
            e.XmlWriter.WriteAttributeString("reload_on_error", m_reload_on_error.ToString());
            e.XmlWriter.WriteAttributeString("dialog_show_installed", m_dialog_show_installed.ToString());
            e.XmlWriter.WriteAttributeString("dialog_show_uninstalled", m_dialog_show_uninstalled.ToString());
            e.XmlWriter.WriteAttributeString("dialog_show_required", m_dialog_show_required.ToString());

            // message and caption to show during CAB extraction
            e.XmlWriter.WriteAttributeString("cab_dialog_message", m_cab_dialog_message);
            e.XmlWriter.WriteAttributeString("cab_cancelled_message", m_cab_cancelled_message);
            e.XmlWriter.WriteAttributeString("cab_dialog_caption", m_cab_dialog_caption);

            // CAB path
            e.XmlWriter.WriteAttributeString("cab_path", m_cab_path);
            e.XmlWriter.WriteAttributeString("cab_path_autodelete", m_cab_path_autodelete.ToString());

            // dialog, message and button positions
            e.XmlWriter.WriteAttributeString("dialog_default_button", m_dialog_default_button.ToString());
            e.XmlWriter.WriteAttributeString("dialog_position", XmlRectangle.ToString(m_dialog_position));
            e.XmlWriter.WriteAttributeString("dialog_components_list_position", XmlRectangle.ToString(m_dialog_components_list_position));
            e.XmlWriter.WriteAttributeString("dialog_message_position", XmlRectangle.ToString(m_dialog_message_position));
            e.XmlWriter.WriteAttributeString("dialog_bitmap_position", XmlRectangle.ToString(m_dialog_bitmap_position));
            e.XmlWriter.WriteAttributeString("dialog_otherinfo_link_position", XmlRectangle.ToString(m_dialog_otherinfo_link_position));
            e.XmlWriter.WriteAttributeString("dialog_osinfo_position", XmlRectangle.ToString(m_dialog_osinfo_position));
            e.XmlWriter.WriteAttributeString("dialog_install_button_position", XmlRectangle.ToString(m_dialog_install_button_position));
            e.XmlWriter.WriteAttributeString("dialog_cancel_button_position", XmlRectangle.ToString(m_dialog_cancel_button_position));
            e.XmlWriter.WriteAttributeString("dialog_skip_button_position", XmlRectangle.ToString(m_dialog_skip_button_position));
            // auto start
            e.XmlWriter.WriteAttributeString("auto_start", m_auto_start.ToString());
            // auto start on reboot
            e.XmlWriter.WriteAttributeString("auto_continue_on_reboot", m_auto_continue_on_reboot.ToString());
            // additional reboot command
            e.XmlWriter.WriteAttributeString("reboot_cmd", m_reboot_cmd);
            // dialog options
            e.XmlWriter.WriteAttributeString("show_progress_dialog", m_show_progress_dialog.ToString());
            e.XmlWriter.WriteAttributeString("show_cab_dialog", m_show_cab_dialog.ToString());
            e.XmlWriter.WriteAttributeString("disable_wow64_fs_redirection", m_disable_wow64_fs_redirection.ToString());
            // administrator required
            e.XmlWriter.WriteAttributeString("administrator_required", m_administrator_required.ToString());
            e.XmlWriter.WriteAttributeString("administrator_required_message", m_administrator_required_message);
            base.OnXmlWriteTag(e);
        }