Inno Setup ругается на то что я пытаюсь создать вирус но это не так

пытаюсь создать инстолятор своей программы , но Inno setup compiletor не дает это сделать введите сюда описание изображения

Код :

import webbrowser
from tkinter import *
from tkinter import messagebox
from tkinter import filedialog

# webbrowser.open("https://coursehunter.net/")

root = Tk()
root.geometry('800x600+800+300')
root.title('Notebook')

main_menu = Menu(root)
root.config(menu=main_menu)

# main_menu.add_command(label='File')
# main_menu.add_command(label='About')


def about_programs():
    messagebox.showinfo(title='About notepad', message='Programs Notepad Version 0.0.1')


def notepad_quit():
    answer = messagebox.askokcancel(title='Exit', message="Close programs?")
    if answer:
        root.destroy()


def open_file():
    file_path = filedialog.askopenfilename(title="Choice", filetypes=(("Text Documents(.txt)",
                                                                       "*.txt"), ("All files", "*.*")))
    if file_path:
        t_arial.delete("1.0", END) # 1- первая строка 0-нулевой символ END - до конца
        open_file_path = open(file_path, encoding='utf-8')
        t_arial.insert("1.0", open_file_path.read())
        open_file_path.close()


def save_file():
    file_path = filedialog.asksaveasfilename(filetypes=(("Text Documents(.txt)",
                                                                       "*.txt"), ("All files", "*.*")))
    save_file_path = open(file_path, 'w', encoding='utf-8')
    text = t_arial.get("1.0", END)
    save_file_path.write(text)
    save_file_path.close()


def website():
    webbrowser.open_new(url='https://translate.google.com/?sl=uk&tl=en&text=%D0%91%D0%BB%D0%BE%D0%BA%D1%82%D0%BE%D0%BD&op=translate')


def change_Theme(theme):
    t_arial['bg'] = theme_colors[theme]['text_bg']
    t_arial['fg'] = theme_colors[theme]['text_fg']
    t_arial['insertbackground'] = theme_colors[theme]['cursor']
    t_arial['selectbackground'] = theme_colors[theme]['select_bg']


# File
file_menu = Menu(main_menu, tearoff=0)
file_menu.add_command(label='Open', command=open_file)
file_menu.add_command(label='Save', command=save_file)
file_menu.add_separator()
file_menu.add_command(label='Exit', command=notepad_quit)
main_menu.add_cascade(label='File', menu=file_menu)

# About
theme_menu = Menu(main_menu, tearoff=0)
theme_menu_sub = Menu(theme_menu, tearoff=0)
theme_menu_sub.add_command(label="Light Theme", command=lambda: change_Theme('light'))
theme_menu_sub.add_command(label="Dark Theme",  command=lambda: change_Theme('dark'))

theme_menu.add_cascade(label='Decorations', menu=theme_menu_sub)
theme_menu.add_command(label='website', command=website)
theme_menu.add_command(label='Programs', command=about_programs)
main_menu.add_cascade(label='Referents', menu=theme_menu)


f_menu = Frame(root, bg="#1F252A", height=40)
f_text = Frame(root)
# f_menu.pack(fill=X)
f_text.pack(fill=BOTH, expand=1)

theme_colors = {
    "dark": {
        "text_bg": "#343D46", "text_fg": "#C6DEC1", "cursor": "#EDA765", "select_bg": "#4E5A65"
    },
    "light": {
        "text_bg": "#fff", "text_fg": "#000", "cursor": "#8000FF", "select_bg": "#777"
    }
}

t_arial = Text(f_text, bg=theme_colors["dark"]['text_bg'], width=30, font=("Courier New", 11), fg=theme_colors["dark"]['text_fg'],
               padx=10, pady=10, wrap=WORD,
               insertbackground=theme_colors["dark"]["cursor"],
               selectbackground=theme_colors["dark"]["select_bg"])
t_arial.pack(fill=BOTH, expand=1, side=LEFT)

scroll = Scrollbar(f_text, command=t_arial.yview)
scroll.pack(fill=Y)
t_arial.config(yscrollcommand=scroll.set)

root.mainloop()

Ответы (0 шт):