Setup Project: user enters a value then store it in a text file or database

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-12 03:53:07

问题


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

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 ^_^


回答1:


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 [EDITA1] 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 [EDITA1] 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").



来源:https://stackoverflow.com/questions/35665125/setup-project-user-enters-a-value-then-store-it-in-a-text-file-or-database

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!