安装项目bootstrapper问题 [英] setup project bootstrapper question

查看:806
本文介绍了安装项目bootstrapper问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写一个新安装作为设置和部署项目。我在引导程序中设置了3个
先决条件 - Framework V2,SQL Express,Windows

安装程序3.1。启动安装程序后,它会立即识别出未安装哪些
项目,并提示使用相应的许可协议

。我需要的是找到一种方法来通知我的用户

在他们面前闪现新的EULA之前发生了什么 -

对于一个表格,表明他们的系统将被检查

必要的组件等。现在的工作方式,而不让用户

知道发生了什么比用户更少友好。

I''m writing a new install as a setup and deployment project. I have 3
pre-requisites set in the bootstrapper - Framework V2, SQL Express, Windows
Installer 3.1. When the setup is launched, it immediately recognizes which
items aren''t installed and prompts with the appropriate license agreements
for each product needed. What I need is to find a way to inform my users of
what is happening before just flashing new EULA''s in front of them -
something to the affect of a form stating that their system will be checked
for necessary components etc. The way things work now without letting users
know what''s going on is less than user-friendly.

推荐答案

你好马特,


从你的描述中,你想知道如何提示在VS生成的安装程序之前做一些指令或

信息做引导程序

(预先安装),对吗?


基于我的经验,因为在安装程序中最早的时间调用bootstrapper存根(VS生成或通过

windows安装程序sdk手动开发),你不能直接添加在安装程序中有这样一个额外的提示

。我和一些设置工程师讨论了这个问题,并且他们建议您创建一个thim程序(exe),在其中首先显示所需的所有指令或信息。
提示然后

以编程方式启动实际的setup.exe(生成的throgh VS设置

项目)。您如何看待?


此致,

Steven Cheng


Microsoft MSDN在线支持主管

此帖子按原样提供。没有保证,也没有授予任何权利。

Hello Matt,

From your description, you''re wondering how to prompt some instruction or
information before the VS generated setup program do the bootstrapper
(prerequists installing), correct?

Based on my experience, since the bootstrapper stub is called at the
earliest time in a setup program(VS generated or manually developed through
windows installer sdk), you can not directly add such an additional prompt
in the setup program. I''ve discussed this with some setup engineers and
they suggest that you create a thim program(exe) in which you first display
all the instruction or information you want to prompt and then
programmatically launch the actual setup.exe(generated throgh VS setup
project). How do you think?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.


我已经考虑过创建一个让他们知道的小应用程序的想法

正如你所说的那样,将会发生什么。问题是我如何做到这一点

当一个预先获得的是.Net框架本身?我想我可以在VB6中做一些非常简单的事情,但我很担心它看起来很糟糕。是否有其他选择来做这类事情?


Steven Cheng [MSFT]" < st ***** @ online.microsoft.com写信息

news:sp ************** @ TK2MSFTNGHUB02.phx.gbl ...
I''ve thought about the idea of creating just a small app that lets them know
what''s about to happen as you''ve suggested. The problem is how do I do that
when one of the pre-requisited is the .Net framework itself? I suppose I
could do something very simple in VB6, but am concerned about it looking
poor. Are there other options for doing this type of thing?

"Steven Cheng[MSFT]" <st*****@online.microsoft.comwrote in message
news:sp**************@TK2MSFTNGHUB02.phx.gbl...

你好马特,


从你的描述中,你想知道如何提示某些指示或
在VS生成的安装程序执行引导程序之前的
信息

(预先安装),对吗?


根据我的经验,自引导程序存根以来在安装程序中最早调用

(VS生成或手动开发

通过

windows安装程序sdk),你不能直接在安装程序中添加这样一个额外的提示

。我和一些设置工程师讨论了这个问题,并且他们建议你创建一个thim程序(exe),然后你首先显示

显示

你要提示的所有指令或信息,然后以编程方式启动实际的setup.exe(生成的throgh VS设置

项目)
。您如何看待?


此致,

Steven Cheng


Microsoft MSDN在线支持主管


此帖子按原样提供。没有保证,并且不授予

权利。
Hello Matt,

From your description, you''re wondering how to prompt some instruction or
information before the VS generated setup program do the bootstrapper
(prerequists installing), correct?

Based on my experience, since the bootstrapper stub is called at the
earliest time in a setup program(VS generated or manually developed
through
windows installer sdk), you can not directly add such an additional prompt
in the setup program. I''ve discussed this with some setup engineers and
they suggest that you create a thim program(exe) in which you first
display
all the instruction or information you want to prompt and then
programmatically launch the actual setup.exe(generated throgh VS setup
project). How do you think?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no
rights.



感谢您的回复Matt,


是的,对于这样的垫片应用程序,建议不要使用.net框架来构建

它(或VB),因为它们将依赖于运行时框架(或VB运行时库) )。

如果可能的话,使用vc构建一个小的Windows应用程序将是

首选。此外,还有其他选项,例如使用html页面(

易于设计,并且可以在任何具有webbrowser的机器上显示)。在

的default.htm(或readme.htm)页面中,您可以提示所有必要的

安装说明包括预先获得的。你可以在页面上提供

的一些指向实际安装程序的链接。怎么样?
这个?


真诚的,


Steven Cheng


Microsoft MSDN在线支持主管


此帖子按原样提供。没有保证,也没有授予任何权利。

Thanks for your reply Matt,

Yes, for such shim app, it is recommended not use .net framework to build
it(or VB) since they will rely on runtime framework(or VB runtime libs ).
If possible, using vc to build a small windows application would be
preferred. Also, there are other options such as use a html page (which is
easy to design and can display on any machine which has webbrowser). And in
the default.htm(or readme.htm) page you can prompt all the necessary
installation instructions include the pre-requisited. And you can provide
some link on the page which point to the actual setup program. How about
this?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

This posting is provided "AS IS" with no warranties, and confers no rights.


这篇关于安装项目bootstrapper问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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