English 中文(简体)
Setup.exe 能够找到.msi 案卷
原标题:Setup.exe can t find the .msi file

我与一个网站上的“编外”档案有链接,我希望有人能够通过点击链接在网站上安装应用程序。 然而,当我尝试测试时,一个窗户有一个错误信息:在试图安装[申请名称]时发生错误。 在该过程中设定了上限,档案中最后一行是:无法查找申请档案[档案名称]。 msi。 我必须做过错......

一些补充资料:

  1. The msi file is for a Windows WPF application that I want to allow the user to install on his/her computer.
  2. When writing the Windows application, I noticed that there was a field in the properties for the Setup Project labeled Installation Url. So I entered the url for the directory on the website which contains the .msi file.

不管怎么说,我敢说,我只剩下一个环境或东西。 欢迎任何想法!

感谢!

安道尔

最佳回答

“奥凯”,这一解决办法:

  1. In the website, use Response.Redirect ("~/[Virtual File Path for setup.exe]");
  2. When compiling the setup project in Visual Studio, make sure that the Installation Url (right-click on the setup project in the solution explorer and go to properties) is pointing to the Url for the website folder containing the .msi file. Also, I think this field is either case-sensitive, or it doesn t like a trailing forward slashes. Until I changed these two things, it wasn t able to find my .msi file.

不管怎么说,也许其他人会因为我:

安道尔

问题回答

我不敢知道,但你可以尝试取消设置。 姆西人可以自行操作。

我将把MSI文件放在网页上,作为链接,然后可以促使用户下载或安装。

为什么不简单地把所有东西都列入zi或rar? 这似乎不太复杂,也很难做同样的事情。 此外,关于“......”规定的内容,它检查所需版本。 该网络和(如果适当配置)如果缺失,将安装。 仅仅依靠国际海事调查就没有。

  1. Press windows key + r
  2. Type cmd.exe, press enter
  3. cd o hefoldercontaining heproblemfile
  4. dir /x
  5. Note the short filename of the problem file. It will look for example like BLAH~1.
  6. del BLAH~1




相关问题
Correct place to install demostration projects?

With the new Windows 7 restrictions (well, new to Windows Vista anyways), we can no longer install demo projects to %ProgramFilesFolder%OurApplicationdemo since restricted users will not be able to ...

msi install program as startup

is it possible to install a program as a start up program using MSI installer?

Web Setup Project - Repair to overwrite files

I have a web setup project that creates an MSI. After first installation, my web site has some config files that can be modify manually. When triggering that MSI again, I am offered to repair the ...

Visual Studio Setup Projects: Cleartype

I use a Visual Studio Setup project to create an installer for some assemblies. However, the fonts the installer uses are always aliased, and don t appear to be the Windows standard. (source: ...

Implementing Update functionality

I want to implement the Update functionality for one of my .NET application. I saw that the Advanced Installer contains this functionality. Anybody recommends Advanced Installer for updating my ...

VS 2005 Setup - HKCU

I am trying to fix an existing application that uses a Visual Studio 2005 setup project. We are requiring it to work on limited user accounts for XP, our app is written in C# for .Net 2.0. It writes ...