Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista security

Vista - Vista Program Files Folder Problem – Issue 1

Reply
 
Old 08-24-2008   #1 (permalink)
José António Silva


 
 

Vista Program Files Folder Problem – Issue 1

Hello,
I usually deploy a package composed, among others, by a mde file (Compiled
Access File). The installation process is done with a msi file. So far so
good! However, sometimes, I need to update my program several times a day
and, to be simpler, I deploy to clients an exe file that just replace the mde
file. This can break some windows installation rules, but that’s enough!
Now, I’m doing this in four computers with Vista. Two of them are ok. In the
other two, my exe file apparently replaces the mde, but when the final user
run’s it, he didn’t get the last version that goes inside the exe file. He
gets the same previous version.
I have given full control permissions to the folder c:\program files\my
program. I suspect from Windows Resource Protection, but I’m not sure and I
don’t know what to do or what to search for.

José António Siva


My System SpecsSystem Spec
Old 11-05-2008   #2 (permalink)
rac


 
 

Re: Vista Program Files Folder Problem – Issue 1

Jose,
I am encountering a similar issue.

I have been using a MS Access 2000 database for quite some time. I have a
user who purchased a new computer with Windows Vista (I needed to install
Vista Business to accommodate our network). The OS has been SP'd to SP1.

Very simply, I created a directory in Program Files and placed a front-end
MS Access database in it and a back-end database into a subfolder; both are
..mdb versus .mde. The user has been using this database for evaluation and
testing. In the meantime, I have been updating the database application set
on my WinXP/Access 2000 computer. To deploy the updated database app, I
simply copied the updated database set to replace the existing set on the
user's machine. When the database was opened on the user's machine, the
data displayed was that of the OLD database, not the upgraded database.
Sanity check... "user, watch me do this" Open db app on my computer -- all
as it should be. Copy files to network share and copy them to user's
machine from the share. Open the app on user's machine -- OLD data.

I renamed the directory in the Program Files directory, manually created the
directory with the appropriate name along with the subdirectory, and copied
the database files into the respective directories. Now, with the exact
same update files as before, the database displays the NEW data. Further,
if I remove the new test directory and rename the original back to the
particular name, the database now opens with the NEW data.

I do see that no one has responded to your postings, at least into the
forum. I have experienced this before with complex, serious MS Access
issues. I hope you get a chance to see this follow up to your posting over
two months ago. If you have any thoughts or resolution, I would like very
much to hear from you.

rac
"José António Silva" <JosAntnioSilva@xxxxxx> wrote in
message news:4A8C58D9-0AD4-4EBF-892C-D17249B89D33@xxxxxx
Quote:

> Hello,
> I usually deploy a package composed, among others, by a mde file (Compiled
> Access File). The installation process is done with a msi file. So far so
> good! However, sometimes, I need to update my program several times a day
> and, to be simpler, I deploy to clients an exe file that just replace the
> mde
> file. This can break some windows installation rules, but that’s enough!
> Now, I’m doing this in four computers with Vista. Two of them are ok. In
> the
> other two, my exe file apparently replaces the mde, but when the final
> user
> run’s it, he didn’t get the last version that goes inside the exe file. He
> gets the same previous version.
> I have given full control permissions to the folder c:\program files\my
> program. I suspect from Windows Resource Protection, but I’m not sure and
> I
> don’t know what to do or what to search for.
>
> José António Siva
>
My System SpecsSystem Spec
Old 11-05-2008   #3 (permalink)
José António Silva


 
 

Re: Vista Program Files Folder Problem – Issue 1

Till now I have nothing. I’m wondering about asking Microsoft for this, since
they have a free support service for Vista through March 2009. But I see now
that this service is only to SP1 and I’m not currently sure that all of my
problems are here.
In advance, I know that changing the installation location to the desktop (I
think this is the same as to say outside program files folder) this problem
disappears.
José António Silva

"rac" wrote:
Quote:

> Jose,
> I am encountering a similar issue.
>
> I have been using a MS Access 2000 database for quite some time. I have a
> user who purchased a new computer with Windows Vista (I needed to install
> Vista Business to accommodate our network). The OS has been SP'd to SP1.
>
> Very simply, I created a directory in Program Files and placed a front-end
> MS Access database in it and a back-end database into a subfolder; both are
> ..mdb versus .mde. The user has been using this database for evaluation and
> testing. In the meantime, I have been updating the database application set
> on my WinXP/Access 2000 computer. To deploy the updated database app, I
> simply copied the updated database set to replace the existing set on the
> user's machine. When the database was opened on the user's machine, the
> data displayed was that of the OLD database, not the upgraded database.
> Sanity check... "user, watch me do this" Open db app on my computer -- all
> as it should be. Copy files to network share and copy them to user's
> machine from the share. Open the app on user's machine -- OLD data.
>
> I renamed the directory in the Program Files directory, manually created the
> directory with the appropriate name along with the subdirectory, and copied
> the database files into the respective directories. Now, with the exact
> same update files as before, the database displays the NEW data. Further,
> if I remove the new test directory and rename the original back to the
> particular name, the database now opens with the NEW data.
>
> I do see that no one has responded to your postings, at least into the
> forum. I have experienced this before with complex, serious MS Access
> issues. I hope you get a chance to see this follow up to your posting over
> two months ago. If you have any thoughts or resolution, I would like very
> much to hear from you.
>
> rac
> "José António Silva" <JosAntnioSilva@xxxxxx> wrote in
> message news:4A8C58D9-0AD4-4EBF-892C-D17249B89D33@xxxxxx
Quote:

> > Hello,
> > I usually deploy a package composed, among others, by a mde file (Compiled
> > Access File). The installation process is done with a msi file. So far so
> > good! However, sometimes, I need to update my program several times a day
> > and, to be simpler, I deploy to clients an exe file that just replace the
> > mde
> > file. This can break some windows installation rules, but that’s enough!
> > Now, I’m doing this in four computers with Vista. Two of them are ok. In
> > the
> > other two, my exe file apparently replaces the mde, but when the final
> > user
> > run’s it, he didn’t get the last version that goes inside the exe file. He
> > gets the same previous version.
> > I have given full control permissions to the folder c:\program files\my
> > program. I suspect from Windows Resource Protection, but I’m not sure and
> > I
> > don’t know what to do or what to search for.
> >
> > José António Siva
> >
>
>
My System SpecsSystem Spec
Old 11-05-2008   #4 (permalink)
José António Silva


 
 

Re: Vista Program Files Folder Problem – Issue 1

I forgot to tell you that I have tried to update my mde file with elevated
administrator rights, but it won’t work anyway.
I have tried this with Packet Builder (an installer program) that always has
worked pretty well in XP.
Here is a link for a post I have made in it’s forum
http://www.gdgsoft.com/forum/forum.asp?FORUM_ID=3. You can see the answer
they gave me.


"rac" wrote:
Quote:

> Jose,
> I am encountering a similar issue.
>
> I have been using a MS Access 2000 database for quite some time. I have a
> user who purchased a new computer with Windows Vista (I needed to install
> Vista Business to accommodate our network). The OS has been SP'd to SP1.
>
> Very simply, I created a directory in Program Files and placed a front-end
> MS Access database in it and a back-end database into a subfolder; both are
> ..mdb versus .mde. The user has been using this database for evaluation and
> testing. In the meantime, I have been updating the database application set
> on my WinXP/Access 2000 computer. To deploy the updated database app, I
> simply copied the updated database set to replace the existing set on the
> user's machine. When the database was opened on the user's machine, the
> data displayed was that of the OLD database, not the upgraded database.
> Sanity check... "user, watch me do this" Open db app on my computer -- all
> as it should be. Copy files to network share and copy them to user's
> machine from the share. Open the app on user's machine -- OLD data.
>
> I renamed the directory in the Program Files directory, manually created the
> directory with the appropriate name along with the subdirectory, and copied
> the database files into the respective directories. Now, with the exact
> same update files as before, the database displays the NEW data. Further,
> if I remove the new test directory and rename the original back to the
> particular name, the database now opens with the NEW data.
>
> I do see that no one has responded to your postings, at least into the
> forum. I have experienced this before with complex, serious MS Access
> issues. I hope you get a chance to see this follow up to your posting over
> two months ago. If you have any thoughts or resolution, I would like very
> much to hear from you.
>
> rac
> "José António Silva" <JosAntnioSilva@xxxxxx> wrote in
> message news:4A8C58D9-0AD4-4EBF-892C-D17249B89D33@xxxxxx
Quote:

> > Hello,
> > I usually deploy a package composed, among others, by a mde file (Compiled
> > Access File). The installation process is done with a msi file. So far so
> > good! However, sometimes, I need to update my program several times a day
> > and, to be simpler, I deploy to clients an exe file that just replace the
> > mde
> > file. This can break some windows installation rules, but that’s enough!
> > Now, I’m doing this in four computers with Vista. Two of them are ok. In
> > the
> > other two, my exe file apparently replaces the mde, but when the final
> > user
> > run’s it, he didn’t get the last version that goes inside the exe file. He
> > gets the same previous version.
> > I have given full control permissions to the folder c:\program files\my
> > program. I suspect from Windows Resource Protection, but I’m not sure and
> > I
> > don’t know what to do or what to search for.
> >
> > José António Siva
> >
>
>
My System SpecsSystem Spec
Old 11-05-2008   #5 (permalink)
GTS


 
 

Re: Vista Program Files Folder Problem - Issue 1

Vista does not permit saving data files to the Program Files folder. For
backward compatibility if an installation tries to place files there they
are redirected to a "virtualized folder" which actually resides in the
"C:\Users\User_name\AppData\Local\VirtualStore\Program Files\ MyApp" folder.
Storing data in the Programs Files directory has never been a good
practice and Vista actively prohibits it. The 'ProgramsData' folder in
Vista is intended for data storage.

The article below explains this and how to address problems like the one you
describe. See especially Scenario 3.

Common file and registry virtualization issues in Windows Vista
http://support.microsoft.com/kb/927387/en-us
--

"rac" <richard5@xxxxxx> wrote in message
news:cfqdnU9gupspjo_UnZ2dnUVZ_sLinZ2d@xxxxxx
Quote:

> Jose,
> I am encountering a similar issue.
>
> I have been using a MS Access 2000 database for quite some time. I have a
> user who purchased a new computer with Windows Vista (I needed to install
> Vista Business to accommodate our network). The OS has been SP'd to SP1.
>
> Very simply, I created a directory in Program Files and placed a front-end
> MS Access database in it and a back-end database into a subfolder; both
> are .mdb versus .mde. The user has been using this database for
> evaluation and testing. In the meantime, I have been updating the
> database application set on my WinXP/Access 2000 computer. To deploy the
> updated database app, I simply copied the updated database set to replace
> the existing set on the user's machine. When the database was opened on
> the user's machine, the data displayed was that of the OLD database, not
> the upgraded database. Sanity check... "user, watch me do this" Open db
> app on my computer -- all as it should be. Copy files to network share
> and copy them to user's machine from the share. Open the app on user's
> machine -- OLD data.
>
> I renamed the directory in the Program Files directory, manually created
> the directory with the appropriate name along with the subdirectory, and
> copied the database files into the respective directories. Now, with the
> exact same update files as before, the database displays the NEW data.
> Further, if I remove the new test directory and rename the original back
> to the particular name, the database now opens with the NEW data.
>
> I do see that no one has responded to your postings, at least into the
> forum. I have experienced this before with complex, serious MS Access
> issues. I hope you get a chance to see this follow up to your posting
> over two months ago. If you have any thoughts or resolution, I would like
> very much to hear from you.
>
> rac
> "José António Silva" <JosAntnioSilva@xxxxxx> wrote in
> message news:4A8C58D9-0AD4-4EBF-892C-D17249B89D33@xxxxxx
Quote:

>> Hello,
>> I usually deploy a package composed, among others, by a mde file
>> (Compiled
>> Access File). The installation process is done with a msi file. So far so
>> good! However, sometimes, I need to update my program several times a day
>> and, to be simpler, I deploy to clients an exe file that just replace the
>> mde
>> file. This can break some windows installation rules, but that's enough!
>> Now, I'm doing this in four computers with Vista. Two of them are ok. In
>> the
>> other two, my exe file apparently replaces the mde, but when the final
>> user
>> run's it, he didn't get the last version that goes inside the exe file.
>> He
>> gets the same previous version.
>> I have given full control permissions to the folder c:\program files\my
>> program. I suspect from Windows Resource Protection, but I'm not sure and
>> I
>> don't know what to do or what to search for.
>>
>> José António Siva
>>
>

My System SpecsSystem Spec
Old 11-06-2008   #6 (permalink)
GTS


 
 

Re: Vista Program Files Folder Problem - Issue 1

You're welcome.
--

"rac" <richard5@xxxxxx> wrote in message
news:dfednVc_0rmumY7UnZ2dnUVZ_gGdnZ2d@xxxxxx
Quote:

> Thank you Jose for your valuable responses.
>
> The information with regard to saving data files to the Program Files
> folder makes a lot of sense now that I am made aware. Thank you GTS.
>
> With regard to my particular application, the customer's profile does not
> allow users to run install programs, hence I can not package the files.
> It had been very convenient to simply copy the files to their final
> locations using a batch script; I just now need to make my batch script a
> little bit smarter to place the data file into the virtualized folder.
> Further, the issue is a bit moot since the site is using only Win2000 and,
> recently, WinXP. However, this is extremely useful information for future
> development on MS platforms.
>
> Again, thank you both for your rapid and valuable responses.
>
> rac

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Problem deleting vista RC windows folder and program files folder Vista account administration
deleting vista RC windows folder and program files folder Vista file management
Cannot delete Vista restored Program Files Folder Vista General
Spyware .exe program won't save or run into Program Files folder Vista General
"Program Files" directory problem - probably virtualisation issue Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46