如何在visual studio setup msi文件中的安装dilalogs中保存编辑文本框中的值? [英] How do I save values from edit text boxes in installation dilalogs in visual studio setup msi files?

查看:75
本文介绍了如何在visual studio setup msi文件中的安装dilalogs中保存编辑文本框中的值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好!



我在Visual Studio 2008的安装项目中添加了Textboxes(A)对话框。

对话框已编辑文本框。

如何在msi文件的安装过程中将这些文本行保存为注册表值?



谢谢。

解决方案

hi
尝试使用高级安装程序来制作安装程序,因为用户可以选择在值可以更新的安装时间或创建新注册表时输入值。


www.faqshop.com/scripting/default.htm?http://www.faqshop.com/scripting/msi/obt%20targetdir%20cust%20action.htm



是。

1.使用代码创建自定义动作dll,例如链接功能SaveMessage

2.创建自定义动作以下属性:

CustomActionData

EntryPoint SaveMessage

SourcePath(只读你的dll)

其中EDITPHONE是我们对话框中编辑框的属性名称。

Hello!

I have added Textboxes (A) dialog in the setup project of Visual Studio 2008.
The dialog has edit text boxes.
How to save these text lines as registry values in the installation process of msi file?

Thank you.

解决方案

hi Try to use "Advanced Installer" to make installer,in that u have option for user enter value when installation time that value can update or create new registery.


www.faqshop.com/scripting/default.htm?http://www.faqshop.com/scripting/msi/obt%20targetdir%20cust%20action.htm

Yes.
1. Create custom action dll with code like link with functions SaveMessage
2. Create custom action with the following properties:
CustomActionData [EDITPHONE]
EntryPoint SaveMessage
SourcePath (read only to your dll)
Where EDITPHONE is property name of edit box from our dialog.


这篇关于如何在visual studio setup msi文件中的安装dilalogs中保存编辑文本框中的值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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