We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,140 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Creating a ..MSI file from a Project

Hey guys,

I've managed to successfully create a little basic installer for installing all of the files. HOWEVER. I have multiple Access database files which cant also be installed to the Program Files directory because then they become read-only. So, I was going to install them to the Application Data directory.

My question is, how do I set the path in the VB Source code to read the Access Database file from Application Data. Regardless of the Username of the person using the program etc.

Thanks!

ps. Furthermore, how do I get around the problem of those who do not have access installed on their PC. Obviously they couldnt use the software then.

3
Contributors
2
Replies
21 Hours
Discussion Span
4 Months Ago
Last Updated
3
Views
Ariah17
Newbie Poster
1 post since Dec 2012
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

You could use C:\Documents and Settings\All Users\Application Data. Or you could find the user name with SystemInformation.UserName and replace All Users with it in that path.

tinstaafl
Nearly a Posting Virtuoso
1,329 posts since Jun 2010
Reputation Points: 355
Solved Threads: 233
Skill Endorsements: 14

ps. Furthermore, how do I get around the problem of those who do not have access installed on their PC. Obviously they couldnt use the software then.

You don't need Access just the engine installed so you can use the ACE provider or if you prefer the engine directly with record sets.

Microsoft Access Database Engine 2010 Redistributable

TnTinMN
Practically a Master Poster
640 posts since Jun 2012
Reputation Points: 418
Solved Threads: 148
Skill Endorsements: 13

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0620 seconds using 2.68MB