📄 wxwebkitinstaller.iss.in
字号:
; Installer script for wxWebKit for wxPython[Setup]AppName=wxWebKitAppId=wxWebKitAppVersion=<<VERSION>>AppVerName=wxWebKit <<VERSION>>AppCopyright=LGPLDefaultDirName={code:GetInstallDir|c:\DoNotInstallHere}AppPublisher=wxWebKit ProjectAppPublisherURL=http://wxwebkit.wxcommunity.com/pmwiki/AppSupportURL=http://wxwebkit.wxcommunity.com/pmwiki/AppUpdatesURL=http://wxwebkit.wxcommunity.com/pmwiki/UninstallDisplayName=wxWebKit <<VERSION>>UninstallFilesDir={app}\UninstallCompression=bzip/9SourceDir=<<ROOTDIR>>OutputDir=win-installerOutputBaseFilename=wxWebKit-Py<<PYTHONVER>>-<<VERSION>>DisableStartupPrompt=yesAllowNoIcons=yesDisableProgramGroupPage=yesDisableReadyPage=yes[Files]<<FILES>>[Messages]WelcomeLabel1=Welcome to the wxWebKit for wxPython Setup Wizard[Code]program Setup;var PythonDir : String; InstallDir : String;function InitializeSetup(): Boolean;begin (* -------------------------------------------------------------- *) (* Figure out what to use as a default installation dir *) if not RegQueryStringValue(HKEY_LOCAL_MACHINE, 'Software\Python\PythonCore\<<PYTHONVER>>\InstallPath', '', PythonDir) then begin if not RegQueryStringValue(HKEY_CURRENT_USER, 'Software\Python\PythonCore\<<PYTHONVER>>\InstallPath', '', PythonDir) then begin MsgBox('No installation of Python <<PYTHONVER>> found in registry.' + #13 + 'Be sure to enter a pathname that places wxPython on the PYTHONPATH', mbConfirmation, MB_OK); PythonDir := 'C:\Put a directory on PYTHONPATH here\'; end; end; InstallDir := PythonDir + '\Lib\site-packages\wx-2.8-msw-unicode\wx\'; Result := True;end;function GetPythonDir(Default: String): String;begin Result := PythonDir;end;function GetInstallDir(Default: String): String;begin Result := InstallDir;end;beginend.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -