Jump to content
ricktendo

[Video] How to make a INF Program addon

Recommended Posts

Hi Ricktendo64, your tutorials are great & your knowledge of infs is astounding. Just wondering if it's possible to make an office 2007 addon in the same manner that you demonstrate in the videos with imgburn. I am about to give it a try even though it has been done before as it is for my own xp install CD.

Thanks for all the information you make available.

Share this post


Link to post
Share on other sites
Guest

hi friend

i have problem on create shortcut,when the target file have space in the file name dont create shortcut.and make link to

target file and open folder.so please help on this.


[dektop]
Name = Show Desktop
CmdLine = 16422,"Utilities\ShowDesktop",Show Desktop.exe
SubDir = Utilities
WorkingDir = 16422,Utilities,ShowDesktop
InfoTip = "Show Desktop button and Aero Peek"

complete inf


[Version]
Signature=$Windows NT$
[Defaultinstall]
CopyFiles = CopyShowdes,CopyShowdesC
Addreg = ShowDesktop.addreg
ProfileItems = dektop
[Optional Components]
notepad
[Notepad]
OptionDesc = "ShowDesktop For XP"
Tip = "ShowDesktop"
Modes = 0,1,2,3
CopyFiles = CopyShowdes,CopyShowdesC
Addreg = ShowDesktop.addreg
ProfileItems = dektop
[SourceDisksNames.x86]
1="Notepad2 Install Files","ShowDe.cab",,"i386"
[DestinationDirs]
CopyShowdes = 16422,"Utilities\ShowDesktop"
CopyShowdesC = 16412,"Ceiiular\Show_Desktop.exe_Url_cszrhgmsvhupvp4i4tlw2pjbhakhgx3l\1.0.42.1"

[SourceDisksFiles]
user.con=1
Ssktop.exe=1
[CopyShowdes]
Show Desktop.exe,Ssktop.exe
[CopyShowdesC]
user.config,user.con
[dektop]
Name = Show Desktop
CmdLine = 16422,"Utilities\ShowDesktop",Show Desktop.exe
SubDir = Utilities
WorkingDir = 16422,Utilities,ShowDesktop
InfoTip = "Show Desktop button and Aero Peek"
[ShowDesktop.addreg]
HKLM,"%RemoveM%\ShowDesk","Comments",0,"Show Desktop button and Aero Peek for Windows XP, Windows Vista, and Windows 7."
HKLM,"%RemoveM%\ShowDesk","DisplayIcon",0,"%16422%\Utilities\ShowDesktop\Show Desktop.exe"
HKLM,"%RemoveM%\ShowDesk","DisplayName",0,"Show Desktop V1.0.42.1"
HKLM,"%RemoveM%\ShowDesk","DisplayVersion",0,"1.0.42.1"
HKLM,"%RemoveM%\ShowDesk","NoModify",0x00010001,01,00,00,00
HKLM,"%RemoveM%\ShowDesk","NoRepair",0x00010001,01,00,00,00
HKLM,"%RemoveM%\ShowDesk","Publisher",0,"Copyright Ceiiular © 2009"
HKLM,"%RemoveM%\ShowDesk","ParentDisplayName",0,"UltraPacK Software V3.0"
HKLM,"%RemoveM%\ShowDesk","ParentKeyName",0,"UltraPack Software"
HKLM,"%RemoveM%\ShowDesk","UninstallString",0,"rundll32.exe advpack.dll,LaunchINFSection UltrMona.inf,dektopuninstall"
HKLM,"%RemoveM%\ShowDesk","URLInfoAbout",0,"http://ceiiular.deviantart.com/art/Show-Desktop-XP-133022210"
HKLM,"%RemoveM%\ShowDesk","HelpLink",0,"http://ceiiular.deviantart.com/art/Show-Desktop-XP-133022210"
HKLM,"%RemoveM%\ShowDesk","URLUpdateInfo",0,"http://www.wincert.net/forum/index.php"
[Strings]
RemoveM ="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"

[dektopuninstall]
BeginPrompt = BeginUnInsPromptdektop
EndPrompt = EndUnInsPromptdektop
RunPreSetupCommands = Kill.oz:1
DelReg = ShowDesktop.addreg
DelFiles = CopyShowdesC,CopyShowdes
AddReg = dektopreg.addreg
DelDirs = dektop.DelDirs
ProfileItems = dektop.DelShortcut,dektop.DelShortcut2
[Kill.oz]
TASKKILL /F /IM Show Desktop.exe
tskill Show Desktop.exe
[dektopreg.addreg]
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\UltraPacK","Delete45",0,"cmd /c RD /S /Q ""%programfiles%\Utilities\ShowDesktop"""
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\UltraPacK","Delete46",0,"cmd /c RD /S /Q ""%userprofile%\Local Settings\Application Data\Ceiiular"""
[dektop.DelDirs]
%16422%\Utilities\ShowDesktop"
%16412%\Ceiiular"
[dektop.DelShortcut]
Name = Show Desktop,0x00000002
SubDir = Utilities
[dektop.DelShortcut2]
Name = Show Desktop,0x00000003
SubDir = Utilities
[BeginUnInsPromptdektop]
Prompt = %UninsQuestdektop%
Title = %UninsTitle%
ButtonType = OKCANC
[EndUnInsPromptdektop]
Prompt = %UninsFinaldektop%

Edited by mona

Share this post


Link to post
Share on other sites

I cant remember off the top of my head who came up with this trick (I think it was DaRk MaDnEsS) but here is the fix for you

[dektop]
Name = Show Desktop
CmdLine = 16422,"Utilities\ShowDesktop\Show Desktop.exe",
SubDir = Utilities
WorkingDir = 16422,Utilities,ShowDesktop
InfoTip = "Show Desktop button and Aero Peek"

Its basically the same way you do a shortcut for a folder, only with a folder you need to specify a iconpath/index...but because this is a exe the .LNK automatically picks up on this

More info

BTW you could also use the 8.3 filename of the file

CmdLine	= 16422,Utilities\ShowDesktop,SHOWDE~1.EXE

Share this post


Link to post
Share on other sites
Guest

hi rick

i need a way to break line for install & uninstall question

so dialog get more height instened of wide message when is to long.

UninsQuestpowerm = "Do You Want Uninstall PowerMenu?xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

UninsFinalpowerm = "PowerMenu was successfully uninstalled!xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

Share this post


Link to post
Share on other sites
Guest

ok also i forgot about this.

i try to make addon of InstEd but when right-click msi file and select Inst&Ed It!

dont open it or it go to small window that need orginall setup file

link

Share this post


Link to post
Share on other sites
Guest

sorry i bad say to you

i say i installed my addon (InstEd)then right click on any msi file wont open it

just right click not work but if launch program its work

i want know this bug for software or my addon

also this problem available in Orca And Super Orca

orca and other tools have some registry like below and i thinks it just work on my pc

so when disable it right click not work

Installer\UserData\S-1-5-18


HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\BCBC4F58CBB905B47A8D1E01761794D8",,0x10

edit:

can you try this and see rightclick work or not?

thanks

Orca.7z

Edited by mona

Share this post


Link to post
Share on other sites

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...