1

On Microsoft Visual Studio 2010 I would like to create a installer for a solution I created.

I created it by menu way (File > New project... > Other Project Types > Setup and Deployment > Visual Studio Installer > Setup Project), added files to their correct destinations etc., and all works fine, except for prerequisites...

The problem is that my solution depends on .Net 3.5 and I would like to install it automatically together with the installer, in some offline way - no internet downloads on installation time.

If on installer project properties I mark "create setup to install install prerequisite components" and mark "download prerequisites from the same location as my application"...

screenshot

... when I try to run, it shows messages like that:

Error 7 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\aspnet.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. D:\Projetos\Eletronica\M013-Moura\HG-V6-release1\VidaCiclada-semTemperatura\VidaCiclada_Installer\VidaCiclada_Installer.vdproj VidaCiclada_Installer

Well, I put my offline installer of .Net 3.5 on the same folder EXE output of my solution is. What am I doing wrong?

4

1 回答 1

1

虽然我无法完全完成我的安装程序包,但我发现了问题:

  1. 我点击了属性面板
  2. 我点击了设置项目
  3. 在名为“本地化”的属性上,我将值更改为“英语(美国)”

所以我可以构建项目并正常执行安装程序(除了 SQL Server Express,我也想用那个包安装,但是虽然它是用安装程序执行的,但它不会为它创建 Windows 服务......) .

即,问题是我的 VS2010 没有设置我的母语“葡萄牙语(巴西)”所需的文件,但它有英语。最终设置将安装英语语言的先决条件...

于 2012-08-08T19:44:33.993 回答