English 中文(简体)
防止点击下载下载应用程序数据文件并使用它们所在位置
原标题:Prevent ClickOnce To Download Application Data Files And Use Them Where They Are

I Have a Program That Install Some Software on a Client Computer. And Because Before Start It Needs .Net Framework 2, I Must Use Click Once Prerequisites To Install .Net Framework 2 First. And Before Click Once Starts, it Just Copy All Of My Installation Files To Some Place Like : C:UsersMarkAppDataLocalApps2.0H6ZL......

They Are Big Installation Files And I Don t Want It To Copy Them There. Is There Any Solution ?

感谢您的时间!

问题回答

我不太明白你的问题,但让我在回答我认为你正在问的问题时捅一刀。

您在问题中引用的目录 (... apps2.0...) 是 ClickOnce 缓存的位置, 它在安装. NET 框架之前不会复制这些文件, 而是在那里复制这些文件, 以便安装 ClickOce 应用程序 。 这是应用程序存在和运行的地方 。

设置. exe is the bootstrapper 。 它检查先决条件, 必要时安装这些先决条件, 然后启动 ClickOnce 安装, 将文件下载到上述位置 。 它与安装先决条件无关 。





相关问题
How can I load a folders files into a ListView?

I d like to have a user select a folder with the FolderBrowserDialog and have the files loaded into the ListView. My intention is to make a little playlist of sorts so I have to modify a couple of ...

File Handling Issue

I am developing a tool in c#, at one instance I start writing into a xml file continuously using my tool,when i suddenly restart my machine the particular xml file gets corrupted, what is the reason ...

C# GemBox Excel Import Error

I am trying to import an excel file into a data table using GemBox and I keep getting this error: Invalid data value when extracting to DataTable at SourceRowIndex: 1, and SourceColumnIndex: 1. As ...

Saving output of a for-loop to file

I have opened a file with blast results and printed out the hits in fasta format to the screen. The code looks like this: result_handle = open("/Users/jonbra/Desktop/my_blast.xml") from Bio.Blast ...

热门标签