inf脚本验证没反应不知为什么???
脚本内容如下:
HKLM,SOFTWARE/Microsoft/Windows/CurrentVersion/Runonce/Setup,"INF",,"RunDll32.exe"%01%"/advpack.dll,LaunchINFSection Mysetup.inf,DefaultInstall2"
[DefaultInstallX]
[DefaultInstall]
AddReg=AdvSetup
[DefaultInstall2]
CopyFiles=拷贝到用户指定目录,拷贝到Windows/System子目录, ......
CustomDestination=My-path
[SourceDisksNames]
1="文件所在目录",,0
[SourceDisksFiles]
MyApp.exe=1,,1021
MyApp.dll=1,,1021
Ass_1.dll=1,,1021
Ass_2.dll=1,,1021
[DestinationDirs]
拷贝到用户指定目录=49000
拷贝到Windows/System子目录=11
[My-path]
49000,49001,49002,49003=index-again,1
[index-again]
"","","",""默认安装到"C:/MyApp"目录,可选择"","%30%/MyApp"
[拷贝到用户指定目录]
MyApp.exe
[拷贝到Windows/System子目录]
Ass_1.dll
Ass_2.dll