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

Natxo Asenjo natxo.asenjo at gmail.com
Thu May 26 11:27:23 CEST 2011


On Wed, May 25, 2011 at 8:09 PM, Rainer Meier <r.meier at wpkg.org> wrote:
> Hi Mikhail,

> 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).

-- 
natxo



More information about the wpkg-users mailing list