mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Feb 2003
Posts: 7
C
carvell Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
C
Joined: Feb 2003
Posts: 7
On previous versions of mIRC, mIRC would work with SSL if the SSL dlls were palced in the $mircdir directory, which on Vista PCs is the Application Data directory.

With 6.35 however, it appears that this no longer works, the dll's have to be in the same directory as mirc.exe.

This is a big problem for scripts (like mine!) that automatically installs the SSL dll's as you can't write to the program files directory, vista won't allow it unless you run mirc with admin rights.

Anyone else experienced this?

Joined: Feb 2003
Posts: 7
C
carvell Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
C
Joined: Feb 2003
Posts: 7
Forgot to mention - if you put the SSL dlls in the $mircdir directory, SSL connections will work once, but when you close mIRC and open it again it won't work anymore.

Joined: Feb 2004
Posts: 206
D
Fjord artisan
Offline
Fjord artisan
D
Joined: Feb 2004
Posts: 206
There is a good reason "vista won't allow it unless you run mirc with admin rights" - it is called Computer Security and has been best practice for a long time in many other operating systems.

I would suggest a review of the design of the script that places the dll's in a place that the use does have permission to write to and access.

Or perhaps, the users should seek permissions of the administrator(s) (as they obviously don't own the machines) to install the dlls in the right place?

However, I am sure other readers of this post will have some additional options for you to try.

Cheers,

DK.


Darwin_Koala

Junior Brat, In-no-cent(r)(tm) and original source of DK-itis!
Joined: Feb 2003
Posts: 7
C
carvell Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
C
Joined: Feb 2003
Posts: 7
Thanks for replying.

That highlights just my problem. Before, mIRC would cope fine with its SSL dlls being in the appdata directory, which any user can write to.

However it now seems that they must be in c:\program files, which rules out any kind of automated installer, or it requires the user to run mIRC as an administrator.

Joined: Feb 2004
Posts: 206
D
Fjord artisan
Offline
Fjord artisan
D
Joined: Feb 2004
Posts: 206
Not quite ... it requires the installer to be run in the administrator context. Which comes down to the design of the installer. Perhaps the person installing only needs to copy the relevant files to the relevant directory (one activity only that needs administrator rights?).

The up side of the enforced security is that not just any old dll or program can be installed willy-nilly.

One thing I can't answer, as I do not play with SSL using mIRC, is whether mIRC really needs the SSL dlls in the global appdata directory, or whether these files can be stored to the user's appdata directory. Different rights required to do this.

Cheers,

DK.


Darwin_Koala

Junior Brat, In-no-cent(r)(tm) and original source of DK-itis!

Link Copied to Clipboard