Aim As An Optional Component (oc)
#1
Posted 02 December 2003 - 06:21 PM
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
Posted 02 December 2003 - 08:17 PM
Congrats, sir!
#3
Posted 02 December 2003 - 08:46 PM
-gosh
#4
Posted 02 December 2003 - 09:52 PM
Somehow i would prefer this more, because it would use pure windows components!
Great, gosh!
never stop thinking
#5
Posted 02 December 2003 - 10:34 PM
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
Posted 07 December 2003 - 10:17 PM
#7
Posted 07 December 2003 - 10:29 PM
-gosh
#8
Posted 07 December 2003 - 10:33 PM
#9
Posted 09 December 2003 - 04:09 PM
#11
Posted 23 June 2004 - 04:10 AM
#12
Posted 23 June 2004 - 05:48 AM
-gosh
#13
Posted 30 June 2004 - 12:49 AM
gosh, on Jun 23 2004, 05:48 AM, said:
-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.)
#15
Posted 09 August 2004 - 09:43 PM
gosh, on Jun 30 2004, 01:33 PM, said:
-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?
- ← ASMS Error with PURE KROME's unattended Install
- Unattended Windows 2000/XP/2003
- Multi Disc install not working with SP2? →



Help
Back to top









