assign driver to COM ports
Hi,
I'm working on a package where an driver is installed with. It is an "generic NULL modem" driver. The installation itself is no problem but the customer now demands to assign this driver to all avaiable COM ports right after installation.
The usual way to go is:
Control Panel > Phone and Modem options > Give Location Code > Select Modem Tab > Add > Select from List > Select "Generic NULL Modem" > All ports > Next > Finish
But the customer demand this action done programaticly and silent by the setup (from MSI) mostly because of an restricted environment where most user only have default user rights.
Is there any way to archive this?
I researched for the last few hours and stumbled upon DIFxApp. But the installation of my driver is no problem, it is only the configuration / assignment to COM ports.
I'm working on a package where an driver is installed with. It is an "generic NULL modem" driver. The installation itself is no problem but the customer now demands to assign this driver to all avaiable COM ports right after installation.
The usual way to go is:
Control Panel > Phone and Modem options > Give Location Code > Select Modem Tab > Add > Select from List > Select "Generic NULL Modem" > All ports > Next > Finish
But the customer demand this action done programaticly and silent by the setup (from MSI) mostly because of an restricted environment where most user only have default user rights.
Is there any way to archive this?
I researched for the last few hours and stumbled upon DIFxApp. But the installation of my driver is no problem, it is only the configuration / assignment to COM ports.
0 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
anonymous_9363
14 years ago
Posted by:
Jay Am
14 years ago
I've already searched for 'VBscript comport', 'WMI com port', *vbscript serial port', 'assign driver serial port' and so on ...
Seems you can only read status and attributes of com port via WMI, eventually disable an etablished com port. But there seems no way to assign an installed modem driver to avaiable com ports.
Then I tried to capture the changes made by assigning the com ports in control panel. There I got a regfile but it doesnt change anything if I merge it to the registry after cleaning the com ports.
Seems you can only read status and attributes of com port via WMI, eventually disable an etablished com port. But there seems no way to assign an installed modem driver to avaiable com ports.
Then I tried to capture the changes made by assigning the com ports in control panel. There I got a regfile but it doesnt change anything if I merge it to the registry after cleaning the com ports.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.