设置项目:用户输入一个值,然后将其存储在文本文件或数据库中 [英] Setup Project: user enters a value then store it in a text file or database

查看:83
本文介绍了设置项目:用户输入一个值,然后将其存储在文本文件或数据库中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

正如标题所述,我该怎么做?
我已经在Google上搜索了一些tut,但仅用于创建简单的安装项目。 sample

As the title said, how can i do that? I've search some tuts on google, but only for creating simple setup projects.sample

当用户输入某物时,该值将在安装后存储在文本文件或数据库中,并位于应用程序位置(ProgramFiles)。谢谢^ _ ^

When the user enters 'something', that value will be stored in a textfile or database after installation and is located in the application location (ProgramFiles). thank you ^_^

推荐答案

该对话框看起来像TextBoxes对话框,并且该对话框具有内容的大写属性名称。如果它是TextBoxes(A),则属性名称可能是EDITA1,因此您可以使用格式将其传递给自定义操作。不知道是什么类型的自定义操作,我无法明确指出,但是您可能首先需要在自定义操作的CustomActionData属性中使用。对于一个(不好的)示例,在VBScript自定义操作中,您将使用session.property( CustomActionData)值。

That dialog looks like a TextBoxes dialog, and that dialog has uppercase property names for the content. If it's TextBoxes(A) the property name is probably EDITA1 so you use it in the format to pass it to custom actions. Without knowing exactly what kind of custom action you'll be using I can't be explicit, but you'll probably start by having in the CustomActionData property of the custom action. For (a bad) example, in a VBScript custom action you'd use the value session.property ("CustomActionData").

这篇关于设置项目:用户输入一个值,然后将其存储在文本文件或数据库中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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