用户安装应用程序时使用功能 [英] Using function when the user install the application

查看:56
本文介绍了用户安装应用程序时使用功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的项目中,我具有创建数据库的功能.
我希望在用户安装应用程序时创建数据库.

关于如何执行此操作的任何想法?

谢谢.

In my project I have a function that creates a database.
I would like that the database is created when the user installs the application.

Any ideas on how I can do this?

Thanks.

推荐答案

您可以在设置应用程序中使用自定义操作

演练:创建自定义操作 [
You could use a Custom Action from within your setup application

Walkthrough: Creating a Custom Action[^]


是否可以向安装中添加类?并在用户安装应用程序时从类中执行一些操作?
我没有在这篇文章中找到它.
Are there any ability to add classes to the installation? and perform some action from the classes when then user install the application?
I didn''t find it in this article.


这篇关于用户安装应用程序时使用功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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