i have to create from within a kind of setup program (with admin rights) a shortcut to the desktop of a users pointing to a UNC path . searching of something like: shortcut <from file> <to path> < working directory> is there a class within the framework - i may have missed :-) - capable to provide the functionality? regards -- PG
>i have to create from within a kind of setup program (with admin rights) a >shortcut to the desktop of a users pointing to a UNC path . What's a "kind of setup program"? If you're using MSI it should have built in support for creating shortcuts. Mattias -- Mattias Sjgren [C# MVP] mattias @ mvps.org http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com Please reply only to the newsgroup.
Hi Mattias, There is no chance for using MSI in this case. I am just looking for a .NET class providing this link feature for filesystem objects. (I am avare of the Windows API - but try hard to avoid using it!) Regards PitG -- PG "Mattias Sjögren" wrote: > > >i have to create from within a kind of setup program (with admin rights) a > >shortcut to the desktop of a users pointing to a UNC path . > > What's a "kind of setup program"? If you're using MSI it should have > built in support for creating shortcuts. > > > Mattias > > -- > Mattias Sjögren [C# MVP] mattias @ mvps.org > http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com > Please reply only to the newsgroup. >