[wpkg-users] Creating a Folder in the Start Menu together with WPKG installed Program

Pendl Stefan stefan.pendl at haidlmair.at
Thu May 26 11:33:25 CEST 2011


>
> > Note: Unfortunately Microsoft has decided to name the
> folders differently for
> > different language editions. So you need to detect the
> correct locations. The
> > script will support English an German but you can easily
> extend it to recognize
> > more languages if you have more.
>
> The answer to this is CSIDL
> (http://msdn.microsoft.com/en-us/library/bb762494%28v=vs.85%29.aspx),
> which of course had to be replaced by somthing else with windows vista
> or older and now it is called KNOWNFOLDERID
> (http://msdn.microsoft.com/en-us/library/dd378457%28v=VS.85%29.aspx).
> Yes, this is called progress :)
>
> Unfortunately, you cannot use this from batch scripting (I usually do
> this from Perl with the Win32::GetFolderPath() function).
>


I have posted some JS scripts to handle short-cut creation to the wiki under utility scripts.

If you are more fluent in VBS, this should get you started.

---
Stefan



More information about the wpkg-users mailing list