Hi,
i am trying to run this command from nsis:
execwait '"C:\windows\system32\control.exe" bthprops.cpl'
Nothing happens, if i youse a different cpl. e.g. powercfg.cpl it works.
I also tried to use the rundll32.exe like here:
same result, i can open powercfg.cpl with nsis like:
RunDll32.exe shell32.dll,Control_RunDLL powercfg.cpl
but if it try to run:
RunDll32.exe shell32.dll,Control_RunDLL bthprops.cpl it won´t work.
If i use "run" or type the command in a dos box e.g. contro.exe bthprops.cpl it works.
Why isn´t it working with NSIS? Maybe a 32 / 64 Bit Issue?
The aim is, to open the "add device / add bluetooth device" Dialog-box. I can not use the add printer dialog this causes errors on the printe.
exec rundll32.exe / control.exe bthprops.cpl
7 posts
Running "control bthprops.cpl" in a command prompt does nothing for me, tested on Windows 8 64 and 32 bit. Maybe because I have disabled Bluetooth?
Bluetooth is not listed @ https://msdn.microsoft.com/en-us/lib...(v=vs.85).aspx either.
Bluetooth is not listed @ https://msdn.microsoft.com/en-us/lib...(v=vs.85).aspx either.
I got no response (at first) from this command
C:\Users\Donald\My Documents>C:\windows\system32\control.exe bthprops.cpl
But when I enable Bluetooth that command brings up the Manage Bluetooth devices settings page. ("control bthprops.cpl" also worked).
I'm running Windows 10 Pro x64.
C:\Users\Donald\My Documents>C:\windows\system32\control.exe bthprops.cpl
But when I enable Bluetooth that command brings up the Manage Bluetooth devices settings page. ("control bthprops.cpl" also worked).
I'm running Windows 10 Pro x64.
ahilf, try :
Exec 'explorer.exe shell:::{28803F59-3A75-4058-995F-4EE5503B023C}'
and
Exec 'rundll32.exe bthprops.cpl , , ,BluetoothDisplayDeviceProperties'
Exec 'explorer.exe shell:::{28803F59-3A75-4058-995F-4EE5503B023C}'
and
Exec 'rundll32.exe bthprops.cpl , , ,BluetoothDisplayDeviceProperties'
It works! Thank you very much - Where can i find a List of Parameter for bthprops.cpl ?
Add Device
Hello, i can call different Dialog Boxes via shell from NSIS. I am looking for the "Add Device" Dialog like shown in the screenshot, it´s not listet in the file for Shell commands, i found.
I call: explorer.exe shell:::{A8A91A66-3A7D-4424-8D24-04E180695C7A}
and then i have to click on "Add Device" / Gerät hinzufügen.
I´d like to avoid this click and Open the Dialog "Add Device" at once. Is it possible?
Any hints?
( WIN7 64 Bit)
Thanks!
Hello, i can call different Dialog Boxes via shell from NSIS. I am looking for the "Add Device" Dialog like shown in the screenshot, it´s not listet in the file for Shell commands, i found.
I call: explorer.exe shell:::{A8A91A66-3A7D-4424-8D24-04E180695C7A}
and then i have to click on "Add Device" / Gerät hinzufügen.
I´d like to avoid this click and Open the Dialog "Add Device" at once. Is it possible?
Any hints?
( WIN7 64 Bit)
Thanks!
ahilf, try command :
devicepairingwizard
devicepairingwizard