Help - Search - Members - Calendar
Full Version: mIRC unattended setup
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   


Google Internet Forums Unattended CD/DVD Guide
EelCapone
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
un4given1
This is a simple one...

Create a REG file with this...
CODE
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 smile.gif

The nice thing about this is that you can include you INI files and anything else you want.
EelCapone
Yep, this does the trick.... It would be neater though to use the installer, i think...
Does anyone know how?
Aaron
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.
un4given1
AaronXP: That's even better...

EelCapone: Just use a packaging software to make an executable.
homiebrah
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.
Phi|
Hi
Does that solution work If I want to use the noname script?
or is there another way?

Thanks in advance biggrin.gif
CoffeeFiend
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...)

CODE
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:

CODE
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.
SiMoNsAyS
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 tongue.gif
Swimming_Bird
..
Drizzt Do'Urden
ok this is all good but. what about the mirc.ink how would u do thisif u put it in the $OEM$ folder???
dkreifus
Use Shortcut.exe
Ctwizzy
Custom Inno Setup installer can do all your shortcuts and even give you an uninstaller.
fanatf1
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 ?
DigeratiPrime
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




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.