设置安装 [英] SetUp Installation

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

问题描述

你好朋友,

在客户端计算机上安装应用程序时,我在Vb.Net中有应用程序安装exe.我的安装程序应执行以下任务:

1.要求客户端到何处安装应用程序.
e.x:在C:\或D:\
中安装
2.分配驱动器后,安装程序应在该驱动器中创建文件夹,说WMS

3.如果客户端计算机上已经安装了应用程序,则原始数据库文件
应该在New Folder中说"Backup",然后在其中安装新的数据库文件

请,请帮助我,很快

感谢

Hello Friends,

I have application setup exe in Vb.Net, while installing Application on Client machine. My Installer should follow following task:

1. Ask for client to where Install an application.
e.x: installing in C:\ or D:\

2. After assigning drive, Installer Should Create Folder, say WMS in that Drive

3.If Application already installed in Client Machine,Privious Database file
should store in New Folder say BackUp, and Install new Database file there

please, Help me , soon

Thanks

推荐答案

执行此操作的方法是使WMS文件夹成为您定义的msi中不可更改的一部分.您仍然无法阻止人们将其放在c:\ program files \ WMS或其他任何地方.

数据库更新不会发生,最好的办法是使用其他名称存储它,并在需要时让应用程序自己进行备份.
The way to do this is to make the WMS folder part of the bit in your msi that is defined, not changable. You still can''t stop people from putting it at c:\program files\WMS, or whatever.

The database update is not going to happen, your best bet is to store it with a different name and have the app itself make this backup if needed.


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

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