NSIS内置路径命令详解
$INSTDIR=默认安装路径 !
$PROGRAMFILES=C:\Program Files!
$TEMP=临时文件夹!
$DESKTOP=桌面!
$SYSDIR=C:\WINDOWS\system32!
$EXEDIR=我的文档!
$WINDIR=C:\WINDOWS!
$STARTMENU=相对应用户名称的「开始」菜单;如:C:\Documents and Settings\Administrator\「开始」菜单!
$SMPROGRAMS=相对应用户名称的「开始」菜单\程序;如:C:\Documents and Settings\Administrator\「开始」菜单\程序
$QUICKLAUNCH=相对应用户名称的C:\Documents and Settings\Administrator\Application Data\Microsoft\Internet Explorer\Quick Launch位置!这个位置极少用到。
$COMMONFILES=C:\Program Files\Common Files
$DOCUMENTS=我的文档!
$SENDTO=【发送到】菜单;如:C:\Documents and Settings\Administrator\SendTo
$RECENT=相对应用户名称的“新近菜单”如:C:\Documents and Settings\Administrator\Recent
$FAVORITES=收藏夹;如:C:\Documents and Settings\Administrator\Favorites
$MUSIC=我的音乐;如:C:\Documents and Settings\Administrator\My Documents\My Music
$PICTURES=图片收藏;如:C:\Documents and Settings\Administrator\My Documents\My Pictures
$VIDEOS=我的视频;如:C:\Documents and Settings\Administrator\My Documents\My Videos
$NETHOOD=网上邻居;如:C:\Documents and Settings\Administrator\NetHood
$FONTS=字体文件夹;如:C:\WINDOWS\Fonts
$TEMPLATES=对应的:C:\Documents and Settings\Administrator\Templates
$APPDATA=对应的:C:\Documents and Settings\Administrator\Application Data
$PRINTHOOD=打印机;如:C:\Documents and Settings\Administrator\PrintHood
$INTERNET_CACHE=因特网临时文件夹;如:C:\Documents and Settings\Administrator\Local Settings\Temporary Internet Files
$COOKIES=C:\Documents and Settings\Administrator\My Documents\Cookies是存储登录 Internet的个人信息。
$HISTORY=历史文件夹;如:C:\Documents and Settings\Administrator\Local Settings\History
$PROFILE=个人文档,就是你的用户名!如:C:\Documents and Settings\Administrator
$ADMINTOOLS=C:\Documents and Settings\Administrator\「开始」菜单\程序\管理工具
$RESOURCES=本机主题文件夹;也就是:C:\WINDOWS\Resources
$RESOURCES_LOCALIZED=主题文件夹下级文件夹;如:C:\WINDOWS\Resources\0804
$CDBURN_AREA=CD刻录;需要光驱支持!
$ICONS_GROUP=快捷方式到组;在安装路径里的快捷方式!
$DESKTOP=桌面
$STARTMENU=启动菜单
$SMPROGRAMS=程序菜单
$QUICKLAUNCH=快速启动
$PROGRAMFILES=C:\Program Files!
$TEMP=临时文件夹!
$DESKTOP=桌面!
$SYSDIR=C:\WINDOWS\system32!
$EXEDIR=我的文档!
$WINDIR=C:\WINDOWS!
$STARTMENU=相对应用户名称的「开始」菜单;如:C:\Documents and Settings\Administrator\「开始」菜单!
$SMPROGRAMS=相对应用户名称的「开始」菜单\程序;如:C:\Documents and Settings\Administrator\「开始」菜单\程序
$QUICKLAUNCH=相对应用户名称的C:\Documents and Settings\Administrator\Application Data\Microsoft\Internet Explorer\Quick Launch位置!这个位置极少用到。
$COMMONFILES=C:\Program Files\Common Files
$DOCUMENTS=我的文档!
$SENDTO=【发送到】菜单;如:C:\Documents and Settings\Administrator\SendTo
$RECENT=相对应用户名称的“新近菜单”如:C:\Documents and Settings\Administrator\Recent
$FAVORITES=收藏夹;如:C:\Documents and Settings\Administrator\Favorites
$MUSIC=我的音乐;如:C:\Documents and Settings\Administrator\My Documents\My Music
$PICTURES=图片收藏;如:C:\Documents and Settings\Administrator\My Documents\My Pictures
$VIDEOS=我的视频;如:C:\Documents and Settings\Administrator\My Documents\My Videos
$NETHOOD=网上邻居;如:C:\Documents and Settings\Administrator\NetHood
$FONTS=字体文件夹;如:C:\WINDOWS\Fonts
$TEMPLATES=对应的:C:\Documents and Settings\Administrator\Templates
$APPDATA=对应的:C:\Documents and Settings\Administrator\Application Data
$PRINTHOOD=打印机;如:C:\Documents and Settings\Administrator\PrintHood
$INTERNET_CACHE=因特网临时文件夹;如:C:\Documents and Settings\Administrator\Local Settings\Temporary Internet Files
$COOKIES=C:\Documents and Settings\Administrator\My Documents\Cookies是存储登录 Internet的个人信息。
$HISTORY=历史文件夹;如:C:\Documents and Settings\Administrator\Local Settings\History
$PROFILE=个人文档,就是你的用户名!如:C:\Documents and Settings\Administrator
$ADMINTOOLS=C:\Documents and Settings\Administrator\「开始」菜单\程序\管理工具
$RESOURCES=本机主题文件夹;也就是:C:\WINDOWS\Resources
$RESOURCES_LOCALIZED=主题文件夹下级文件夹;如:C:\WINDOWS\Resources\0804
$CDBURN_AREA=CD刻录;需要光驱支持!
快捷方式
$ICONS_GROUP=快捷方式到组;在安装路径里的快捷方式!
$DESKTOP=桌面
$STARTMENU=启动菜单
$SMPROGRAMS=程序菜单
$QUICKLAUNCH=快速启动
上一篇:NSIS学习笔记(持续更新)
下一篇:c++获取windows程序的版本号