Getting old version of program from shortcut

B

Bob Howard

Hi,

While setting up my new laptop (Vista Home Basic), I installed a program I
wrote from my other computer (XP/Pro).

After installation, I discovered I installed an older version, so I created
a new install file, un-installed the program on the laptop, and re-installed
(using the correct version).

But when I double-click the desktop shortcut, I'm getting the old version.

The shortcut is pointing to the proper folder, etc., and the program in
there is definitely the newer version (I've checked and double-checked the
size, timestamp info, etc.).

Is Vista keeping track of the prior version somewhere and do I need to do
something to make it recognize the new version??

bob
 
F

forty-nine

Bob Howard said:
Hi,

While setting up my new laptop (Vista Home Basic), I installed a program I
wrote from my other computer (XP/Pro).

After installation, I discovered I installed an older version, so I
created a new install file, un-installed the program on the laptop, and
re-installed (using the correct version).

But when I double-click the desktop shortcut, I'm getting the old version.

The shortcut is pointing to the proper folder, etc., and the program in
there is definitely the newer version (I've checked and double-checked the
size, timestamp info, etc.).

Is Vista keeping track of the prior version somewhere and do I need to do
something to make it recognize the new version??

bob


delete the shortcut.
Navigate to the correct version.
right click...send to desktop(create shortcut)
That icon must be dead
 
B

Bob Howard

I deleted the shorcut when I un-installed the prior version ... the
re-install put a new shortcut out there!

Anyway, I just did what you suggested and it didn't help.

I'm going to go back to square ONE and see what's going on here.

I should also mention that my program is "comercially available" and I've
previously had a report of the very same issue from a user that tried to
install this under Vista. At that time, I had no Vista computer so I
couldn't try it myself.

But ... I don't even recall which user it was (there are at least a thousand
clients).

bob
 
R

rtk

You can check your virtualstore if you're running UAC. Is your program
compatible with UAC?

rtk
 
B

Bob Howard

Thanks ... sounds like a good lead. I'll have to do some research as I
don't know about "virtualstore" or what UAC means.

My program is actually an Access 2003 MDE ... so the shortcut executes
Access and passes to Access the name of the MDE as a parm.

But I suspect that this is close to the issue --- that it's something unique
to Vista because when I use the same install disk to install the software on
an old Win2K laptop I get the desired result. So this is unique to Vista.

On Vista, I perform the install using the Admin account since it creates a
new folder in c:\Program Files. I attempted my testing in that same
account.

When I logged off and then logged back on under a standard ID (without Admin
priviledges), the application worked fine!

But if I want to run the program using the Admin account, is there any way
to "flush" the virtualstore??

Bob
 
R

rtk

Click the Orb/Start button and type/paste the following in and hit enter:

%userprofile%\AppData\Local\VirtualStore

Inside you'll find up to three folders, Program Files, Programdata and
Windows.

I really don't know much about access, but that might be a good place to
look. If your program is trying to write to the program files directory,
it's actually storing it here.

UAC is involved because it virtualizes writes to these directories for
running programs. The program believes it's written to %programfiles%, but
in reality it's written to the virtualstore. What this means is, you
probably don't want to "flush" these files but instead move them into
program files manually, as appropriate.

rtk
 
H

HeyBub

Bob said:
Hi,

While setting up my new laptop (Vista Home Basic), I installed a
program I wrote from my other computer (XP/Pro).

After installation, I discovered I installed an older version, so I
created a new install file, un-installed the program on the laptop,
and re-installed (using the correct version).

But when I double-click the desktop shortcut, I'm getting the old
version.
The shortcut is pointing to the proper folder, etc., and the program
in there is definitely the newer version (I've checked and
double-checked the size, timestamp info, etc.).

Is Vista keeping track of the prior version somewhere and do I need
to do something to make it recognize the new version??

Find the old version - it's got to be somewhere. Delete it.

Try executing again. Resulting error messages, if any, should provide an
additional clue.
 
B

Bob Howard

Hi again.

I've solved the problem...

In my install package (I use Inno Setup), I failed to set file permissions
for ANY of the files, so they were defaulting to some sort of "private"
usage.

When Vista detected that I was modifying the file, is made a copy of it in
VirtualStore and I was being pointed there from that point onward.

When I deleted my application from VistualStore and corrected the the
install package to include file permissions. I specifyied that they applied
to all users on the computer and that they had modify permission (for those
files that will be modified by someone) or readexec permission (for those
files that are readonly in the application) then everything worked fine!

The application works fine, and I can switch from user to user and there's
nothing being written to VitrualStore ... so everyone's sharing the files
appropriately and the s users all see the same physical files.

GREAT!

Thanks so much ... you pointed me correctly!

bob
 
R

rtk

Glad to hear ya worked out.

rtk

Bob Howard said:
Hi again.

I've solved the problem...

In my install package (I use Inno Setup), I failed to set file permissions
for ANY of the files, so they were defaulting to some sort of "private"
usage.

When Vista detected that I was modifying the file, is made a copy of it in
VirtualStore and I was being pointed there from that point onward.

When I deleted my application from VistualStore and corrected the the
install package to include file permissions. I specifyied that they
applied to all users on the computer and that they had modify permission
(for those files that will be modified by someone) or readexec permission
(for those files that are readonly in the application) then everything
worked fine!

The application works fine, and I can switch from user to user and there's
nothing being written to VitrualStore ... so everyone's sharing the files
appropriately and the s users all see the same physical files.

GREAT!

Thanks so much ... you pointed me correctly!

bob
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top