Vista Program Files Folder Problem – Issue 1

Posted: 08-24-2008, 03:48 PM
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

Vista Program Files Folder Problem – Issue 1


Responses to "Vista Program Files Folder Problem – Issue 1"

rac
Guest
Posts: n/a
 
Re: Vista Program Files Folder Problem – Issue 1
Posted: 11-05-2008, 09:42 PM
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@discussions.microsoft.com> wrote in
message news:4A8C58D9-0AD4-4EBF-892C-D17249B89D33@microsoft.com...
> 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
>
José António Silva
Guest
Posts: n/a
 
Re: Vista Program Files Folder Problem – Issue 1
Posted: 11-06-2008, 12:02 AM
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:
> 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@discussions.microsoft.com> wrote in
> message news:4A8C58D9-0AD4-4EBF-892C-D17249B89D33@microsoft.com...
> > 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
> >
>
>
José António Silva
Guest
Posts: n/a
 
Re: Vista Program Files Folder Problem – Issue 1
Posted: 11-06-2008, 12:15 AM
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:
> 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@discussions.microsoft.com> wrote in
> message news:4A8C58D9-0AD4-4EBF-892C-D17249B89D33@microsoft.com...
> > 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
> >
>
>
GTS
Guest
Posts: n/a
 
Re: Vista Program Files Folder Problem - Issue 1
Posted: 11-06-2008, 03:54 AM
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\Pro gram 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@ptd.net> wrote in message
news:cfqdnU9gupspjo_UnZ2dnUVZ_sLinZ2d@ptd.net...
> 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 Antnio Silva" <JosAntnioSilva@discussions.microsoft.com> wrote in
> message news:4A8C58D9-0AD4-4EBF-892C-D17249B89D33@microsoft.com...
>> 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 Antnio Siva
>>
>

rac
Guest
Posts: n/a
 
Re: Vista Program Files Folder Problem - Issue 1
Posted: 11-06-2008, 02:48 PM
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


"GTS" <x> wrote in message news:%238fawN8PJHA.1960@TK2MSFTNGP04.phx.gbl...
> 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\Pro gram 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@ptd.net> wrote in message
> news:cfqdnU9gupspjo_UnZ2dnUVZ_sLinZ2d@ptd.net...
>> 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 Antnio Silva" <JosAntnioSilva@discussions.microsoft.com> wrote in
>> message news:4A8C58D9-0AD4-4EBF-892C-D17249B89D33@microsoft.com...
>>> 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 Antnio Siva
>>>
>>
>
>
GTS
Guest
Posts: n/a
 
Re: Vista Program Files Folder Problem - Issue 1
Posted: 11-06-2008, 03:24 PM
You're welcome.
--

"rac" <richard5@ptd.net> wrote in message
news:dfednVc_0rmumY7UnZ2dnUVZ_gGdnZ2d@ptd.net...
> 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

José António Silva
Guest
Posts: n/a
 
Re: Vista Program Files Folder Problem - Issue 1
Posted: 11-07-2008, 01:22 PM
Thank you very much, GTS. Yes, it could be this. I’ll check. But for now,
your answer leads me to the other post I’ve made at the same time, and
related with this thread. So, let me ask something more …

---Here is the post---
“Hello,
I develop some programs with Access 2003 and I deploy them like any other
program. However, instead of deploying, among others, an executable main file
I have to deploy a mde compiled acess file - Access works like this! I expect
that users run this mde file. So, I deploy the mde to c:\program files\my
program folder. Again, like any other program.
After reading some literature related with Windows Vista I notice some lines
about more and more restrictions in updating files inside the program files
folder (for security reasons). Taking in account that a mde file is also an
Access database, where we can put data (e.g. temporary data) we are updating
the mde “all the time”. How this can be accomplished with the update
restriction tendency I referred above??


So, having in account that an mde could always be changing over the time
(e.g., some properties) what policy we should adopt for Vista times? Simply
change Program Files for ProgramsData, as you suggest?

Thank you, again
José António Silva



"GTS" wrote:
> 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\Pro gram 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@ptd.net> wrote in message
> news:cfqdnU9gupspjo_UnZ2dnUVZ_sLinZ2d@ptd.net...
> > 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@discussions.microsoft.com> wrote in
> > message news:4A8C58D9-0AD4-4EBF-892C-D17249B89D33@microsoft.com...
> >> 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
> >>
> >
>
>
>
GTS
Guest
Posts: n/a
 
Re: Vista Program Files Folder Problem - Issue 1
Posted: 11-07-2008, 03:31 PM
You're welcome.
I think using ProgramData is a good solution, but it might be helpful to
also ask this in the Access and related programming groups.
--

"Jos Antnio Silva" <JosAntnioSilva@discussions.microsoft.com> wrote in
message news:56EF4638-E6F3-4983-A6D2-5B989FB0ADC1@microsoft.com...
> Thank you very much, GTS. Yes, it could be this. I'll check. But for now,
> your answer leads me to the other post I've made at the same time, and
> related with this thread. So, let me ask something more .
>
> ---Here is the post---
> "Hello,
> I develop some programs with Access 2003 and I deploy them like any other
> program. However, instead of deploying, among others, an executable main
> file
> I have to deploy a mde compiled acess file - Access works like this! I
> expect
> that users run this mde file. So, I deploy the mde to c:\program files\my
> program folder. Again, like any other program.
> After reading some literature related with Windows Vista I notice some
> lines
> about more and more restrictions in updating files inside the program
> files
> folder (for security reasons). Taking in account that a mde file is also
> an
> Access database, where we can put data (e.g. temporary data) we are
> updating
> the mde "all the time". How this can be accomplished with the update
> restriction tendency I referred above??
> "
>
> So, having in account that an mde could always be changing over the time
> (e.g., some properties) what policy we should adopt for Vista times?
> Simply
> change Program Files for ProgramsData, as you suggest?
>
> Thank you, again
> Jos Antnio Silva
>
>
>
> "GTS" wrote:
>
>> 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\Pro gram 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@ptd.net> wrote in message
>> news:cfqdnU9gupspjo_UnZ2dnUVZ_sLinZ2d@ptd.net...
>> > 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 Antnio Silva" <JosAntnioSilva@discussions.microsoft.com> wrote
>> > in
>> > message news:4A8C58D9-0AD4-4EBF-892C-D17249B89D33@microsoft.com...
>> >> 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 Antnio Siva
>> >>
>> >
>>
>>
>>

José António Silva
Guest
Posts: n/a
 
Re: Vista Program Files Folder Problem - Issue 1
Posted: 11-07-2008, 03:55 PM
That's what I'm going to do, GTS.
Bye and Thanks,
José António Silva

"GTS" wrote:
> You're welcome.
> I think using ProgramData is a good solution, but it might be helpful to
> also ask this in the Access and related programming groups.
> --
>
> "José António Silva" <JosAntnioSilva@discussions.microsoft.com> wrote in
> message news:56EF4638-E6F3-4983-A6D2-5B989FB0ADC1@microsoft.com...
> > Thank you very much, GTS. Yes, it could be this. I'll check. But for now,
> > your answer leads me to the other post I've made at the same time, and
> > related with this thread. So, let me ask something more .
> >
> > ---Here is the post---
> > "Hello,
> > I develop some programs with Access 2003 and I deploy them like any other
> > program. However, instead of deploying, among others, an executable main
> > file
> > I have to deploy a mde compiled acess file - Access works like this! I
> > expect
> > that users run this mde file. So, I deploy the mde to c:\program files\my
> > program folder. Again, like any other program.
> > After reading some literature related with Windows Vista I notice some
> > lines
> > about more and more restrictions in updating files inside the program
> > files
> > folder (for security reasons). Taking in account that a mde file is also
> > an
> > Access database, where we can put data (e.g. temporary data) we are
> > updating
> > the mde "all the time". How this can be accomplished with the update
> > restriction tendency I referred above??
> > "
> >
> > So, having in account that an mde could always be changing over the time
> > (e.g., some properties) what policy we should adopt for Vista times?
> > Simply
> > change Program Files for ProgramsData, as you suggest?
> >
> > Thank you, again
> > José António Silva
> >
> >
> >
> > "GTS" wrote:
> >
> >> 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\Pro gram 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@ptd.net> wrote in message
> >> news:cfqdnU9gupspjo_UnZ2dnUVZ_sLinZ2d@ptd.net...
> >> > 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@discussions.microsoft.com> wrote
> >> > in
> >> > message news:4A8C58D9-0AD4-4EBF-892C-D17249B89D33@microsoft.com...
> >> >> 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
> >> >>
> >> >
> >>
> >>
> >>
>
>
>
 
LinkBack Thread Tools Display Modes
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista rootkit issue? All legit software. Open an .wav folder with a few wav files and hard-drive goes 100% endlessly Bob Windows Vista Security 2 12-12-2008 03:17 AM
Program Files folder switched to Pictures Folder type... ontherebound Windows Vista File Management 4 04-16-2008 07:07 PM
Problem deleting vista RC windows folder and program files folder Rob Holmes Windows Vista Administration 0 08-08-2007 07:42 PM
deleting vista RC windows folder and program files folder Rob Holmes Windows Vista File Management 0 08-06-2007 03:52 PM
Program Files folder thinks its a Music style folder, HELP! chopsnsauce Windows XP Help & Support 0 01-06-2004 07:46 PM