如何创建“.msi” VB6项目的安装程序包? [英] How do I create an ".msi" installer package for a VB6 Project?

查看:191
本文介绍了如何创建“.msi” VB6项目的安装程序包?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在疯狂寻找以下问题的解决方案。



我是一名开发人员,在过去的10年里我在Windows XP机器上工作愉快大约一年左右。我使用Visual Studio6和VB6.0。我使用Visual InterDev 6为我的软件创建了一个.MSI安装程序



我试图将我的开发环境从32位XP机器移动到64位Windows7机。我在Windows 7机器上安装了Visual Studio 6(企业版)。我已经安装了我使用的所有软件工具和组件,可以很好地编译我的遗留项目的更新。



然而,我的Visual InterDev 6 Windows 7机器不再在新项目选项卡中列出Visual Basic Installer。



我不确定我是否未能正确安装VS6或Visual InterDev 6将无法在Windows7上运行,甚至在寻求帮助时使用的正确单词。



我找到了一个Windows安装程序应用程序(我认为是它是什么)在Microsoft下载网站上,但它不会在Windows7上运行或安装。它似乎停在Windows Vista。



我正在寻找你可能给予的任何帮助。我需要能够读取我的.VBP项目文件的东西,找出依赖关系并为我创建MSI。如果你知道如何做到这一点,或者我会找到一个可以做到这一点的工具,你将永远成为我的英雄。

I have been going crazy looking for a solution to the following problem.

I am a developer who has worked happily on my windows XP machine for the past 10 years or so. I use Visual Studio6 and VB6.0. I create an ".MSI" installer for my software using Visual InterDev 6

I am trying to move my development environment from a 32 bit XP machine to a 64 bit Windows7 machine. I have installed Visual Studio 6 (Enterprise edition) on my windows 7 machine. I've got all of my software tools and components that I use installed and can compile updates to my legacy project just fine.

However, the Visual InterDev 6 on my windows 7 machine no longer has "Visual Basic Installer" listed in the New project tab.

I am not sure if I failed to install the VS6 properly, or Visual InterDev 6 will not run on Windows7, or even what are the right "words" to use when asking for help.

I found a windows installer app (I think that is what it is) on the Microsoft downloads website, but it will not run or install on Windows7. It seems to stop at Windows Vista.

I am looking for any help you might be able to give. I need something that will read my .VBP project file, figure out the dependencies and create the MSI for me. If you know how to do this or a tool I can find that will do this you will forever be my hero.

推荐答案

你有一个旧的MSI文件吗?机?如果您这样做,可以使用 AdvancedInstaller repackager [ ^ ]捕获VB6安装程序的更改制作并创建新的MSI。
Do you have a MSI file from the old machine? If you do, you can use the AdvancedInstaller repackager[^] to capture the changes that the VB6 installer makes, and create your new MSI from that.


Pete的答案可能更好,因为您在创建安装程序方面比使用InterDev更具灵活性。



但是,另一个选择是构建一个XP虚拟机(VMware有一个免费的播放器版本)或微软的VirutalPC,或VirtualBox,或任何其他版本,只需安装你的DEV环境。由于VS6是一个只有32位的环境,因此在64位操作系统上安装它没有任何好处。
Pete's answer is probably better as you have greater flexibility in creating an installer than using InterDev.

But, another option is to build an XP virtual machine (VMware has a "Player" version that's free) or Microsoft's VirutalPC, or VirtualBox, or any other) and just install your DEV environment on that. Since VS6 is a 32-bit only environment you get nothing advantageous by installing it on a 64-bit O/S.


我听说过ExeToMsi转换器 [ ^ ]。如果您能够创建setup(* .exe)文件,可以尝试将其转换为* .msi。
I've heard about ExeToMsi converter[^]. If you are able create setup (*.exe) file, you can try to convert it to *.msi.


这篇关于如何创建“.msi” VB6项目的安装程序包?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆