flat assembler
Message board for the users of flat assembler.

Index > Windows > [Solved] How to create a directory in folder 'start Menu'

Author
Thread Post new topic Reply to topic
machinecoder



Joined: 07 Apr 2013
Posts: 27
machinecoder 07 Jun 2013, 23:38
I have written a program to download my newest creation, its working for most people who have tested it but !, my problem is as follows:

On some computers (I think only Vista) my Prog wont create a folder in the 'start menu' as in some OS' the 'start menu' is a hidden folder.

I need to create a program / start menu short cut to my App.


And before you ask, yes I have UAC manifest for admin access.
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="requireAdministrator" uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>

My question is: what is the best most failsafe way to create a folder in the 'start menu' and im wondering if the SECURITY_DESCRIPTOR has something to do with it ?

I really need some help !!!


Last edited by machinecoder on 18 Aug 2013, 13:30; edited 1 time in total
Post 07 Jun 2013, 23:38
View user's profile Send private message Reply with quote
comrade



Joined: 16 Jun 2003
Posts: 1150
Location: Russian Federation
comrade 08 Jun 2013, 07:27
Creating a Start Menu folder for the local user should not require Administrator privileges.

You should leave the SECURITY_DESCRIPTOR as NULL to let the new folder inherit the parent's security.

Please share out the actual piece of code where you attempt to create the folder.
Post 08 Jun 2013, 07:27
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.