用Installshield将指定文件安装到某一个指定的目录的方法:
Scripts下:
在
Dlg_Start: 后加入下面一行。
ComponentSetTarget(MEDIA,"<DEFAULT_TARGET_FOLDER>","c:");
在指定目录时在Script-defined Folders下增加一个<DEFAULT_TARGET_FOLDER>即可实现你的要求。
this is script-defined target folder ,use this method will let your set target dir in installation time ..
in installshield help file ,is say ,you must create a sub-folder under script-defined folder .
but is not necesary .