创建一个简单的安装系统

创建一个简单的安装系统

本文介绍了如何在 XP/Vista 和更新版本上为 VB6 创建一个简单的安装系统?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

强调简单.我从来没有做过安装程序,我不想学太多.一个我可以将一堆文件交给它的系统,它可以对将它们放在哪里做出一些聪明的猜测是理想的.

Heavy emphasis on simple. I've never made an installer and I'd rather not have to learn much. A system that I could hand a pile of files to and it would make some smart guesses about where to put them would be ideal.

继续回答一般性问题.

但是,在我的情况下,我遇到了一些额外的限制.要安装的程序是用 VB6(或者是 5?)和几个以前的 VB 版本编写的,所以它不会很快就会更新.我有一个正在运行的安装,并且将有一个干净的 VM 可以使用所以我将执行以下循环:运行安装,查找损坏的位置,修复它,将其添加到安装程序,恢复 VM,再试一次.如果有人有更好的方法,我愿意接受建议.

However In my cases I'm stuck with some extra constraints. The program to be installed is written in VB6 (or is it 5?) and a few previous versions of VB, so it's not going to be updated any time soon. I have a running install and will have a Clean VM to play with So I'll be doing a loop of: run the install, find where it's broken, fix it, add that to the installer, revert the VM, try again. If anyone has a better approach I'm open to suggestions.

必须让它在 XP 上运行,我真的很想也能在较新版本的 Windows 上运行.

I MUST get it working on XP and I'd really like to also have something that will work on newer versions of Windows as well.

推荐答案

InnoSetupNSIS,以您认为更容易的为准.ISTool 是 InnoSetup 的一个不错的 GUI 工具,它使创建安装脚本更加容易.

InnoSetup or NSIS, whichever seems easier to you. ISTool is a nice GUI tool for InnoSetup which makes creating setup scripts even easier.

这篇关于如何在 XP/Vista 和更新版本上为 VB6 创建一个简单的安装系统?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 01:08