Guest Cartoper Posted March 4, 2009 Posted March 4, 2009 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? Quote
Guest Jesper Ravn Posted March 4, 2009 Posted March 4, 2009 "Cartoper" <cartoper@gmail.com> skrev i meddelelsen news:5a0a3bd2-2f0d-45f7-80c5-4531392093af@m36g2000vbp.googlegroups.com...<span style="color:blue"> > 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?</span> 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/article.php/11087_3695651_1 /Jesper Quote
Guest Sam Hobbs Posted March 5, 2009 Posted March 5, 2009 See: http://social.msdn.microsoft.com/Forums/en...category/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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.