简体   繁体   English

使用Instantiations VA Smalltalk™打包到可执行文件中了吗?

[英]Packing into executable with Instantiations VA Smalltalk™?

I wonder if is possible to package into an executable in VA Smalltalk. 我想知道是否可以将其打包到VA Smalltalk中的可执行文件中。 Posts on this subject seem to have contradictory or old information. 关于此主题的帖子似乎有矛盾陈旧的信息。 The README from Instantiations comments about splash screen and other resource tweaks for client installs, but is not clear about making an executable application for distribution. 实例化自述文件”评论了有关启动屏幕和客户端安装的其他资源调整的内容,但是对于制作可执行的应用程序进行分发尚不清楚。

In that case: 在这种情况下:

Does generating an exe file implies stripping an image? 生成exe文件是否意味着要剥离图像? Is the image bootstrapped, ie built from scratch? 映像是否被引导,即从头开始构建?

There's no way to embed the image (.icx file) into the executable (.exe file) with VA Smalltalk. 无法使用VA Smalltalk将图像(.icx文件)嵌入可执行文件(.exe文件)。 The best you can do is have an exe file for the VM and your own custom icx file for the image plus a .ini file for configuration. 最好的办法是为VM提供一个exe文件,为映像提供一个您自己的自定义icx文件,以及一个.ini文件进行配置。 The "Make Executable" option in the organizer creates these files for you but you still have several files. 组织者中的“使可执行文件”选项为您创建了这些文件,但是您仍然有几个文件。

Here is a good resource for starting out making runtimes. 是开始制作运行时的好资源。 Although, as mentioned, you can "Make Executable" from the option menu, my experience is based on the runtime packaging. 尽管如上所述,您可以从选项菜单中“使可执行文件成为可能”,但我的经验是基于运行时打包的。

so here is my attempt to give a short answer. 因此,这是我的简短回答。 You do ship several components when you deploy your application as a runtime: 当您将应用程序部署为运行时时,您会交付一些组件:

  • Your stripped down image (VA ST has a very powerful tool called Packaged Image Browser for this task) 您精简的图像(VA ST有一个非常强大的工具,称为Packaged Image Browser,用于完成此任务)
  • The Virtual Machine (a .exe on Windows). 虚拟机(Windows上为.exe)。 You can customize this exe to display your splash screen or your window icon. 您可以自定义此exe以显示初始屏幕或窗口图标。
  • A number of additional files that are needed by the VM and/or your image. VM和/或映像所需的许多其他文件。 These are pictures, message catalogs, additional DLLs etc. VAST has an exhaustive list of which files you have to ship if you use some feature of the product in the VAST documentation 这些是图片,消息目录,其他DLL等。如果您使用VAST文档中的某些产品功能,则VAST详尽列出了必须运送的文件。

So there is no mechanism to bundle VM and Image together and turn them into a single .exe file, like in Dolphin Smalltalk and maybe more. 因此,没有机制可以将VM和Image捆绑在一起并将它们转换为单个.exe文件,例如在Dolphin Smalltalk等中。 What you ship is usually a Directory with a few subfolders in it. 您所提供的通常是其中包含几个子文件夹的目录。

I hope this comment together with other people already wrote and linked to, makes your picture clearer. 希望此评论与已经撰写并链接的其他人一起使您的图片更清晰。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM