Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
.NET ClickOnce and my VFP Database???
Message
From
04/06/2008 14:17:18
Chris Sund
Silhouette Solutions
Utah, United States
 
 
To
03/06/2008 16:04:49
Chris Sund
Silhouette Solutions
Utah, United States
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Miscellaneous
Thread ID:
01321418
Message ID:
01321673
Views:
12
I think I solved my problem. Here's what i did...


After posting I realized that the ClickOnce installer installs a copy for each user profile rather than everyone. This was a problem for me, so I decided to do the following to harness the "Good Stuff" Click Once offers.

1.) Using Inno Setup I compiled an installer for my VFP app including the database.
2.) When Inno runs my setup it creates a registry entry regarding the installation directory of my App.
3.) Using the Visual Studio Bootstrapper I created a new clickOnce "Prerequisite" that basically points to the app I compiled in Inno Setup.
4.) In VFP I created a launcher program that basically looks for that registry entry and executes my VFP app using that entry.

5.) Finally I created a ClickOnce deployment using the VFP launcher program I created.


Doing it this way allowed me to install my program in the "Program Files" folder in addition to my database. If another user wants to run the program they will need to run the ClickOnce install, but it will only install the "VfpLauncher" and take just a few seconds.

If anyone has anything to add to this, feel free.

Thanks

Chris
Previous
Reply
Map
View

Click here to load this message in the networking platform