Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista security

Vista - How to write software for Vista

Reply
 
Old 03-04-2009   #1 (permalink)
Cartoper


 
 

How to write software for Vista

Oh, I have an application that violates the Vista security polity. I
want to fix it so it complies... I want to have my cake and eat it
too.

Originally before I started to clean things up for Vista, all the data
was written to the Program Files. Now I use the application data
directory. I have two issues with this, one is that program needs to
run as Admin to write to that folder and the other is that there is
only one for the whole system.

1: How do I solve the multiple versions issues? I have seen where in
the .Net, the version is appended to the application data directory,
the only solution I can think of is to simply store my data there, if
the data isn’t there, go up one level and find the next newest version
folder and use that to get going. Is there a better way?

2: Needing to run as Admin, I don’t want to use the user data
directory because this is more of a server application and I want
folks to be able to log in as different users and have access to all
the same configuration. Is there a solution to this or do I need to
get over it?

Does Microsoft have a guild out there that might be useful to me?

My System SpecsSystem Spec
Old 03-04-2009   #2 (permalink)
Jesper Ravn


 
 

Re: How to write software for Vista

"Cartoper" <cartoper@xxxxxx> skrev i meddelelsen
news:5a0a3bd2-2f0d-45f7-80c5-4531392093af@xxxxxx
Quote:

> Oh, I have an application that violates the Vista security polity. I
> want to fix it so it complies... I want to have my cake and eat it
> too.
>
> Originally before I started to clean things up for Vista, all the data
> was written to the Program Files. Now I use the application data
> directory. I have two issues with this, one is that program needs to
> run as Admin to write to that folder and the other is that there is
> only one for the whole system.
>
> 1: How do I solve the multiple versions issues? I have seen where in
> the .Net, the version is appended to the application data directory,
> the only solution I can think of is to simply store my data there, if
> the data isn’t there, go up one level and find the next newest version
> folder and use that to get going. Is there a better way?
>
> 2: Needing to run as Admin, I don’t want to use the user data
> directory because this is more of a server application and I want
> folks to be able to log in as different users and have access to all
> the same configuration. Is there a solution to this or do I need to
> get over it?
>
> Does Microsoft have a guild out there that might be useful to me?
Hi

Please have look at the link below. There is also refenrece to Microsoft
TechNet.
Making a Pre-Vista Application Vista Compliant
http://www.developer.com/net/net/art...1087_3695651_1

/Jesper

My System SpecsSystem Spec
Old 03-04-2009   #3 (permalink)
Sam Hobbs


 
 

Re: How to write software for Vista

See: http://social.msdn.microsoft.com/For...ategory/windev

I removed all the message I am replying to because when I replied, the
original message did not get the line prefix (such as ">") that indicates
the original text.

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Directory where my software is installed must permit write access Vista General
The disk is write-protected. Remove the write-protection or... Vista General
write my own conversion software Vista music pictures video
Installing software, getting unable to write to registry errors Vista security
Why can my app write successfully to HKLM\Software under Vista? Vista security


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

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