Very troubling problems running on Vista Beta

Posted: 03-08-2006, 10:54 PM
If this is the wrong NG to post this please point me to the correct place...

I've had a few people try my VB app on Vista Beta installations. One of the
problems I'm seeing is that my app can't seem to write information to the
installation folder. Yet no error is being raised when it tries to write
out information. As far as the app is concerned there's no problem. I
noticed this when people who tested the app couldn't find the app's log
file. When they send me directory listings of everything in the
installation folder it was clear that there was nothing present that wasn't
put there by the installation utility.

This really has me troubled. I don't have a Vista Beta installation of my
own to test with. My app writes both a log file and the user's data file to
the installation folder by default. Not only that, my app frequently needs
to be updated. I handle this through a utility that downloads the newer
..exe and deletes the old. If it can't download and write out the new .exe
then my app can't be updated! I can handle (though not be happy with) the
need to write both the log and data file to the \Documents and
Settings\(user name)\Application Data\ folder if Microsoft forces me to do
so. But if the app can't be updated I'm really in a world of hurt.

Has anyone else encountered this problem? Anyone know why an app would not
be allowed to write data to its installation folder yet not get an error
from Vista when it isn't allowed to do so?



Reply With Quote

Responses to "Very troubling problems running on Vista Beta"

Andre Da Costa [Extended64]
Guest
Posts: n/a
 
Re: Very troubling problems running on Vista Beta
Posted: 03-08-2006, 11:18 PM
Hopefully though, someone might have an answer here, so stick around, Zack
might be able to help.
--
--
Andre
Windows Connect | http://www.windowsconnected.com
Extended64 | http://www.extended64.com
Blog | http://www.extended64.com/blogs/andre
http://spaces.msn.com/members/adacosta

"Dan" <Dan@NoSpam.com> wrote in message
news:foOdnUbwsNcx_ZLZnZ2dnUVZ_tudnZ2d@comcast.com. ..
> If this is the wrong NG to post this please point me to the correct
> place...
>
> I've had a few people try my VB app on Vista Beta installations. One of
> the problems I'm seeing is that my app can't seem to write information to
> the installation folder. Yet no error is being raised when it tries to
> write out information. As far as the app is concerned there's no problem.
> I noticed this when people who tested the app couldn't find the app's log
> file. When they send me directory listings of everything in the
> installation folder it was clear that there was nothing present that
> wasn't put there by the installation utility.
>
> This really has me troubled. I don't have a Vista Beta installation of my
> own to test with. My app writes both a log file and the user's data file
> to the installation folder by default. Not only that, my app frequently
> needs to be updated. I handle this through a utility that downloads the
> newer .exe and deletes the old. If it can't download and write out the
> new .exe then my app can't be updated! I can handle (though not be happy
> with) the need to write both the log and data file to the \Documents and
> Settings\(user name)\Application Data\ folder if Microsoft forces me to
> do so. But if the app can't be updated I'm really in a world of hurt.
>
> Has anyone else encountered this problem? Anyone know why an app would
> not be allowed to write data to its installation folder yet not get an
> error from Vista when it isn't allowed to do so?
>
>
>

Reply With Quote
Andre Da Costa [Extended64]
Guest
Posts: n/a
 
Re: Very troubling problems running on Vista Beta
Posted: 03-08-2006, 11:17 PM
This is really a developer issue, its best if you post it at the following
link:
http://forums.microsoft.com/msdn/sho...d=120&siteid=1
--
--
Andre
Windows Connect | http://www.windowsconnected.com
Extended64 | http://www.extended64.com
Blog | http://www.extended64.com/blogs/andre
http://spaces.msn.com/members/adacosta

"Dan" <Dan@NoSpam.com> wrote in message
news:foOdnUbwsNcx_ZLZnZ2dnUVZ_tudnZ2d@comcast.com. ..
> If this is the wrong NG to post this please point me to the correct
> place...
>
> I've had a few people try my VB app on Vista Beta installations. One of
> the problems I'm seeing is that my app can't seem to write information to
> the installation folder. Yet no error is being raised when it tries to
> write out information. As far as the app is concerned there's no problem.
> I noticed this when people who tested the app couldn't find the app's log
> file. When they send me directory listings of everything in the
> installation folder it was clear that there was nothing present that
> wasn't put there by the installation utility.
>
> This really has me troubled. I don't have a Vista Beta installation of my
> own to test with. My app writes both a log file and the user's data file
> to the installation folder by default. Not only that, my app frequently
> needs to be updated. I handle this through a utility that downloads the
> newer .exe and deletes the old. If it can't download and write out the
> new .exe then my app can't be updated! I can handle (though not be happy
> with) the need to write both the log and data file to the \Documents and
> Settings\(user name)\Application Data\ folder if Microsoft forces me to
> do so. But if the app can't be updated I'm really in a world of hurt.
>
> Has anyone else encountered this problem? Anyone know why an app would
> not be allowed to write data to its installation folder yet not get an
> error from Vista when it isn't allowed to do so?
>
>
>

Reply With Quote
Dan
Guest
Posts: n/a
 
Re: Very troubling problems running on Vista Beta
Posted: 03-08-2006, 11:53 PM
"Andre Da Costa [Extended64]" <andred25@hotmail.com> wrote in message
news:uqyc0ZwQGHA.6084@TK2MSFTNGP10.phx.gbl...
> This is really a developer issue, its best if you post it at the following
> link:
> http://forums.microsoft.com/msdn/sho...d=120&siteid=1
Thank you for the link!


Reply With Quote
Chris Altmann
Guest
Posts: n/a
 
Re: Very troubling problems running on Vista Beta
Posted: 03-08-2006, 11:17 PM
It could be related to File (and Registry) Virtualization.

Quote from
http://windowsconnected.com/blogs/je.../12/19/86.aspx :

When an application attempts to do something "bad" like write to an INI file
like "C:\Program Files\PoorlyBehavedApp\Options.ini", Windows will detect
that the user's token does not grant them access to save to that location.
Instead, it will copy the existing file (if it already exists) to
"C:\Users\<your_account>\AppData\Local\VirtualStor e\Program
Files\PoorlyBehavedApp\Options.ini". It will then allow the write operation
to succeed to this new file in the VirtualStore folder. Subsequent read
operations for that file will always preferentially use the copy in the
VirtualStore. Here's a simplified flow chart outlining these read and write
operations.

"Dan" <Dan@NoSpam.com> wrote in message
news:foOdnUbwsNcx_ZLZnZ2dnUVZ_tudnZ2d@comcast.com. ..
> If this is the wrong NG to post this please point me to the correct
> place...
>
> I've had a few people try my VB app on Vista Beta installations. One of
> the problems I'm seeing is that my app can't seem to write information to
> the installation folder. Yet no error is being raised when it tries to
> write out information. As far as the app is concerned there's no problem.
> I noticed this when people who tested the app couldn't find the app's log
> file. When they send me directory listings of everything in the
> installation folder it was clear that there was nothing present that
> wasn't put there by the installation utility.
>
> This really has me troubled. I don't have a Vista Beta installation of my
> own to test with. My app writes both a log file and the user's data file
> to the installation folder by default. Not only that, my app frequently
> needs to be updated. I handle this through a utility that downloads the
> newer .exe and deletes the old. If it can't download and write out the
> new .exe then my app can't be updated! I can handle (though not be happy
> with) the need to write both the log and data file to the \Documents and
> Settings\(user name)\Application Data\ folder if Microsoft forces me to
> do so. But if the app can't be updated I'm really in a world of hurt.
>
> Has anyone else encountered this problem? Anyone know why an app would
> not be allowed to write data to its installation folder yet not get an
> error from Vista when it isn't allowed to do so?
>
>
>

Reply With Quote
Steve Foster [SBS MVP]
Guest
Posts: n/a
 
Re: Very troubling problems running on Vista Beta
Posted: 03-08-2006, 11:39 PM
Dan wrote:
>If this is the wrong NG to post this please point me to the correct
>place...
>
>I've had a few people try my VB app on Vista Beta installations. One of
>the problems I'm seeing is that my app can't seem to write information to
>the installation folder. Yet no error is being raised when it tries to
>write out information. As far as the app is concerned there's no problem.
> I noticed this when people who tested the app couldn't find the app's log file. When they send me directory listings of everything in the installation folder it was clear that there was nothing present that wasn't put there by the installation utility.
>
>This really has me troubled. I don't have a Vista Beta installation of my
>own to test with. My app writes both a log file and the user's data file
>to the installation folder by default. Not only that, my app frequently
>needs to be updated. I handle this through a utility that downloads the
>newer .exe and deletes the old. If it can't download and write out the
>new .exe then my app can't be updated! I can handle (though not be happy
>with) the need to write both the log and data file to the \Documents and
>Settings\(user name)\Application Data\ folder if Microsoft forces me to
>do so. But if the app can't be updated I'm really in a world of hurt.
>
>Has anyone else encountered this problem? Anyone know why an app would
>not be allowed to write data to its installation folder yet not get an
>error from Vista when it isn't allowed to do so?
Vista has mechanisms to automatically redirect writes to an application
folder to a folder within the user's own space. So you should find the log
files have been auto-relocated to somewhere deep within \Users\<username>.

I don't know about application updates - but I imagine that MS have
something in place for this scenario too.

It's all part of the UAP/LUA stuff - since users generally should not be
running with administrative privileges, they don't have the right to write
to an application's own folder, ergo an application loaded by them has the
same restriction.

--
Steve Foster [SBS MVP]
---------------------------------------
MVPs do not work for Microsoft. Please reply only to the newsgroups.
Reply With Quote
Zack Whittaker \(R2 Mentor\)
Guest
Posts: n/a
 
Re: Very troubling problems running on Vista Beta
Posted: 03-09-2006, 12:33 AM
> I don't know about application updates - but I imagine that MS have
> something in place for this scenario too.
You can do this using Visual Studio 2005, and the "Publish" settings of your
application. You can configure your applications to look on a web server to
download the latest build of your product - it's really easy to set up, and
with Windows Server 2003 running with IIS, work's an absolute treat.
> It's all part of the UAP/LUA stuff - since users generally should not be
> running with administrative privileges, they don't have the right to write
> to an application's own folder, ergo an application loaded by them has the
> same restriction.
Couldn't have said it better myself ) So yeh, if you can get TechNet or
TechNet Plus, you can then get yourself a copy of Vista to test with. If you
check out the UAP Guidelines,
http://www.microsoft.com/technet/win...at/uaprot.mspx -
you might find that useful.

All the best )

--
Zack Whittaker
Microsoft Beta (Windows Server R2 Beta Mentor)
» ZackNET Enterprises: www.zacknet.co.uk
» MSBlog on ResDev: http://msblog.resdev.net
» ZackNET Forum: www.zacknet.co.uk/forum
» VistaBase: www.zacknet.co.uk/vistabase
» This mailing is provided "as is" with no warranties, and confers no
rights. All opinions expressed are those of myself unless stated so, and not
of my employer, best friend, mother or cat. Let's be clear on that one!


--- Original message follows ---
"Steve Foster [SBS MVP]" <steve.foster@picamar.co.uk> wrote in message
news:xn0eji09yb6wqt001y@msnews.microsoft.com...
> Dan wrote:
>
>>If this is the wrong NG to post this please point me to the correct
>>place...
>>
>>I've had a few people try my VB app on Vista Beta installations. One of
>>the problems I'm seeing is that my app can't seem to write information to
>>the installation folder. Yet no error is being raised when it tries to
>>write out information. As far as the app is concerned there's no problem.
>>I noticed this when people who tested the app couldn't find the app's log
>>file. When they send me directory listings of everything in the
>>installation folder it was clear that there was nothing present that
>>wasn't put there by the installation utility.
>>
>>This really has me troubled. I don't have a Vista Beta installation of my
>>own to test with. My app writes both a log file and the user's data file
>>to the installation folder by default. Not only that, my app frequently
>>needs to be updated. I handle this through a utility that downloads the
>>newer .exe and deletes the old. If it can't download and write out the
>>new .exe then my app can't be updated! I can handle (though not be happy
>>with) the need to write both the log and data file to the \Documents and
>>Settings\(user name)\Application Data\ folder if Microsoft forces me to
>>do so. But if the app can't be updated I'm really in a world of hurt.
>>
>>Has anyone else encountered this problem? Anyone know why an app would
>>not be allowed to write data to its installation folder yet not get an
>>error from Vista when it isn't allowed to do so?
>
> Vista has mechanisms to automatically redirect writes to an application
> folder to a folder within the user's own space. So you should find the log
> files have been auto-relocated to somewhere deep within \Users\<username>.
>
> I don't know about application updates - but I imagine that MS have
> something in place for this scenario too.
>
> It's all part of the UAP/LUA stuff - since users generally should not be
> running with administrative privileges, they don't have the right to write
> to an application's own folder, ergo an application loaded by them has the
> same restriction.
>
> --
> Steve Foster [SBS MVP]
> ---------------------------------------
> MVPs do not work for Microsoft. Please reply only to the newsgroups.

Reply With Quote
Andre Da Costa [Extended64]
Guest
Posts: n/a
 
Re: Very troubling problems running on Vista Beta
Posted: 03-09-2006, 01:06 AM
Is it that thing called Click Once? I remember Microsoft pushing it a lot at
PDC 2003.
--
--
Andre
Windows Connect | http://www.windowsconnected.com
Extended64 | http://www.extended64.com
Blog | http://www.extended64.com/blogs/andre
http://spaces.msn.com/members/adacosta

"Zack Whittaker (R2 Mentor)" <admin@zacknet.co.uk> wrote in message
news:%23XGS2ExQGHA.5728@tk2msftngp13.phx.gbl...
>> I don't know about application updates - but I imagine that MS have
>> something in place for this scenario too.
>
> You can do this using Visual Studio 2005, and the "Publish" settings of
> your application. You can configure your applications to look on a web
> server to download the latest build of your product - it's really easy to
> set up, and with Windows Server 2003 running with IIS, work's an absolute
> treat.
>
>> It's all part of the UAP/LUA stuff - since users generally should not be
>> running with administrative privileges, they don't have the right to
>> write to an application's own folder, ergo an application loaded by them
>> has the same restriction.
>
> Couldn't have said it better myself ) So yeh, if you can get TechNet or
> TechNet Plus, you can then get yourself a copy of Vista to test with. If
> you check out the UAP Guidelines,
> http://www.microsoft.com/technet/win...at/uaprot.mspx -
> you might find that useful.
>
> All the best )
>
> --
> Zack Whittaker
> Microsoft Beta (Windows Server R2 Beta Mentor)
> » ZackNET Enterprises: www.zacknet.co.uk
> » MSBlog on ResDev: http://msblog.resdev.net
> » ZackNET Forum: www.zacknet.co.uk/forum
> » VistaBase: www.zacknet.co.uk/vistabase
> » This mailing is provided "as is" with no warranties, and confers no
> rights. All opinions expressed are those of myself unless stated so, and
> not
> of my employer, best friend, mother or cat. Let's be clear on that one!
>
>
> --- Original message follows ---
> "Steve Foster [SBS MVP]" <steve.foster@picamar.co.uk> wrote in message
> news:xn0eji09yb6wqt001y@msnews.microsoft.com...
>> Dan wrote:
>>
>>>If this is the wrong NG to post this please point me to the correct
>>>place...
>>>
>>>I've had a few people try my VB app on Vista Beta installations. One of
>>>the problems I'm seeing is that my app can't seem to write information to
>>>the installation folder. Yet no error is being raised when it tries to
>>>write out information. As far as the app is concerned there's no
>>>problem. I noticed this when people who tested the app couldn't find the
>>>app's log file. When they send me directory listings of everything in
>>>the installation folder it was clear that there was nothing present that
>>>wasn't put there by the installation utility.
>>>
>>>This really has me troubled. I don't have a Vista Beta installation of
>>>my own to test with. My app writes both a log file and the user's data
>>>file to the installation folder by default. Not only that, my app
>>>frequently needs to be updated. I handle this through a utility that
>>>downloads the newer .exe and deletes the old. If it can't download and
>>>write out the new .exe then my app can't be updated! I can handle
>>>(though not be happy with) the need to write both the log and data file
>>>to the \Documents and Settings\(user name)\Application Data\ folder if
>>>Microsoft forces me to do so. But if the app can't be updated I'm really
>>>in a world of hurt.
>>>
>>>Has anyone else encountered this problem? Anyone know why an app would
>>>not be allowed to write data to its installation folder yet not get an
>>>error from Vista when it isn't allowed to do so?
>>
>> Vista has mechanisms to automatically redirect writes to an application
>> folder to a folder within the user's own space. So you should find the
>> log files have been auto-relocated to somewhere deep within
>> \Users\<username>.
>>
>> I don't know about application updates - but I imagine that MS have
>> something in place for this scenario too.
>>
>> It's all part of the UAP/LUA stuff - since users generally should not be
>> running with administrative privileges, they don't have the right to
>> write to an application's own folder, ergo an application loaded by them
>> has the same restriction.
>>
>> --
>> Steve Foster [SBS MVP]
>> ---------------------------------------
>> MVPs do not work for Microsoft. Please reply only to the newsgroups.
>
>

Reply With Quote
Zack Whittaker \(R2 Mentor\)
Guest
Posts: n/a
 
Re: Very troubling problems running on Vista Beta
Posted: 03-09-2006, 10:08 AM
Kinda yeh... I didn't want to say it because it's not directly that as
such... but weaves into it yeh.

--
Zack Whittaker
Microsoft Beta (Windows Server R2 Beta Mentor)
» ZackNET Enterprises: www.zacknet.co.uk
» MSBlog on ResDev: http://msblog.resdev.net
» ZackNET Forum: www.zacknet.co.uk/forum
» VistaBase: www.zacknet.co.uk/vistabase
» This mailing is provided "as is" with no warranties, and confers no
rights. All opinions expressed are those of myself unless stated so, and not
of my employer, best friend, mother or cat. Let's be clear on that one!


--- Original message follows ---
"Andre Da Costa [Extended64]" <andred25@hotmail.com> wrote in message
news:uzaKrWxQGHA.5584@TK2MSFTNGP12.phx.gbl...
> Is it that thing called Click Once? I remember Microsoft pushing it a lot
> at PDC 2003.
> --
> --
> Andre
> Windows Connect | http://www.windowsconnected.com
> Extended64 | http://www.extended64.com
> Blog | http://www.extended64.com/blogs/andre
> http://spaces.msn.com/members/adacosta
>
> "Zack Whittaker (R2 Mentor)" <admin@zacknet.co.uk> wrote in message
> news:%23XGS2ExQGHA.5728@tk2msftngp13.phx.gbl...
>>> I don't know about application updates - but I imagine that MS have
>>> something in place for this scenario too.
>>
>> You can do this using Visual Studio 2005, and the "Publish" settings of
>> your application. You can configure your applications to look on a web
>> server to download the latest build of your product - it's really easy to
>> set up, and with Windows Server 2003 running with IIS, work's an absolute
>> treat.
>>
>>> It's all part of the UAP/LUA stuff - since users generally should not be
>>> running with administrative privileges, they don't have the right to
>>> write to an application's own folder, ergo an application loaded by them
>>> has the same restriction.
>>
>> Couldn't have said it better myself ) So yeh, if you can get TechNet or
>> TechNet Plus, you can then get yourself a copy of Vista to test with. If
>> you check out the UAP Guidelines,
>> http://www.microsoft.com/technet/win...at/uaprot.mspx -
>> you might find that useful.
>>
>> All the best )
>>
>> --
>> Zack Whittaker
>> Microsoft Beta (Windows Server R2 Beta Mentor)
>> » ZackNET Enterprises: www.zacknet.co.uk
>> » MSBlog on ResDev: http://msblog.resdev.net
>> » ZackNET Forum: www.zacknet.co.uk/forum
>> » VistaBase: www.zacknet.co.uk/vistabase
>> » This mailing is provided "as is" with no warranties, and confers no
>> rights. All opinions expressed are those of myself unless stated so, and
>> not
>> of my employer, best friend, mother or cat. Let's be clear on that one!
>>
>>
>> --- Original message follows ---
>> "Steve Foster [SBS MVP]" <steve.foster@picamar.co.uk> wrote in message
>> news:xn0eji09yb6wqt001y@msnews.microsoft.com...
>>> Dan wrote:
>>>
>>>>If this is the wrong NG to post this please point me to the correct
>>>>place...
>>>>
>>>>I've had a few people try my VB app on Vista Beta installations. One of
>>>>the problems I'm seeing is that my app can't seem to write information
>>>>to the installation folder. Yet no error is being raised when it tries
>>>>to write out information. As far as the app is concerned there's no
>>>>problem. I noticed this when people who tested the app couldn't find the
>>>>app's log file. When they send me directory listings of everything in
>>>>the installation folder it was clear that there was nothing present that
>>>>wasn't put there by the installation utility.
>>>>
>>>>This really has me troubled. I don't have a Vista Beta installation of
>>>>my own to test with. My app writes both a log file and the user's data
>>>>file to the installation folder by default. Not only that, my app
>>>>frequently needs to be updated. I handle this through a utility that
>>>>downloads the newer .exe and deletes the old. If it can't download and
>>>>write out the new .exe then my app can't be updated! I can handle
>>>>(though not be happy with) the need to write both the log and data file
>>>>to the \Documents and Settings\(user name)\Application Data\ folder if
>>>>Microsoft forces me to do so. But if the app can't be updated I'm
>>>>really in a world of hurt.
>>>>
>>>>Has anyone else encountered this problem? Anyone know why an app would
>>>>not be allowed to write data to its installation folder yet not get an
>>>>error from Vista when it isn't allowed to do so?
>>>
>>> Vista has mechanisms to automatically redirect writes to an application
>>> folder to a folder within the user's own space. So you should find the
>>> log files have been auto-relocated to somewhere deep within
>>> \Users\<username>.
>>>
>>> I don't know about application updates - but I imagine that MS have
>>> something in place for this scenario too.
>>>
>>> It's all part of the UAP/LUA stuff - since users generally should not be
>>> running with administrative privileges, they don't have the right to
>>> write to an application's own folder, ergo an application loaded by them
>>> has the same restriction.
>>>
>>> --
>>> Steve Foster [SBS MVP]
>>> ---------------------------------------
>>> MVPs do not work for Microsoft. Please reply only to the newsgroups.
>>
>>
>
>

Reply With Quote
Dan
Guest
Posts: n/a
 
Re: Very troubling problems running on Vista Beta
Posted: 03-09-2006, 03:01 AM
"Zack Whittaker (R2 Mentor)" <admin@zacknet.co.uk> wrote in message
news:%23XGS2ExQGHA.5728@tk2msftngp13.phx.gbl...
>> I don't know about application updates - but I imagine that MS have
>> something in place for this scenario too.
>
> You can do this using Visual Studio 2005, and the "Publish" settings of
> your application. You can configure your applications to look on a web
> server to download the latest build of your product - it's really easy to
> set up, and with Windows Server 2003 running with IIS, work's an absolute
> treat.
Unfortunately I'm not developing with .NET. But how does this help even if
I were? Are you saying the "publish" settings of my .NET app causes Vista
to allow it access to write to the installation folder?
>> It's all part of the UAP/LUA stuff - since users generally should not be
>> running with administrative privileges, they don't have the right to
>> write to an application's own folder, ergo an application loaded by them
>> has the same restriction.
>
> Couldn't have said it better myself ) So yeh, if you can get TechNet or
> TechNet Plus, you can then get yourself a copy of Vista to test with.
Unfortunately, I don't have a spare PC to install it to. I guess I'll have
to cough up the money for a new development machine just to test Vista on.
> check out the UAP Guidelines,
> http://www.microsoft.com/technet/win...at/uaprot.mspx -
> you might find that useful.
Thanks! I'll have a look.


Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may 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
Battlefield 2 running on vista beta 2? Tim D Windows Vista Games 9 09-28-2006 06:30 PM
Running Virtual Server R2 on Windows Vista RC Loopback problems Mauro Servienti Windows Vista Networking & Sharing 0 09-11-2006 03:57 PM
Vista beta 2 - running very choppy jdlockhart Windows Vista Performance & Maintenance 2 06-16-2006 07:33 PM
problems running Fifa 2006 Armin Windows Vista Games 2 06-15-2006 11:01 AM
Instalation problems with Vista Beta 2 Windows Vista Mail 3 06-13-2006 08:40 PM