MSFN Forum: Aim As An Optional Component (oc) - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Aim As An Optional Component (oc) Rate Topic: -----

#1 User is offline   gosh 

  • gosh 2.0
  • Group: Patrons
  • Posts: 2,347
  • Joined: 03-October 03
  • OS:none specified
  • Country: Country Flag

Posted 02 December 2003 - 06:21 PM

Lately installing aim has been frustrating. For one, it adds a ton of advertising crap all over the system. I made a batch file to remove all of it, but every once in awhile AOL changes the name of the advertising so i gotta do it all again. It also changes the homepage and other crap. For another, sometimes it doesn't install during my unattended install.

So what i did was make aim an Optional component installed by default. I also changed the start menu group to Instant Messenging (IM), that way i can install AIM, windows messenger, trillion all under the same start menu group if i want to. It also can be uninstalled/install in add/remove windows components.

To use, download aimoc.inf and put it in your i386 folder.

In dosnet.inf put this:

d1,aimoc.inf
d1,aim.cab

Add this to txtsetup.sif:

aimoc.inf = 1,,,,,,,20,0,0
aim.cab = 100,,,,,,_x,,3,3

I put all the files in aim.cab. I decided to not upload this file, but it's very easy to make.

First install AIM. Second, delete any files you don't want. Third run iexpress, on the 2nd screen pick 'create compressed files only', add every file in program files\aim (including sub folders) to the cab, and save the file as aim.cab, and put it in your i386 folder.

That's it. By default aim will be installed, you don't need to use an unattend file. Please read aimoc.inf first for the known issues.

Edit: I forgot to add that you need to extrat sysoc.inf and add this line:

aimoc=ocgen.dll,OcEntry,aimoc.inf,,7

I also added this information to aimoc.inf

-gosh


#2 User is offline   6yr0sc0p3 

  • Newbie
  • Group: Members
  • Posts: 44
  • Joined: 10-November 03

Posted 02 December 2003 - 08:17 PM

Woww! Can you also post your inf (if you made one) for the famous IM starting with the letter "T"??? :)
Congrats, sir!

#3 User is offline   gosh 

  • gosh 2.0
  • Group: Patrons
  • Posts: 2,347
  • Joined: 03-October 03
  • OS:none specified
  • Country: Country Flag

Posted 02 December 2003 - 08:46 PM

Trillian? Sorry i only made an inf for aim, but it would be easy to make trillian an optional component (messenger already is).

-gosh

#4 User is offline   6yr0sc0p3 

  • Newbie
  • Group: Members
  • Posts: 44
  • Joined: 10-November 03

Posted 02 December 2003 - 09:52 PM

This is amazing if it really works with Sysocmgr.exe, dont you know some way to invoke that during windows installer GUI? (like it was in the beta version). This would make other approaches (like the installs.exe project) almost pointless. Even if we can invoke it, how can we stop the install process? Where can you define something to run in setup which stops until you dont exit?
Somehow i would prefer this more, because it would use pure windows components!

Great, gosh!
never stop thinking

#5 User is offline   gosh 

  • gosh 2.0
  • Group: Patrons
  • Posts: 2,347
  • Joined: 03-October 03
  • OS:none specified
  • Country: Country Flag

Posted 02 December 2003 - 10:34 PM

What do you mean if it works? I've tested this in 3 clean installs and it works fine.

It would be very easy to script this. All you do is ask the user if they AIM installed, whatever they say you save it as a variable (such as %aim%). Then you write the unattend file using aimoc=%aim%.

-gosh

#6 User is offline   aKaFrEE 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 357
  • Joined: 21-October 01

Posted 07 December 2003 - 10:17 PM

how did you get the AIM folder to hold its directory structure? because i was thinking about that when i created the .cab file, so when it was done i extracted it to a folder and there were no subdirectories....

#7 User is offline   gosh 

  • gosh 2.0
  • Group: Patrons
  • Posts: 2,347
  • Joined: 03-October 03
  • OS:none specified
  • Country: Country Flag

Posted 07 December 2003 - 10:29 PM

You don't extract the cab file, the inf does. The cab file won't have any sub directories.

-gosh

#8 User is offline   aKaFrEE 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 357
  • Joined: 21-October 01

Posted 07 December 2003 - 10:33 PM

i was just doing this because i was curious as to whether stuff like the sound files would be moved back to their respective directories (eg aim/sounds)

#9 User is offline   gosh 

  • gosh 2.0
  • Group: Patrons
  • Posts: 2,347
  • Joined: 03-October 03
  • OS:none specified
  • Country: Country Flag

Posted 09 December 2003 - 04:09 PM

Thanks to XtremeMaC I now have a place where you can download aim.cab from.

aimoc.inf

aim.cab

Using both files will let you install aim as an optional component by default for XP or Server 2003.

-gosh

#10 User is offline   earthMachine 

  • Group: Members
  • Posts: 4
  • Joined: 09-December 03

Posted 09 December 2003 - 10:12 PM

Good Job, Gosh :)

#11 User is offline   DarkPhoenix 

  • Codename: Kirby
  • PipPip
  • Group: Members
  • Posts: 201
  • Joined: 30-May 04

Posted 23 June 2004 - 04:10 AM

This thread is old, I know, but the idea still seems neat, and so I was wondering if this INF still works with the newest AIM.. so.. does anyone know? Does anyone still use this method? :)

#12 User is offline   gosh 

  • gosh 2.0
  • Group: Patrons
  • Posts: 2,347
  • Joined: 03-October 03
  • OS:none specified
  • Country: Country Flag

Posted 23 June 2004 - 05:48 AM

the aim inf will always work as long as you have the same files.

-gosh

#13 User is offline   captdilly 

  • Newbie
  • Group: Members
  • Posts: 19
  • Joined: 12-October 03

Posted 30 June 2004 - 12:49 AM

gosh, on Jun 23 2004, 05:48 AM, said:

the aim inf will always work as long as you have the same files.

-gosh

The AIM .inf will also work with DeadAIM, as long as you modify the .INF a little bit to include the serial number and stuff in the registry, and of course put in the additional DeadAIM files. (This is fantastic by the way, thanks Gosh.)

#14 User is offline   gosh 

  • gosh 2.0
  • Group: Patrons
  • Posts: 2,347
  • Joined: 03-October 03
  • OS:none specified
  • Country: Country Flag

Posted 30 June 2004 - 01:33 PM

Great, im glad people still use this :)

-gosh

#15 User is offline   captdilly 

  • Newbie
  • Group: Members
  • Posts: 19
  • Joined: 12-October 03

Posted 09 August 2004 - 09:43 PM

gosh, on Jun 30 2004, 01:33 PM, said:

Great, im glad people still use this :)

-gosh

Gosh, perhaps you can help me out with why this isn't putting stuff in my start menu when I install it. Here's my aimoc.inf
[Version]
Signature=$CHICAGO$

;	aimoc.inf
;	Optional component for AOL Instant Messenger (AIM)
;	by gosh
;
;	To use, put aimoc.inf and aim.cab in your i386 folder.  By default aim will be installed.
;	To change this, add a semi-colon to Modes.
;
;	Add these 2 lines to dosnet.inf:
;	d1,aimoc.inf
;	d1,aim.cab
;
;	Add these 2 lines to txtsetup.sif:
;
;	aimoc.inf = 1,,,,,,,20,0,0 
;	aim.cab = 100,,,,,,_x,,3,3 
;
;	Add this line to sysoc.inf (you'll need to extract it)
;
;	aimoc=ocgen.dll,OcEntry,aimoc.inf,,7
;
;	Known Issues:
;	
;	1 - When you uninstall AIM, the AIM folder and 3 subfolders still remain.
;	2 - When you uninstall AIM, your AIM info will be deleted.  To avoid this remove the DelReg command.
;	3 - This inf will NOT delete any existing AIM start menu groups.
;	4 - When installed it uses a start menu group called Instant Messenging (IM).
;	5 - When uninstalled aimres.dll and msvcr70.dll are left behind, this is intentional.
;	6 - Make sure AIM is closed when uninstalling, otherwise some files will remain.
;	7 - You do NOT have to do an unattended install for this to work.

[Optional Components]
aimoc

[aimoc]
OptionDesc  = Aim
Tip 	 = "Use AOL Instant Messenger"
IconIndex  = *, ..\aimres.dll, 13
AddReg 	 = add_registry
CopyFiles  = aim, aim1, aim2, aim3, aim4, aim5
PROFILEITEMS  = create.aimgroup, create.shortcut1
Uninstall  = Uninstall
Modes 	 = 0,1,2,3;installed by default
SizeApproximation	= 800000

[Uninstall]
DelReg 	 = delete_registry
DelFiles  = aim, aim1, aim2, aim3
ProfileItems  = delete.aimgroup

[SourceDisksNames.x86]
1="AIM for Windows XP","aim.cab",,"i386"

[DestinationDirs]
aim	= 16422,Aim
aim1	= 16422,Aim\Resources
aim2	= 16422,Aim\Sounds
aim3	= 16422,Aim\Sysfiles
aim4	= 10
aim5	= 11

[SourceDisksFiles]
Admin.ocm=1
advert.ocm=1
aim.exe=1
aim.odl=1
aim95.CNT=1
AIM95.HLP=1
aimalert.gif=1
aimapi.dll=1
aimauto.exe=1
aimax.dll=1
AimCoreSvcs.dll=1
AimRes.dll=1
AimSecondarySvcs.dll=1
aimtalk.dll=1
AlertUI.ocm=1
ate32.dll=1
ateima32.dll=1
browse.ocm=1
buddyui.ocm=1
ChatUI.ocm=1
chksign.dll=1
coolbos.dll=1
coolbucky.dll=1
coolhttp.dll=1
coolpeer.dll=1
coolsecnss.dll=1
coolsocket.dll=1
coolsos.dll=1
csh.dll=1
dBenderC.dll=1
dunzip32.dll=1
icbmftvc.lst=1
icbmui.ocm=1
idlemon.dll=1
inetsocket.dll=1
jga0aol.dll=1
jga1aol.dll=1
jgataol.dll=1
jgedaol.dll=1
jgs2aol.dll=1
jgs3aol.dll=1
jgseaol.dll=1
jgtkaol.dll=1
licens32.txt=1
locateui.ocm=1
miscui.ocm=1
netwait.odl=1
nspr4.dll=1
nss3.dll=1
nssckbi.dll=1
NTP.ocm=1
oscarui.dll=1
osclogin.ocm=1
OscMail.ocm=1
oscmain.ocm=1
osconfig.ocm=1
oscore.dll=1
oscres.dll=1
OscSrch.ocm=1
Patcher.dll=1
Patcher.exe=1
plc4.dll=1
plds4.dll=1
popup.ocm=1
PopupShim.dll=1
ProgressDlg.dll=1
proto.ocm=1
rvapps.ocm=1
rvappstm.lst=1
SendFile.exe=1
ShareFile.exe=1
smime3.dll=1
softokn3.dll=1
ssl3.dll=1
startup.ocm=1
stats.ocm=1
StatsShim.dll=1
stockalert.gif=1
ticker.ocm=1
wndutils.dll=1
xmlparse.dll=1
Xpcs Registry.dat=1
xpcs.dll=1
xprt.dll=1
xptl.dll=1
Standard.arf=1
cashregister.wav=1
dooropen.wav=1
doorslam.wav=1
imrcv.wav=1
imsend.wav=1
moo.wav=1
newalert.wav=1
newmail.wav=1
phone.wav=1
ring.wav=1
talkbeg.wav=1
talkend.wav=1
talkstop.wav=1
imagehlp.dll=1
msvcr70.dll=1
AIM_xmlp.dll=1
BL_Games.htm=1
DANotes.txt=1
DAThnk.dap=1
DeadAIM.ocm=1
LogManager.exe=1
testgame.htm=1
rtvideo.dll=1
[aim]
Admin.ocm
advert.ocm
aim.exe
aim.odl
aim95.CNT
AIM95.HLP
AIM_xmlp.dll
aimalert.gif
aimapi.dll
aimauto.exe
aimax.dll
AimCoreSvcs.dll
AimRes.dll
AimSecondarySvcs.dll
aimtalk.dll
AlertUI.ocm
ate32.dll
ateima32.dll
BL_Games.htm
browse.ocm
buddyui.ocm
ChatUI.ocm
chksign.dll
coolbos.dll
coolbucky.dll
coolhttp.dll
coolpeer.dll
coolsecnss.dll
coolsocket.dll
coolsos.dll
csh.dll
DANotes.txt
DAThnk.dap
dBenderC.dll
DeadAIM.ocm
dunzip32.dll
icbmftvc.lst
icbmui.ocm
idlemon.dll
inetsocket.dll
jga0aol.dll
jga1aol.dll
jgataol.dll
jgedaol.dll
jgs2aol.dll
jgs3aol.dll
jgseaol.dll
jgtkaol.dll
licens32.txt
locateui.ocm
LogManager.exe
miscui.ocm
netwait.odl
nspr4.dll
nss3.dll
nssckbi.dll
NTP.ocm
oscarui.dll
osclogin.ocm
OscMail.ocm
oscmain.ocm
osconfig.ocm
oscore.dll
oscres.dll
OscSrch.ocm
Patcher.dll
Patcher.exe
plc4.dll
plds4.dll
popup.ocm
PopupShim.dll
ProgressDlg.dll
proto.ocm
rtvideo.dll
rvapps.ocm
rvappstm.lst
SendFile.exe
ShareFile.exe
smime3.dll
softokn3.dll
ssl3.dll
startup.ocm
stats.ocm
StatsShim.dll
stockalert.gif
testgame.htm
ticker.ocm
wndutils.dll
xmlparse.dll
Xpcs Registry.dat
xpcs.dll
xprt.dll
xptl.dll


[aim1]
Standard.arf

[aim2]
cashregister.wav
dooropen.wav
doorslam.wav
imrcv.wav
imsend.wav
moo.wav
newalert.wav
newmail.wav
phone.wav
ring.wav
talkbeg.wav
talkend.wav
talkstop.wav

[aim3]
imagehlp.dll
msvcr70.dll

[aim4]
aimres.dll

[aim5]
msvcr70.dll

[add_registry]
HKCU,"Software\America Online\AOL Instant Messenger (TM)\CurrentVersion\AutoUpgrade","VersionType",0x00010001,1
HKCU,"Software\America Online\AOL Instant Messenger (TM)\CurrentVersion\AutoUpgrade","COUNTRY",,,"AI"
HKCU,"Software\America Online\AOL Instant Messenger (TM)\CurrentVersion\Misc","NoExitConfirmDlg",0x00010001,1
HKCU,"Software\America Online\AOL Instant Messenger (TM)\CurrentVersion\Misc","ShowAimTodayWindow",0x00010001,0
HKCU,"Software\America Online\AOL Instant Messenger (TM)\CurrentVersion\Startup","Connection type",0x00010001,2
HKCU,"Software\America Online\AOL Instant Messenger (TM)\CurrentVersion\Startup","AutoLaunchOff",0x00010001,1
HKCU,"\Software\JDennis\DeadAIM\",,,
HKLM,"Software\JDennis\DeadAIM","Email",,"XXXXXXXXXXXXXXX"

[delete_registry]
HKCU,"Software\America Online\AOL Instant Messenger (TM)"
HKLM,"SOFTWARE\America Online\AOL Instant Messenger"

[create.aimgroup]
Name = "AOL Instant Messenger",0x00000004

[create.shortcut1]
Name = "Aim"
CmdLine = 16422,Aim,aim.exe
SubDir = "AOL Instant Messenger"

[delete.aimgroup]
Name = "AOL Instant Messenger",0x00000006


Also it's not installing automatically, even though I edited my sysoc.inf
aimoc=ocgen.dll,OcEntry,aimoc.inf,,7

Should I change the number at the end or what?

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy