Jump to content

Recommended Posts

Posted

OK... this is my first attempt at making a true addon....

I decided to try a screensaver addon first......(This screensaver is a little different from the norm...

It has 2 files for it.. 1 is a normal .scr file and the other is a .exe file) Both files need to go in the system32 dir....)

And this also requires a User Name and serial #...

I used Ricks Vista Screensavers addon as sort of a guide.....

I would like someone to check my .ini and .inf files and tell me if this looks ok....

I compressed both the .exe and .scr files inside CoralClock.cab

CoralClockSCR.inf

;ricktendo64

[Version]
signature="$Windows NT$"

[Optional Components]
Coral Clock 3D Screensaver
MyRegTweaks

[DefaultInstall]
AddReg =REGEntries.AddReg
OptionDesc="Coral Clock 3D Screensaver"
Tip ="Coral Clock 3D Screensaver"
Modes =0,1,2,3
CopyFiles =SCR_Files

[Coral Clock 3D Screensaver]
OptionDesc="Coral Clock 3D Screensaver"
Tip ="Coral Clock 3D Screensaver"
Modes =0,1,2,3
CopyFiles =SCR_Files

[SourceDisksNames.x86]
1="Coral Clock 3D Screensaver Files","CoralClock.cab",,"i386"

[DestinationDirs]
SCR_Files = 11

[SourceDisksFiles]
Coral Clock 3D Screensaver.exe =1
Coral Clock 3D Screensaver.scr =1

[SCR_Files]
Coral Clock 3D Screensaver.scr
Coral Clock 3D Screensaver.exe

[MyRegTweaks]
OptionDesc ="Registry Entries"
Tip ="Registry Entries"
Modes =0,1,2,3
AddReg =REGEntries.AddReg

[REGEntries.AddReg]
HKLM,"SOFTWARE\3Planesoft\Coral Clock 3D Screensaver","SerNum",0x0,"3: xxxxxxx-xxxxxxx-xxxxxxx-xxxxxxx-xxxxxxx-xxxxxxx"
HKLM,"SOFTWARE\3Planesoft\Coral Clock 3D Screensaver","RegName",0x0,"3: xxxx xxx xxx"

Entries_CoralClock.ini

;==============================================
; Coral Clock 3D Screensaver Add-On by Reaper |
;==============================================
[general]
builddate=2007/11/04
description=Coral Clock 3D Screensaver.
language=Multilanguage
title=Coral Clock 3D Screensaver
version=1.0.0.5
website=http://www.3planesoft.com/pages/coralclock.html

[sysoc]
Coral Clock 3D Screensaver=ocgen.dll,OcEntry,CoralClockSCR.inf,HIDE,7

[dosnet_files]
d1,CoralClockSCR.inf
d1,CoralClock.cab

[txtsetup_files]
CoralClockSCR.inf = 100,,,,,,,20,0,0
CoralClock.cab = 100,,,,,,_x,,3,3

[i386_compress]
rvmtemp\extracted\CoralClockSCR.inf

Please let me know if there is anything I need to change, or any suggestions you may have...

Thanks for your help on this. I really appreciate it...

Posted

OK lemme explain a little of what stuff does

This section tells windows setup what section the instructions to install are, so it will look for the [Coral Clock 3D Screensaver] and the [MyRegTweaks] section (Delete MyRegTweaks from this and rename the [MyRegTweaks] section Coral Clock 3D Screensaver, also copy the AddReg from it)

[Optional Components]
Coral Clock 3D Screensaver
MyRegTweaks

Rename your .inf and .cab archive to be 8.3 filename compliant CoralClock.cab to CrlClock.cab or something

other than that it all looks good

[Version]
signature="$Windows NT$"

[Optional Components]
Coral Clock 3D Screensaver

[DefaultInstall]
AddReg =REGEntries.AddReg
CopyFiles =SCR_Files

[Coral Clock 3D Screensaver]
OptionDesc="Coral Clock 3D Screensaver"
Tip ="Coral Clock 3D Screensaver"
Modes =0,1,2,3
AddReg =REGEntries.AddReg
CopyFiles =SCR_Files

[SourceDisksNames.x86]
1="Coral Clock 3D Screensaver Files","CrlClock.cab",,"i386"

[DestinationDirs]
SCR_Files = 11

[SourceDisksFiles]
Coral Clock 3D Screensaver.exe =1
Coral Clock 3D Screensaver.scr =1

[SCR_Files]
Coral Clock 3D Screensaver.scr
Coral Clock 3D Screensaver.exe

[REGEntries.AddReg]
HKLM,"SOFTWARE\3Planesoft\Coral Clock 3D Screensaver","SerNum",0x0,"3: xxxxxxx-xxxxxxx-xxxxxxx-xxxxxxx-xxxxxxx-xxxxxxx"
HKLM,"SOFTWARE\3Planesoft\Coral Clock 3D Screensaver","RegName",0x0,"3: xxxx xxx xxx"

;==============================================
; Coral Clock 3D Screensaver Add-On by Reaper |
;==============================================
[general]
builddate=2007/11/04
description=Coral Clock 3D Screensaver.
language=Multilanguage
title=Coral Clock 3D Screensaver
version=1.0.0.5
website=http://www.3planesoft.com/pages/coralclock.html

[sysoc]
Coral Clock 3D Screensaver=ocgen.dll,OcEntry,CrlClock.inf,HIDE,7

[dosnet_files]
d1,CrlClock.inf
d1,CrlClock.cab

[txtsetup_files]
CrlClock.inf = 100,,,,,,,20,0,0
CrlClock.cab = 100,,,,,,_x,,3,3

[i386_compress]
rvmtemp\extracted\CrlClock.inf

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...