Jump to content

Installing through inf files


Worf

Recommended Posts

Hi.

I have created an inf and Cab file and inserted the information into Sysoc, Txtseup and Dosnet but it does not seem to run and install the files. Is there something i am missing or doing wrong?

Many Thanks

Worf

INF File

[Version]
Signature="$WINDOWS NT$"
Product=%product%
Version=%version%

[DefaultInstall]
Copyfiles=DestGrp,DestGrp1
AddReg=Add.Reg.ntx86

[Optional Components]
LClock

[DestinationDirs]
DestGrp=10,"LC"
DestGrp1=10,"LC\Lang"

[SourceDisksNames]
1=%DiskName%,LCLOCK.CAB,0

[SourceDisksFiles]
lcmenu.txt=1
Aerobtn.bmp=1
AeroCL.bmp=1
Calendar.dll=1
Calendar.ini=1
Events.ini=1
LC.dll=1
LClock.exe=1
LClock.ini=1

[DestGrp]
Aerobtn.bmp
AeroCL.bmp
Calendar.dll
Calendar.ini
Events.ini
LC.dll
LClock.exe
LClock.ini

[DestGrp1]
lcmenu.txt

[Add.Reg.ntx86]
HKCU,""Software\Microsoft\Windows\CurrentVersion\Run","LClock",0,"%10%\%LC%\lclock.exe"" /HIDE"
HKLM,""Software\Microsoft\Windows\CurrentVersion\Run","LClock",0,"%10%\%LC%\lclock.exe"" /HIDE"
HKU,""Software\Microsoft\Windows\CurrentVersion\Run","LClock",0,"%10%\%LC%\lclock.exe"" /HIDE"

[Strings]
Product="lclock"
Version="1.0"
DiskName="lclock, Setup Disk #1"

Syssoc.inf


[Version]

Signature = "$Windows NT$"

DriverVer=07/01/2001,5.1.2600.5503



[Components]

K=KOC.dll,KOCSetupProc,KOC.inf,HIDE,7

NtComponents=ntoc.dll,NtOcSetupProc,,4

WBEM=ocgen.dll,OcEntry,wbemoc.inf,hide,7

Display=desk.cpl,DisplayOcSetupProc,,7

NetOC=netoc.dll,NetOcSetupProc,netoc.inf,,7

com=comsetup.dll,OcEntry,comnt5.inf,hide,7

dtc=msdtcstp.dll,OcEntry,dtcnt5.inf,hide,7

IndexSrv_System = setupqry.dll,IndexSrv,setupqry.inf,,7

TerminalServer=TsOc.dll, HydraOc, TsOc.inf,hide,2

msmq=msmqocm.dll,MsmqOcm,msmqocm.inf,,6

fp_extensions=fp40ext.dll,FrontPage4Extensions,fp40ext.inf,,7

RootAutoUpdate=ocgen.dll,OcEntry,rootau.inf,,7

IEAccess=ocgen.dll,OcEntry,ieaccess.inf,,7

OEAccess=ocgen.dll,OcEntry,oeaccess.inf,,7

WMPOCM=ocgen.dll,OcEntry,wmpocm.inf,,7

AccessUtil=ocgen.dll,OcEntry,accessor.inf,,7

MultiM=ocgen.dll,OcEntry,multimed.inf,HIDE,7

nLite = ocgen.dll,OcEntry,nLite.inf,HIDE,7

LClock = ocgen.dll,OcEntry,LClock.inf,HIDE,7 <--------



[Global]

WindowTitle=%WindowTitle%

WindowTitle.StandAlone="*"



[Strings]

WindowTitle="Windows Professional Setup"

WindowTitle_Standalone="Windows Components Wizard"

TxtSeup

lclock.inf = 1,,,,,,,20,0,0

lclock.cab = 1,,,,,,_x,,3,3

DosNet

d1,lclock.inf
d1,lclock.cab

Edited by Yzöwl
Code tags added
Link to comment
Share on other sites


You are missing a couple entries in you INF file, if you look at a couple of these tutorials you will see

How to make a Theme AddOn

How to make a Program AddOn

You also have to fix [sourceDisksNames] (add x86 and also fix whats bellow it) and you really dont need all them Run entries, one will do

I also have a couple lclock addons you can probably borrow the INF's and edit them a bit (LClocks)

Edited by ricktendo64
Link to comment
Share on other sites

Thank you Rick, downloading now although the speed is very slow, only managing 94 bytes/sec download on your Lclock.

Also i am a great fan of you work, more so your sidebar add on. Keep up the good work.

Regards

Worf

Link to comment
Share on other sites

Yep that sure is slow, the download time for the advanced inf was over an hour. I did a search on google for it and found it.

Also i did what you said and change some of the things and added some missing entries, now it worked, the LClock installed.

Going to try and make another inf for y-shadow.

Thanks again Rick

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...