每次重建时,VS2005安装项目都会重新排列CAB文件序列 [英] VS2005 Setup Project re-arranges the CAB file sequence each time it's re-built

查看:95
本文介绍了每次重建时,VS2005安装项目都会重新排列CAB文件序列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

就像在问题中一样,有人知道为什么会发生这种情况吗?我能做些什么来阻止这种情况的发生?我正在尝试为一个MSI生成一堆本地化转换,我正在使用MSI API函数GenerateTranform来完成.它需要两个MSI,并产生一个表示两者之间差异的转换.我以为我可以更改安装项目的本地化,重建和创建转换,但是除了UI语言更改之外,我还看到大多数文件的文件顺序都已更改.这是一个大问题,因为它完全搞砸了安装过程(正如您可能期望的那样).

失败的话,在我所处的环境中,有没有其他人提出任何其他建议来快速轻松地创建本地化转换.我可以沿用WIX路线,然后完全控制文件顺序,但是在此阶段,这代表了我项目中的很多额外工作,尤其是当VS安装项目完成我已经完成的所有工作时直到现在都需要.

干杯,

克里斯·钱伯斯(Chris Chambers).

Hi guys,

As in the question, does anyone know why this happens and what I can do to stop it from happening? I''m trying to generate a whole bunch of localization transforms for one MSI and I''m doing it by using the MSI API function GenerateTranform. It takes two MSI and produces a transform that represents the difference between the two. I''d assumed that I could change the localization of the setup project, rebuild and create a transform but on top of the UI language changes I also see that the file sequence has changed for most of the files. This is a big problem because it totally screws the installation up (as you''d probably expect).

Failing that, has anyone got any other suggestions for creating localization transforms quickly and easily in my circumstances. I could go down the WIX route as I''d then be in full control of the file sequence, but it represents quite a lot of extra work at this stage in my project, particularly when the VS setup project does everything I''ve needed up until now.

Cheers,

Chris Chambers.

推荐答案

以防万一有人碰到这个问题...

我找不到阻止VS更改文件顺序的方法.最后,我走了WIX路线,这使我获得了完全的控制权.我应该首先做到这一点!
In case anyone comes across this...

I couldn''t find a way to stop VS from changing the file sequence. In the end I went down the WIX route which gave me total control. I should have just done that in the first place!


这篇关于每次重建时,VS2005安装项目都会重新排列CAB文件序列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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