I'd like to integrate InstallDriver.exe into the installer of my own (commercial) application (is that allowed by the licence?)
Does it support a command line switch to run silently (i.e. displays no success message at the end)?
InstallDriver.exe silent?
Re: InstallDriver.exe silent?
Urm, I guess its allowed - there is no license other than that that comes with InpOut32 (which I didn't write so I cant really comment)....
But why would you want to do this. The point of InstallDriver is just to ensure that the driver is run from an elevated process the first time its run (to ensure it has permissions to install). You don't even need it if UAC id not running....
So I would think it best if you could do this from your own installation?
Thanks,
Phil
But why would you want to do this. The point of InstallDriver is just to ensure that the driver is run from an elevated process the first time its run (to ensure it has permissions to install). You don't even need it if UAC id not running....
So I would think it best if you could do this from your own installation?
Thanks,
Phil
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
Re: InstallDriver.exe silent?
Thanks for your answer.
But how do i install the driver from my own setup?
Shall i just call copy inpout32.dll to /system32/ and call any function in it so that the driver installs itself?
But how do i install the driver from my own setup?
Shall i just call copy inpout32.dll to /system32/ and call any function in it so that the driver installs itself?
Re: InstallDriver.exe silent?
All InstallDriver does is call the Open function on the InpOut DLL.
When the DLL is called, if the driver is not installed it does so automatically. The only reason for InstallDriver.exe is to "force" administrative privileges.
So, the easy solution is, from your install (which I assume will be running as admin) you can call the DLL's open function yourself which will install the driver.
If your interested, the (C#) source for installdriver is available on my website in the source for 1.2.0.0. Your welcome to do whatever you want with it to make it do what you want if you dont want to call the DLL yourself - or just use it as an example
Thanks,
Phil
When the DLL is called, if the driver is not installed it does so automatically. The only reason for InstallDriver.exe is to "force" administrative privileges.
So, the easy solution is, from your install (which I assume will be running as admin) you can call the DLL's open function yourself which will install the driver.
If your interested, the (C#) source for installdriver is available on my website in the source for 1.2.0.0. Your welcome to do whatever you want with it to make it do what you want if you dont want to call the DLL yourself - or just use it as an example
Thanks,
Phil
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
Re: InstallDriver.exe silent?
Thanks Phil, that helps.