Archive: Install Directory Prompt


Install Directory Prompt
Hi,

I have situation like this. For NT environments, I need to prompt the user for Installation Folder. For Win2K environment, I need to install in user profile folder directly. I am aware of GetWindowsVersion but not able to utilise that to use !insertmacro MUI_PAGE_DIRECTORY or not.

Can anyone give me extensive inputs on this. Thanks a lot!!!


!define MUI_PAGE_CUSTOMFUNCTION_PRE PrePageDirectory
!insertmacro MUI_PAGE_DIRECTORY

Function PrePageDirectory

;If you call Abort here, the directory page will be skipped
;if you call Return here, the directory page will be shown
FunctionEnd