Announcement

Collapse
No announcement yet.

Detecting the Start Menu folder under Win NT/2000

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Detecting the Start Menu folder under Win NT/2000

    Does anyone know of a way to detect the Start Menu folder under NT/2000? Under Win 95/98/Me, I can use %WinDir%\Start Menu\Programs\My Program\My Program.lnk. For what I would like to do, this is the only place were I can reliably find a link to finish installation of our program.

    Thanks!

  • #2
    Re: Detecting the Start Menu folder under Win NT/2000

    Hi,
    You could try reading in this registry value:
    "HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\Cur rentVersion\Explorer\Shell Folders\Start Menu" That registry value should contain the path of the START MENU on all WIN OS's, I would test this to make sure but I know that it works properly on WIN 2000 and WIN 98.
    So simply use a READ FROM REGISTRY action to store the path in a variable, and then use that variable to access your shortcut.

    mark.
    MSI Factory The Next Generation Intelligent Setup Builder

    Comment

    Working...
    X