I try to create some shortcuts into Application Data folder (AppDataFolder variable), which points to C:\Users\<username>\AppData\Roaming, under that, I created Microsoft->Windows->Start Menu->Programs->MyOwnApp...., this whole structure gets successfully created and you can see it from Windows Vista start menu after installation.
However, the shortcut created under MyOwnApp folder, always gets mis-placed into C:\ProgramData\Microsoft\Windows\Start Menu\Programs, which is pointed by the "CommonApplicationData" variable. This is not desirable as C:\ProgramData is not writable to all users without admin privilege.
Is this a bug or there is something I did wrong?
FOLLOW US
Get the latest news in Application Packaging