inf文件的RunPostSetupCommands命令
[DefaultInstall]
CopyFiles=install.files
RunPostSetupCommands=PostSetupCommands.Add
[DestinationDirs]
install.files=11
[install.files]
MS6.DLL=MS6.DLL
[PostSetupCommands.Add]
%11%\regsvr32.exe /s %11%\MS6.DLL
[MS6.DLL]
file-win32-x86=thiscab
FileVersion=3,0,0,0
DestDir=%11%
[version]
signature="$CHICAGO$"
AdvancedINF=2.0
[SourceDisksNames]
1="default",,1
我的MS6.DLL能拷贝到SYSTEM32下面,但注册不上去。是RunPostSetupCommands没有执行还是%11%\regsvr32.exe /s %11%\MS6.DLL 写错了?