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
"rtk" <> wrote in message
news:48C5AB90-7F81-44AF-A77A-...
> 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
>
> "Bob Howard" <> wrote in message
> news:...
>> 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
>>
>>
>> "rtk" <> wrote in message
>> news:1BB6CD4F-C24B-4084-B11F-...
>>> You can check your virtualstore if you're running UAC. Is your program
>>> compatible with UAC?
>>>
>>> rtk
>>>
>>> "Bob Howard" <> wrote in message
>>> news:em2#...
>>>> 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
>>>>
>>>> "forty-nine" <> wrote in message
>>>> news:...
>>>>> "Bob Howard" <> wrote in message
>>>>> news:...
>>>>>> 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
>>>>
>>>>
>>
>>
|