Chinaunix首页 | 论坛 | 博客
  • 博客访问: 588402
  • 博文数量: 208
  • 博客积分: 3286
  • 博客等级: 中校
  • 技术积分: 1780
  • 用 户 组: 普通用户
  • 注册时间: 2007-09-24 20:38
文章分类

全部博文(208)

文章存档

2012年(7)

2011年(28)

2010年(21)

2009年(76)

2008年(65)

2007年(11)

我的朋友

分类:

2009-03-27 16:26:48

AdminAskPath

InstallShield 2009 » InstallScript Language Reference

The AdminAskPath function displays a dialog that prompts the end user to enter the path to a destination location for an administrative installation (when the end user runs an InstallScript MSI project Setup.exe with the /a argument).

Syntax

AdminAskPath ( szMsg, szDefaultPath, svResultPath );

Parameters

AdminAskPath Parameters 

Parameter

Description

szMsg

Specifies the message to display in this dialog. To display the default instructions for this dialog, pass a null string ("") in this parameter.

szDefaultPath

Specifies the default path to display in the edit field. The end user can modify this string. The default implementation of OnAdminInstallUIBefore passes INSTALLDIR in this parameter.

svResultPath

Returns the resulting path, regardless of whether the user accepts the default path, modifies it, or selects an alternate path from the Choose Folder dialog. The default implementation of OnAdminInstallUIBefore passes INSTALLDIR in this parameter.

Return Values

AdminAskPath Return Values 

Return Value

Description

NEXT (1)

Indicates that the user clicked the Next button.

BACK (12)

Indicates that the user clicked the Back button.

Additional Information

AdminAskPath uses the same dialog resources as AskPath. Therefore, any changes you make to the layout of AskPath in the Dialog Editor will be reflected in AdminAskPath.

See Also

阅读(519) | 评论(0) | 转发(0) |
0

上一篇:AddProfString

下一篇:AskDestPath

给主人留下些什么吧!~~