Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

mIRC unattended setup

- - - - -

  • Please log in to reply
14 replies to this topic

#1
EelCapone

EelCapone

    Newbie

  • Member
  • 18 posts
Anyone know how to do an unattended setup of mIRC? It' should be a 7Zip file, but the -y /q /r:n switches don't work.....


Cheers,
EelCapone


How to remove advertisement from MSFN

#2
un4given1

un4given1

    Elaborate Dreamer

  • Member
  • PipPipPipPipPipPipPip
  • 1,796 posts
This is a simple one...

Create a REG file with this...
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\ChatFile]
@="Chat File"

[HKEY_CLASSES_ROOT\ChatFile\DefaultIcon]
@="\"C:\\Program Files\\mIRC\\mirc.exe\""

[HKEY_CLASSES_ROOT\ChatFile\Shell]

[HKEY_CLASSES_ROOT\ChatFile\Shell\open]

[HKEY_CLASSES_ROOT\ChatFile\Shell\open\command]
@="\"C:\\Program Files\\mIRC\\mirc.exe\" -noconnect"

[HKEY_CLASSES_ROOT\ChatFile\Shell\open\ddeexec]
@="%1"

[HKEY_CLASSES_ROOT\ChatFile\Shell\open\ddeexec\Application]
@="mIRC"

[HKEY_CLASSES_ROOT\ChatFile\Shell\open\ddeexec\ifexec]
@="%1"

[HKEY_CLASSES_ROOT\ChatFile\Shell\open\ddeexec\Topic]
@="Connect"

[HKEY_CLASSES_ROOT\irc]
@="URL:IRC Protocol"
"EditFlags"=hex:02,00,00,00
"URL Protocol"=""

[HKEY_CLASSES_ROOT\irc\DefaultIcon]
@="\"C:\\Program Files\\mIRC\\mirc.exe\""

[HKEY_CLASSES_ROOT\irc\Shell]

[HKEY_CLASSES_ROOT\irc\Shell\open]

[HKEY_CLASSES_ROOT\irc\Shell\open\command]
@="\"C:\\Program Files\\mIRC\\mirc.exe\" -noconnect"

[HKEY_CLASSES_ROOT\irc\Shell\open\ddeexec]
@="%1"

[HKEY_CLASSES_ROOT\irc\Shell\open\ddeexec\Application]
@="mIRC"

[HKEY_CLASSES_ROOT\irc\Shell\open\ddeexec\ifexec]
@="%1"

[HKEY_CLASSES_ROOT\irc\Shell\open\ddeexec\Topic]
@="Connect"

And then copy the mIRC files from c:\program files\mIRC

That's all you need to do :)

The nice thing about this is that you can include you INI files and anything else you want.
What if everything around you, isn't quite as it seems...
What if all the world you used to know, is an elaborate dream...
And if you look at your reflection, Is that all you want to be?
What if you could look right through the cracks, Would you find yourself... find yourself afraid to see?

#3
EelCapone

EelCapone

    Newbie

  • Member
  • 18 posts
Yep, this does the trick.... It would be neater though to use the installer, i think...
Does anyone know how?

#4
Aaron

Aaron

    The MSFN Banana

  • Patrons
  • 5,767 posts
  • OS:Windows 7 x64
  • Country: Country Flag
I've never needed to use the Installer at all. I have a 2 year old mIRC folder which I copied over everytime I formatted, and executing mirc.exe seems to import the relevant registry entries, including the irc:// protocol. The only thing I needed to do is execute a reg file containing my registration information.

#5
un4given1

un4given1

    Elaborate Dreamer

  • Member
  • PipPipPipPipPipPipPip
  • 1,796 posts
AaronXP: That's even better...

EelCapone: Just use a packaging software to make an executable.
What if everything around you, isn't quite as it seems...
What if all the world you used to know, is an elaborate dream...
And if you look at your reflection, Is that all you want to be?
What if you could look right through the cracks, Would you find yourself... find yourself afraid to see?

#6
homiebrah

homiebrah

    You think you know so much.

  • Member
  • PipPipPip
  • 351 posts
In case anyone cares, this is how I do it.

ECHO Installing mIRC 6.1.
mkdir c:\progra~1\mirc
xcopy /e d:\mirc c:\progra~1\mirc
REGEDIT /S d:\mirc\install.reg
ECHO mIRC 6.1 installed.
ECHO.

The install.reg file uses the information provided by un4given1. The serial number gets merged later on as part of one file that registers all of my software at the same time.
Posted Image

#7
Phi|

Phi|

    Newbie

  • Member
  • 14 posts
Hi
Does that solution work If I want to use the noname script?
or is there another way?

Thanks in advance :D

#8
CoffeeFiend

CoffeeFiend

    Coffee Aficionado

  • Super Moderator
  • 5,399 posts
  • OS:Windows 7 x64
  • Country: Country Flag
I add the same as un4given1, and the registration part and also the uninstall infos (because there WILL be a new build in not long from now...)

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\mIRC]
"DisplayName"="mIRC"
"UninstallString"="\"c:\\Program Files\\mIRC\\mirc.exe\" -uninstall"

Easy enough to add and it doesn't hurt (I guess I like to be torough).

oh, the registration part:

REGEDIT4

[HKEY_CURRENT_USER\Software\mIRC\License]
@="XXXX-XXXXXX"
[HKEY_CURRENT_USER\Software\mIRC\UserName]
@="username"

(where username is your registered name and X'es are the actual registration number, of course...)

If you want mirc customizations, just install it all and configure it, then put it in $OEM$\$Progs. Always worked 100% for me.
Coffee: \ˈkȯ-fē, ˈkä-\. noun. Heaven in a cup. Life's only treasure. The meaning of life. Kaffee ist wunderbar. C8H10N4O2 FTW.

#9
SiMoNsAyS

SiMoNsAyS

    C'mon you apes! You wanna live forever!?

  • Patrons
  • 3,455 posts
i personally own a custom script, so my only problem it's to unzip the script onto a no_spaces folder like for example C:\utilities\mirc . mirc reg it's not needed if you run the file mirc32.exe :P

#10
Swimming_Bird

Swimming_Bird

    I want the NHL Back

  • Member
  • PipPipPip
  • 378 posts
..
AIM: laxcmx
MSN: roi_roy@hotmail.com
IRC: Swimming_Bird @ irc.rizon.net

#11
Drizzt Do'Urden

Drizzt Do'Urden
  • Member
  • 3 posts
ok this is all good but. what about the mirc.ink how would u do thisif u put it in the $OEM$ folder???

#12
dkreifus

dkreifus

    dkreifus

  • Member
  • PipPip
  • 292 posts
Use Shortcut.exe
There are 10 kinds of people in this world. Those who understand binary, and those don't.

__________________
Posted Image

#13
Ctwizzy

Ctwizzy

    MSFN Soldier

  • Member
  • PipPip
  • 266 posts
  • OS:none specified
  • Country: Country Flag
Custom Inno Setup installer can do all your shortcuts and even give you an uninstaller.

#14
fanatf1

fanatf1

    Junior

  • Member
  • Pip
  • 89 posts
Mmmm explane please
what difference between

Windows Registry Editor Version 5.00
and
REGEDIT4

is it really serious difference or i can use 5.00 in all files for Win XP SP2 ?

#15
DigeratiPrime

DigeratiPrime

    MSFN Junkie

  • Patrons
  • 3,550 posts
  • OS:Windows 7 x64
  • Country: Country Flag
I reccomend using either X-Chat 2 or Chatzilla.

X-Chat 2 is an Inno Setup and can be installed silently using:
setup.exe /verysilent /sp-

Chatzilla is a Firefox Extension
Recommended Software: KeePass | Microsoft ICE | VisualWget | Vitamin D Video |




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN