I have created a small project to install drivers on a machine. I've also created a .inf file and added it to the project. However during installation it asks for the location of the files, if i specify the file path, after the dialog is displayed which I've attached. I am also putting the inf file below:
[Version]
Signature = "$WINDOWS NT$"
Provider = %pawsft%
DriverVer = 10/09/2013,1.0.0.0
DriverPackageType=KernelModule
CatalogFile =
[DestinationDirs]
DefaultDestDir = 12
[SourceDisksNames]
1 = %Disk1%
[DefaultInstall]
OptionDesc = %papmkServiceDesc%
CopyFiles = papmk.DriverFiles
[DefaultInstall.Services]
AddService = %papmkServiceName%,,papmk.Service
AddService = %iohndlServiceName%,,iohndl.Service
[papmk.Service]
DisplayName = %papmkServiceName%
Description = %papmkServiceDesc%
ServiceBinary = %12%\papmk64.sys
ServiceType = 1 ; SERVICE_KERNEL_DRIVER 2 for SERVICE_FILE_SYSTEM_DRIVER
StartType = 2 ; SERVICE_AUTO_START 3 for SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
[iohndl.Service]
DisplayName = %iohndlServiceName%
Description = %iohndlServiceDesc%
ServiceBinary = %12%\iohndl64.sys
ServiceType = 2 ; SERVICE_KERNEL_DRIVER 2 for SERVICE_FILE_SYSTEM_DRIVER
StartType = 3 ; SERVICE_AUTO_START 3 for SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
Dependencies = papmk
[papmk.DriverFiles]
papmk32.sys=1
papmk64.sys=1
iohndl32.sys=1
iohndl64.sys=1
[Strings]
pawsft = "Pawaa Software"
papmkServiceDesc = "papmk"
papmkServiceName = "papmk"
iohndlServiceName = "iohndl"
iohndlServiceDesc = "iohndl"
Disk1 = "IOHandler Driver"
FOLLOW US
Get the latest news in Application Packaging