Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: George Kelly
  Where is George Kelly?
 Dromore
 United Kingdom
 George Kelly
 To: Ken Murphy
  Where is Ken Murphy?
 Springhill
 Canada
 Ken Murphy
 Tags
Subject: RE: Installation problem - on Vista
Thread ID: 129129 Message ID: 138093 # Views: 26 # Ratings: 0
Version: Visual FoxPro 9 Category: Distribution and InstallShield
Date: Thursday, July 12, 2007 1:55:03 AM         
   


> >
> > Status Update.
> > I asked the customer to un-install my app, and the apps folder containing remnants.
> > I then asked him to re-install, from the same CD, but to change the Install folder to c:\my app.
> >
> > The customer has reported that this worked.
> >
> > Matter of interest, the Virtual files (which were not requested to be deleted) were obviously not re-used by Vista in this instance.
> >
> > Are there any problems with this installation - now that it is entirely out of the Program Files structure?
> > I ask this for clarification because, when creating an installshield project, Installshield recommends placing the installation folder under Program Files.
> >
> > If its OK, I can make this the standard, and have a common CD for all versions of windows.
> >
> > George
>
> George,
>
> Further to what Doug gave you, the key to this is to split up the application from the data. The EXE can go into the Programs folder structure, but the data cannot. Your app is basically a desktop app and you probably do not have anyone trying to share the data, so you may be unused to this. In a typical app, you would store your data on a server and your exe would go on the client machine. Your sysadmin would grant approptiate permissions and allow the users to look at the shared data folder on the server. The EXE sits somewhere in the Programs folder structure and all is well. In your case however, you will need to store your data directory in something like C:\Application Data\MyApp. Now your data no longer sits in the Programs directory structure so no virtualization. So far so good, but your app now needs to know where to go look for this data. Not a problem. In the Windows shortcut, all you need do is change the "start in" directory to c:\Application Data\MyApp and you can do this in the install procedure. The user can actually install the program where ever he/she wants, but the data will be stored in c:\Application Data\MyApp
>
> Ken
> You shall know the truth - and the truth shall set you free. (John 8:33)

Sorry for raking this up again, but I think its a continuation of the same discussion, rather than a new topic.
I still do not have access to a Vista computer, and have revisisted this thread to review the many very helpful postings.
RE: Kens suggestion, to install in C:\Application Data\MyApp.
I have a customer (Vista) installation set up like this, and asked the customer to email me a database table from a folder in this structure.
He couldnt find it. Search returned no results.
What are the instructions for finding the file? Is it inaccessible due to the UAC?

What are the restrictions imposed by Vista when read/write application data is located in such a folder structure?
Can users freely create folders under the root? Can they then copy files from one such folder to another?

George



COMPLETE THREAD
Installation problem - on Vista Posted by George Kelly @ 4/17/2007 12:58:19 PM
RE: Installation problem - on Vista Posted by Doug Hennig @ 4/17/2007 5:37:40 PM
RE: Installation problem - on Vista Posted by George Kelly @ 4/17/2007 6:00:18 PM
RE: Installation problem - on Vista Posted by Doug Hennig @ 4/17/2007 9:17:51 PM
RE: Installation problem - on Vista Posted by George Kelly @ 4/18/2007 12:03:41 AM
RE: Installation problem - on Vista Posted by Doug Hennig @ 4/18/2007 5:08:56 PM
RE: Installation problem - on Vista Posted by George Kelly @ 4/19/2007 1:31:20 AM
RE: Installation problem - on Vista Posted by Dennis Longfellow @ 4/17/2007 6:07:17 PM
RE: Installation problem - on Vista Posted by Eric den Doop @ 4/17/2007 6:17:57 PM
RE: Installation problem - on Vista Posted by Doug Hennig @ 4/17/2007 9:18:34 PM
RE: Installation problem - on Vista Posted by Mike Gagnon @ 4/17/2007 9:59:59 PM
RE: Installation problem - on Vista Posted by Brad Schulz @ 4/17/2007 6:47:52 PM
RE: Installation problem - on Vista Posted by Doug Hennig @ 4/17/2007 9:12:09 PM
RE: Installation problem - on Vista Posted by George Kelly @ 4/18/2007 3:36:42 PM
RE: Installation problem - on Vista Posted by Doug Hennig @ 4/18/2007 5:16:58 PM
RE: Installation problem - on Vista Posted by George Kelly @ 4/19/2007 1:48:00 AM
RE: Installation problem - on Vista Posted by Ken Murphy @ 4/18/2007 5:34:46 PM
RE: Installation problem - on Vista Posted by George Kelly @ 4/19/2007 1:28:17 AM
RE: Installation problem - on Vista Posted by tushar @ 4/19/2007 6:52:50 AM
RE: Installation problem - on Vista Posted by George Kelly @ 4/19/2007 11:41:41 AM
RE: Installation problem - on Vista Posted by tushar @ 4/19/2007 2:14:41 PM
RE: Installation problem - on Vista Posted by George Kelly @ 4/19/2007 11:17:58 PM
RE: Installation problem - on Vista Posted by Ken Murphy @ 4/20/2007 1:45:39 PM
RE: Installation problem - on Vista Posted by George Kelly @ 4/20/2007 5:42:57 PM
RE: Installation problem - on Vista Posted by George Kelly @ 7/12/2007 1:55:03 AM