Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Can not update the virtualized file

Reply
Thread Tools Display Modes

Can not update the virtualized file

 
 
jcai@precisionsupply.com
Guest
Posts: n/a

 
      02-06-2008

I have an application needed to install on vista machine. First, I hav
to install old version of the application first. Vista creates
virtualized file for the Access database of the application because th
application will read data from and write data into the DB. Then I nee
uninstall the application and install the newer version again. But whe
I uninstall the application, Vista only removes the files in progra
files folder. It doesn't touch the virtualized files. And when I instal
the newer version, the virtualized file for the Access database will no
be overwrited. That means I still get the old information from the D
even though I have install the newer version of application which has
DB with new information. Please Help!!

--

Posted via http://www.vistaheads.co

 
Reply With Quote
 
 
 
 
Ronnie Vernon MVP
Guest
Posts: n/a

 
      02-06-2008
Have you tried deleting that database file from the VirtualStore folder
prior to reinstalling the program?

--

Ronnie Vernon
Microsoft MVP
Windows Desktop Experience


""
<> wrote in
message news:...
>
> I have an application needed to install on vista machine. First, I have
> to install old version of the application first. Vista creates a
> virtualized file for the Access database of the application because the
> application will read data from and write data into the DB. Then I need
> uninstall the application and install the newer version again. But when
> I uninstall the application, Vista only removes the files in program
> files folder. It doesn't touch the virtualized files. And when I install
> the newer version, the virtualized file for the Access database will not
> be overwrited. That means I still get the old information from the DB
> even though I have install the newer version of application which has a
> DB with new information. Please Help!!!
>
>
> --
>
> Posted via http://www.vistaheads.com
>


 
Reply With Quote
 
jcai@precisionsupply.com
Guest
Posts: n/a

 
      02-06-2008

If I delete that database file from the VirtualStore folder prior to
reinstalling the program, the installation will be successful. But I can
not ask all of my users go to the folder and delete the database file
becuase most of them are computer illiterate. Is there any way I can do,
which is in my programming or when they install and uninstall the
application, to delete or overwrite the file in virtualstore folder
automaticlly? So users will not go another step and just put
installation CD into CDrom. Thank you.


--

Posted via http://www.vistaheads.com

 
Reply With Quote
 
Rick Rogers
Guest
Posts: n/a

 
      02-07-2008
I should think you should be add a check routine to the installer's initial
setup to check for the existance of and delete the old database file in the
user %appdata%. You know, a simple 'if exist <path\file> then delete
<path\file> else goto end" sort of statement.

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP
http://mvp.support.microsoft.com/
Windows help - www.rickrogers.org
My thoughts http://rick-mvp.blogspot.com

""
<> wrote in
message news:...
>
> If I delete that database file from the VirtualStore folder prior to
> reinstalling the program, the installation will be successful. But I can
> not ask all of my users go to the folder and delete the database file
> becuase most of them are computer illiterate. Is there any way I can do,
> which is in my programming or when they install and uninstall the
> application, to delete or overwrite the file in virtualstore folder
> automaticlly? So users will not go another step and just put
> installation CD into CDrom. Thank you.
>
>
> --
>
> Posted via http://www.vistaheads.com
>


 
Reply With Quote
 
Ronnie Vernon MVP
Guest
Posts: n/a

 
      02-08-2008
Jcai

Sorry, I didn't realize that you were the developer of this software.

In addition to Rick's advice, here are some links with information that
should interest you.

Go here first for a quick overview on this subject.
Windows Vista Application Development Requirements for User Account Control
(UAC):

http://msdn2.microsoft.com/en-us/library/aa905330.aspx


Download the following document. This includes a complete discussion of the
subject including code examples.
Windows Vista Application Development Requirements for User Account Control
Compatibility:

http://tinyurl.com/2pf8n3


There is also a very comprehensive help file that deals with the subject of
developing applications for a least privilge environment that you can
download here:

http://tinyurl.com/2uh8ve

--

Ronnie Vernon
Microsoft MVP
Windows Desktop Experience


""
<> wrote in
message news:...
>
> If I delete that database file from the VirtualStore folder prior to
> reinstalling the program, the installation will be successful. But I can
> not ask all of my users go to the folder and delete the database file
> becuase most of them are computer illiterate. Is there any way I can do,
> which is in my programming or when they install and uninstall the
> application, to delete or overwrite the file in virtualstore folder
> automaticlly? So users will not go another step and just put
> installation CD into CDrom. Thank you.
>
>
> --
>
> Posted via http://www.vistaheads.com
>


 
Reply With Quote
 
 
 
Reply

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
virtualized files - WTF? Mark Swope Windows Vista General Discussion 1 11-08-2007 05:59 PM
Virtualized krzywomordus Windows Vista General Discussion 20 10-11-2007 02:23 PM
Virtualized Anilkumar K.V Windows Vista File Management 0 12-12-2006 08:41 AM
Virtualized Store??? Chris Moore Windows Vista File Management 0 09-18-2006 06:53 PM
Virtualized registry David Wilkinson Windows Vista General Discussion 2 08-31-2006 12:47 AM



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 47 48 49 50 51 52 53 54 55 56 57 58 59