为InstallShield安装程序创建升级修补程序

时间:2023-02-01 22:39:51

For our latest release, we want our customers to only download an upgrade patch of our applications and instead of uninstall and re-install all the process will be done by upgrader patch but I know nothing about this even after I googled it! Where to start guys? Note that our new release includes database upgrade as well as production code!

对于我们的最新版本,我们希望我们的客户只下载我们的应用程序的升级补丁,而不是卸载和重新安装,所有过程都将由升级补丁完成,但即使我用谷歌搜索后我也对此一无所知!从哪里开始的人?请注意,我们的新版本包括数据库升级以及生产代码!

We are using .NET 4.0, Visual Studio 2010, C# and VB.NET in our software.

我们在我们的软件中使用.NET 4.0,Visual Studio 2010,C#和VB.NET。

1 个解决方案

#1


3  

I might be a bit late to the party but hopefully this post helps anybody else who is looking for this answer.

我可能会有点迟到,但希望这篇文章可以帮助任何正在寻找这个答案的人。

You can use the 'Patch Design' method to create patches. You can find it in Installation Designer tab under Media.

您可以使用“修补程序设计”方法来创建修补程序。您可以在Media下的Installation Designer选项卡中找到它。

For this you will need the latest build (msi/exe) and one or more previous build(s). In 'Patch Design' add a new patch configuration. From there you can specify latest version and previous version(s) of your setup file. If you are using Express version then you will need uncompressed build for both latest and previous. If you have Professional version then it can decompress it for you.

为此,您将需要最新版本(msi / exe)和一个或多个以前的版本。在“补丁设计”中添加新的补丁配置。从那里,您可以指定安装文件的最新版本和以前的版本。如果您使用的是Express版本,那么您将需要针对最新版本和之前版本的未压缩版本。如果您有专业版,那么它可以为您解压缩。

After this, just hit Build Patch and it will create a update.exe with only differences between latest and previous builds. It is quite smart in a way where it will only add the binary differences.

在此之后,只需点击Build Patch,它将创建一个update.exe,只包含最新版本和之前版本之间的差异。它只是添加二进制差异的方式非常聪明。

Good luck.

祝你好运。

#1


3  

I might be a bit late to the party but hopefully this post helps anybody else who is looking for this answer.

我可能会有点迟到,但希望这篇文章可以帮助任何正在寻找这个答案的人。

You can use the 'Patch Design' method to create patches. You can find it in Installation Designer tab under Media.

您可以使用“修补程序设计”方法来创建修补程序。您可以在Media下的Installation Designer选项卡中找到它。

For this you will need the latest build (msi/exe) and one or more previous build(s). In 'Patch Design' add a new patch configuration. From there you can specify latest version and previous version(s) of your setup file. If you are using Express version then you will need uncompressed build for both latest and previous. If you have Professional version then it can decompress it for you.

为此,您将需要最新版本(msi / exe)和一个或多个以前的版本。在“补丁设计”中添加新的补丁配置。从那里,您可以指定安装文件的最新版本和以前的版本。如果您使用的是Express版本,那么您将需要针对最新版本和之前版本的未压缩版本。如果您有专业版,那么它可以为您解压缩。

After this, just hit Build Patch and it will create a update.exe with only differences between latest and previous builds. It is quite smart in a way where it will only add the binary differences.

在此之后,只需点击Build Patch,它将创建一个update.exe,只包含最新版本和之前版本之间的差异。它只是添加二进制差异的方式非常聪明。

Good luck.

祝你好运。