i created some addons which have .inf files to apply some regsettings but it doesnt apply them

for example Process Explorer
the only thing what it does do is, copy procexp.exe to sys32 folder
but if i install the inf files manually by rightclick it works with regsettings and creats the shortcut
ENTRIES.INI File
Code: Select all
[general]
[general]
builddate=2006/09/24
description=Process Explorer
language=English
title=Process Explorer
version=10.2
website=http://www.sysinternals.com/Utilities/ProcessExplorer.html
[sysoc]
procexp=ocgen.dll,OcEntry,procexp.inf,HIDE,7
[dosnet_files]
d1,procexp.inf
d1,procexp.exe
[txtsetup_files]
procexp.inf = 1,,,,,,,20,0,0
procexp.exe = 1,,,,,,,2,0,0,,1,2
procexp.inf
Code: Select all
[Version]
Signature=$Windows NT$
[DefaultInstall]
CopyFiles = Main.Install
ProfileItems = Processexplorer.AddShortcut
AddReg = REGEntries.AddReg
[procexp]
OptionDesc = "Process Explorer"
Tip = "Process Explorer"
Modes = 0,1,2,3
CopyFiles = Main.Install
ProfileItems = Processexplorer.AddShortcut
AddReg = REGEntries.AddReg
[DestinationDirs]
Main.Install = 11
[Main.Install]
procexp.exe
[Processexplorer.AddShortcut]
Name = Process Explorer
CmdLine = 11,,procexp.exe /t
InfoTip = Sysinternals Process Explorer
WorkingDir = 11,,procexp.exe /t
SubDir = %autostart%
[REGEntries.AddReg]
HKLM,"%Regadd%","Debugger",0,"""C:\WINDOWS\SYSTEM32\PROCEXP.EXE"""
[Strings]
sys = system32
autostart = Startup
Regadd = "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\taskmgr.exe"
Code: Select all
[EditFile]
SVCPACK.INF,SetupHotfixesToRun,AddProgram
[AddProgram]
VMWare.exe
[sysoc]
VMWare=ocgen.dll,OcEntry,vmware.inf,HIDE,7
[dosnet_files]
d1,vmware.inf
[txtsetup_files]
vmware.inf = 1,,,,,,,20,0,0
Code: Select all
[Version]
Signature=$Windows NT$
[DefaultInstall]
AddReg =VMWare.AddReg
[VMWare]
OptionDesc ="VMWare Register"
Tip ="VMWare Register"
Modes =0,1,2,3
AddReg =VMWare.AddReg
[VMWare.AddReg]
HKLM,"SOFTWARE\Wow6432Node\VMware, Inc.\VMware Workstation\License.ws.5.0","Name",0,"xxxx"
HKLM,"SOFTWARE\Wow6432Node\VMware, Inc.\VMware Workstation\License.ws.5.0","CompanyName",0,"xxxx"
HKLM,"SOFTWARE\Wow6432Node\VMware, Inc.\VMware Workstation\License.ws.5.0","Serial",0,"xXXx-xxxx-xxxx-xxxx"
new entries in sysoc.inf
Code: Select all
[Components]
VMWare=ocgen.dll,OcEntry,vmware.inf,HIDE,7
procexp=ocgen.dll,OcEntry,procexp.inf,HIDE,7
both inf files exists in I386 Folder
and both inf files does exists in Windows\INF Folder after install
what am i doin wrong?
