Click here to Skip to main content
15,877,051 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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


1 solution

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.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900