什么是ClickOne? [英] What is ClickOne?

查看:122
本文介绍了什么是ClickOne?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




只是好奇什么是clickone?它是否与Installshield相同?


按照以下说明进行操作似乎为我创建了一个

安装exe,这对我来说很好但是它怎么来没有作为安装exe的一部分,还包括

..net框架吗?如果我给朋友或客户这个exe

,我相信在安装

后他们无法运行该应用程序。如果clickone与installshield相同,我该如何处理

以包含.net框架作为安装exe的一部分。

http://msdn2.microsoft.com/en-us/lib .. .ey(VS.80).aspx


谢谢

解决方案

Hello Tee,


我们在其中一个应用程序上使用ClickOnce。我们这样做的方法是使用

MageUI工具并在我们的网络服务器上放置清单。


为了澄清,我只是像往常一样编译我的C#应用​​程序。然后我进入

BIN \ Release文件夹并收集exe和任何需要的额外.dll'

并将它们放入我们发布的文件夹中电脑。然后我们运行MageUI和

创建几个清单(Application Manifest,然后是Deployment Manifest)

并将整个文件夹放在指定的web目录中。


完整的解释是相当长的,并且有这些

特定步骤的在线帮助。


它的骨瘦如柴你不必使用和安装 - 只需要MageUI

来创建和签署你的清单。哦,你可能想要考虑

如果你不希望人们能够反编译你的exe文件那么

:〜}


希望这有点帮助。


Rob


" Tee"写道:





好​​奇什么是clickone?它是否与Installshield相同?


按照以下说明进行操作似乎为我创建了一个

安装exe,这对我来说很好但是它怎么来没有作为安装exe的一部分,还包括

..net框架吗?如果我给朋友或客户这个exe

,我相信在安装

后他们无法运行该应用程序。如果clickone与installshield相同,我该如何处理

以包含.net框架作为安装exe的一部分。

http://msdn2.microsoft.com/en-us/lib .. .ey(VS.80).aspx


谢谢


嗨Rob,
应用程序使用了相当多的.net组件,因此MageUI处理.NET框架的分发是因为
。真正深入了解我真正想要的是告诉安装人员


1.这是我的.net项目(解决方案* .sln)

2.查找所有引用dll和ocx

3.仅包含我的应用程序与安装exe一起使用的.net组件

4.构建单个安装exe

5.完成。


那里有没有技术。


PS。对我来说,晦涩的事情对我来说太贵了

" RobKinney1" < Ro ******** @ discussion.microsoft.com写信息

新闻:2F ******************** ************** @ microsof t.com ...


Hello Tee,


我们在其中一个应用程序上使用ClickOnce。我们这样做的方法是使用

MageUI工具并在我们的网络服务器上放置清单。


为了澄清,我只是像往常一样编译我的C#应用​​程序。然后我进入

BIN \ Release文件夹并收集exe和任何需要的额外.dll'

并将它们放入我们发布的文件夹中电脑。然后我们运行MageUI



创建几个清单(Application Manifest,然后部署

Manifest)

并将整个文件夹放在指定的web目录中。


完整的解释相当长,并且有这些

特定步骤的在线帮助。 />

它的缺点是你不必使用和安装 - 只需

MageUI

来创建和签署你的清单。哦,你可能想要考虑

如果你不希望别人能够反击你的exe文件

反编译

它:〜}


希望这有点帮助。


Rob


" Tee" ;写道:


>

只是好奇什么是clickone?是否与Installshield相同?

按照以下说明操作,它似乎为我创建了一个
安装exe,这很好,但是为什么它不包括
.. net framework作为安装exe的一部分呢?如果我将这个
exe
给予朋友或客户,我相信他们在安装
后无法运行该应用程序。如果clickone与installshield相同,我怎么去
将.net框架作为安装exe的一部分包含在内。

http://msdn2.microsoft.com/en-us/lib .. .ey(VS.80).aspx

谢谢



开1月31日下午5:58,Tee < khmer_lov ... @ yahoo.comwrote:


你好Rob,


MageUI是否处理.NET的分发框架原因是因为我的
应用程序使用了相当多的.net组件。真正深入了解我真正想要的是告诉安装人员


1.这是我的.net项目(解决方案* .sln)

2.查找所有引用dll和ocx

3.仅包含我的应用程序与安装exe一起使用的.net组件

4.构建单个安装exe

5.完成。



请记住,作为Microsoft升级/修补程序的一部分,.NET Framework安装在全球所有Windows

计算机上

网站。非常非常少的机器不会安装框架。

假设它在你的目标机器上是非常安全的,尽管

它可能不是可以安全地假设版本2.0在那里(机器

可能仍然是1.1。)


为了使用ClickOnce,你需要一个IIS服务器。 ClickOnce是

基本上是一个Web服务,允许您在用户点击网页上的链接时自动安装您的应用程序



示例),并在每次运行应用程序时检查升级。但是,你需要一台IIS服务器才能处理这些请求。


那里有没有技术。



是的,有些产品会将您的.NET应用程序与

选定的Framework组件捆绑到一个.exe中进行分发。

名字此刻逃过了我。然而,要意识到这可能是b / b $ b矫枉过正:正如我所说,遇到一台至少没有框架的Windows

PC是非常非常罕见的1.1已经在它上面了。


如果您有Visual Studio,您可能会发现在VS中创建一个

部署项目会更容易。它会将您的所有代码打包成

一个.msm文件,该文件将自动提取并安装在一台

目标机器上。我相信你也可以指示VS包含

框架本身作为安装的一部分,尽管如我所说,我认为这是一种矫枉过正。
< blockquote class =post_quotes>
PS。对我来说,贬值的东西对我来说太贵了



我相信那里有免费的混淆器......其他人

知道一个?


Hi,

Just curious what is clickone? Is it the same as Installshield?

Been follow the following instructions and it seems to create an
installation exe for me which is good but how come it doesn''t include the
..net framework as part of the installation exe too? if i was giving this exe
to a friend or a client i am sure they can''t run the application after the
installed. If the clickone is the same as installshield how do i go about
to include the .net framework as part of the installation exe.

http://msdn2.microsoft.com/en-us/lib...ey(VS.80).aspx

Thanks

解决方案

Hello Tee,

We use ClickOnce on one of our applications. The way we did it is to use
the MageUI tool and place manifests on our web server.

To clarify, I just compile my C# application as usual. Then I go into the
BIN\Release folder and gather the exe and any extra .dll''s that are needed
and place them into a folder on our release computer. We then run MageUI and
create a couple of manifests (Application Manifest, then Deployment Manifest)
and place the entire folder out in a specified web directory.

The full explanation is rather long and there is online help for these
specific steps.

The skinny of it is that you do not have to use and installer -- just MageUI
to create and sign your manifests. Oh, and you might want to consider
Obfusticating your exe file if you don''t want people to be able to decompile
it :~}

Hope this helps a little bit.

Rob

"Tee" wrote:

Hi,

Just curious what is clickone? Is it the same as Installshield?

Been follow the following instructions and it seems to create an
installation exe for me which is good but how come it doesn''t include the
..net framework as part of the installation exe too? if i was giving this exe
to a friend or a client i am sure they can''t run the application after the
installed. If the clickone is the same as installshield how do i go about
to include the .net framework as part of the installation exe.

http://msdn2.microsoft.com/en-us/lib...ey(VS.80).aspx

Thanks


Hi Rob,

does MageUI handle the distribution of .NET framework the reason because my
application use quite a bit of .net components. Really deep down what i
really want is tell the installer

1. here is my .net project (solutions *.sln)
2. find all references dll and ocx
3. only include .net component that my app use with the installation exe
4. build a single installation exe
5. done.

Is there any technology out there.

PS. Obfusticating thing is a bit too expensive for me right now
"RobKinney1" <Ro********@discussions.microsoft.comwrote in message
news:2F**********************************@microsof t.com...

Hello Tee,

We use ClickOnce on one of our applications. The way we did it is to use
the MageUI tool and place manifests on our web server.

To clarify, I just compile my C# application as usual. Then I go into the
BIN\Release folder and gather the exe and any extra .dll''s that are needed
and place them into a folder on our release computer. We then run MageUI
and
create a couple of manifests (Application Manifest, then Deployment
Manifest)
and place the entire folder out in a specified web directory.

The full explanation is rather long and there is online help for these
specific steps.

The skinny of it is that you do not have to use and installer -- just
MageUI
to create and sign your manifests. Oh, and you might want to consider
Obfusticating your exe file if you don''t want people to be able to
decompile
it :~}

Hope this helps a little bit.

Rob

"Tee" wrote:

>Hi,

Just curious what is clickone? Is it the same as Installshield?

Been follow the following instructions and it seems to create an
installation exe for me which is good but how come it doesn''t include the
..net framework as part of the installation exe too? if i was giving this
exe
to a friend or a client i am sure they can''t run the application after
the
installed. If the clickone is the same as installshield how do i go
about
to include the .net framework as part of the installation exe.

http://msdn2.microsoft.com/en-us/lib...ey(VS.80).aspx

Thanks



On Jan 31, 5:58 pm, "Tee" <khmer_lov...@yahoo.comwrote:

Hi Rob,

does MageUI handle the distribution of .NET framework the reason because my
application use quite a bit of .net components. Really deep down what i
really want is tell the installer

1. here is my .net project (solutions *.sln)
2. find all references dll and ocx
3. only include .net component that my app use with the installation exe
4. build a single installation exe
5. done.

Keep in mind that the .NET Framework is installed on all Windows
machines worldwide as part of Microsoft''s upgrades / hotfixes on the
Web. Very, very few machines will not have the Framework installed.
It''s pretty safe to assume that it''s on your target machine, although
it may not be safe to assume that version 2.0 is there (the machine
might still be on 1.1.)

In order to use ClickOnce, you need an IIS server. ClickOnce is
basically a Web service that allows you to install your application
automatically when the user clicks on a link on a Web page (for
example), and check for upgrades every time the application runs. You
do, however, require an IIS server in order to handle the requests.

Is there any technology out there.

Yes, there are products that will bundle your .NET app together with
selected Framework components into a single .exe for distribution. The
names escape me at the moment. However, realize that this is probably
overkill: as I said, it will be very, very rare to encounter a Windows
PC that doesn''t have at least Framework 1.1 already on it.

If you have Visual Studio, you might find it easier to simply create a
Deployment project in VS. It will package all of your code into
an .msm file that will automatically extract itself and install on a
target machine. I believe that you can also instruct VS to include the
Framework itself as part of the install although, as I said, I
consider that overkill.

PS. Obfusticating thing is a bit too expensive for me right now

I believe that there are free obfuscators out there... anyone else
know of one?


这篇关于什么是ClickOne?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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