@semorefred
QUOTE
here something.....ok....i tried to execute the appwiz.cpl for the add/remove programs on the disc....but i just get the same error as before.....so i located the appwiz.cpl on the c: and executed it.....it works you can see the program window...but .......before i make the google toolbar do an autorun that exectues its dll file and loads it to the registry so when i executed the appwiz.cpl from the c: the program window opens but the only program there is the google toolbar...
Here is a start to getting appwiz.cpl working for those interested.
1. It will allow you to add shortcuts to the desktop AFTER starting PEbuilder w/XPE
2. Does not solve the running dll's as apps which is a seperate issue.
3. Does not allow addition/deletion of programs (still working this issue)
I created a ~120 line plugin to accomplish this. I am sure others have tried this before but I have not seen this info posted before. I would copied appwiz.cpl (updated post SP1) and esfadu.dll (dependant dll not listed in XPE or other plugins) to the files directory.
Shortcut.htm
QUOTE
<html>
<head></head>
<body>
<i>PE Builder v3 plugin</i>
<hr>
Allows creation Shortcuts on Desktop by Sterno<br>
<br>
Before you can use the Shortcut Creator you must copy the following files to the files directory <tt>plugin\shortcut\files</tt> directory:<br>
<tt>APPWIZ.CPL and EFSADU.DLL from your Windows\system32 directory.</tt><br>
<br>
<hr>
<i>PE Builder
Copyright © 2002-2003 Bart Lagerweij. All rights reserved.</i><br>
</body>
</html>
Shortcut.inf
QUOTE
; Shortcut.inf
; PE Builder v3 plug-in INF file for adding shortcuts to desktop after starting
; Created by Bart Lagerweij
[Version]Signature= "$Windows NT$"
[PEBuilder]
Name="Shortcut"
Enable=0
Help="Shortcut.htm"
[SourceDisksFiles]
files\appwiz.cpl=2
files\efsadu.dll=2
[Software.AddReg]
0x0, "Classes\.lnk"
0x1, "Classes\.lnk", "", "lnkfile"
0x0, "Classes\.lnk\ShellEx"
0x0, "Classes\.lnk\ShellEx\{000214EE-0000-0000-C000-000000000046}"
0x1, "Classes\.lnk\ShellEx\{000214EE-0000-0000-C000-000000000046}", "", "{00021401-0000-0000-C000-000000000046}"
0x0, "Classes\.lnk\ShellEx\{000214F9-0000-0000-C000-000000000046}"
0x1, "Classes\.lnk\ShellEx\{000214F9-0000-0000-C000-000000000046}", "", "{00021401-0000-0000-C000-000000000046}"
0x0, "Classes\.lnk\ShellEx\{00021500-0000-0000-C000-000000000046}"
0x1, "Classes\.lnk\ShellEx\{00021500-0000-0000-C000-000000000046}", "", "{00021401-0000-0000-C000-000000000046}"
0x0, "Classes\.lnk\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}"
0x1, "Classes\.lnk\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}", "", "{00021401-0000-0000-C000-000000000046}"
0x0, "Classes\.lnk\ShellNew"
0x1, "Classes\.lnk\ShellNew", "Command", "rundll32.exe appwiz.cpl,NewLinkHere %1"
0x0, "Classes\CLSID\{0B124F8F-91F0-11D1-B8B5-006008059382}"
0x1, "Classes\CLSID\{0B124F8F-91F0-11D1-B8B5-006008059382}", "", "Installed Apps Enumerator"
0x0, "Classes\CLSID\{0B124F8F-91F0-11D1-B8B5-006008059382}\InProcServer32"
0x2, "Classes\CLSID\{0B124F8F-91F0-11D1-B8B5-006008059382}\InProcServer32", "", "%SystemRoot%\System32\appwiz.cpl"
0x1, "Classes\CLSID\{0B124F8F-91F0-11D1-B8B5-006008059382}\InProcServer32", "ThreadingModel", "Apartment"
0x0, "Classes\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}"
0x1, "Classes\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}", "", "Set Program Access and Defaults"
0x1, "Classes\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}", "LocalizedString", "@xpsp1res.dll,-10077"
0x1, "Classes\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}", "InfoTip", "@xpsp1res.dll,-10078"
0x0, "Classes\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\DefaultIcon"
0x2, "Classes\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\DefaultIcon", "", "moricons.dll,-114"
0x0, "Classes\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\InProcServer32"
0x2, "Classes\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\InProcServer32", "", "%SystemRoot%\system32\shdocvw.dll"
0x1, "Classes\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\InProcServer32", "ThreadingModel", "Apartment"
0x0, "Classes\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\Instance"
0x1, "Classes\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\Instance", "CLSID", "{3f454f0e-42ae-4d7c-8ea3-328250d6e272}"
0x0, "Classes\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\Instance\InitPropertyBag"
0x1, "Classes\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\Instance\InitPropertyBag", "CLSID", "{13709620-C279-11CE-A49E-444553540000}"
0x1, "Classes\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\Instance\InitPropertyBag", "command", "@xpsp1res.dll,-10077"
0x1, "Classes\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\Instance\InitPropertyBag", "method", "ShellExecute"
0x1, "Classes\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\Instance\InitPropertyBag", "Param1", "appwiz.cpl,,3"
0x1, "Classes\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\Instance\InitPropertyBag", "Param2", "control.exe"
0x0, "Classes\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\shellex"
0x0, "Classes\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\shellex\ContextMenuHandlers"
0x0, "Classes\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\shellex\ContextMenuHandlers\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}"
0x1, "Classes\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\shellex\ContextMenuHandlers\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}", "", ""
0x0, "Classes\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\shellex\MayChangeDefaultMenu"
0x1, "Classes\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\shellex\MayChangeDefaultMenu", "", ""
0x0, "Classes\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\ShellFolder"
0x4, "Classes\CLSID\{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}\ShellFolder", "Attributes", 0x0
0x0, "Classes\CLSID\{352EC2B7-8B9A-11D1-B8AE-006008059382}"
0x1, "Classes\CLSID\{352EC2B7-8B9A-11D1-B8AE-006008059382}", "", "Shell Application Manager"
0x0, "Classes\CLSID\{352EC2B7-8B9A-11D1-B8AE-006008059382}\InProcServer32"
0x2, "Classes\CLSID\{352EC2B7-8B9A-11D1-B8AE-006008059382}\InProcServer32", "", "%SystemRoot%\System32\appwiz.cpl"
0x1, "Classes\CLSID\{352EC2B7-8B9A-11D1-B8AE-006008059382}\InProcServer32", "ThreadingModel", "Apartment"
0x0, "Classes\CLSID\{3964D9A0-AC96-11D1-9851-00C04FD91972}"
0x1, "Classes\CLSID\{3964D9A0-AC96-11D1-9851-00C04FD91972}", "", "Application Data Control"
0x0, "Classes\CLSID\{3964D9A0-AC96-11D1-9851-00C04FD91972}\Control"
0x0, "Classes\CLSID\{3964D9A0-AC96-11D1-9851-00C04FD91972}\Implemented Categories"
0x0, "Classes\CLSID\{3964D9A0-AC96-11D1-9851-00C04FD91972}\Implemented Categories\{40FC6ED4-2438-11cf-A3DB-080036F12502}"
0x0, "Classes\CLSID\{3964D9A0-AC96-11D1-9851-00C04FD91972}\Implemented Categories\{7DD95801-9882-11CF-9FA9-00AA006C42C4}"
0x0, "Classes\CLSID\{3964D9A0-AC96-11D1-9851-00C04FD91972}\Implemented Categories\{7DD95802-9882-11CF-9FA9-00AA006C42C4}"
0x0, "Classes\CLSID\{3964D9A0-AC96-11D1-9851-00C04FD91972}\InprocServer32"
0x1, "Classes\CLSID\{3964D9A0-AC96-11D1-9851-00C04FD91972}\InprocServer32", "", "C:\\WINDOWS\\System32\\appwiz.cpl"
0x1, "Classes\CLSID\{3964D9A0-AC96-11D1-9851-00C04FD91972}\InprocServer32", "ThreadingModel", "Apartment"
0x0, "Classes\CLSID\{3964D9A0-AC96-11D1-9851-00C04FD91972}\MiscStatus"
0x1, "Classes\CLSID\{3964D9A0-AC96-11D1-9851-00C04FD91972}\MiscStatus", "", "0"
0x0, "Classes\CLSID\{3964D9A0-AC96-11D1-9851-00C04FD91972}\MiscStatus\1"
0x1, "Classes\CLSID\{3964D9A0-AC96-11D1-9851-00C04FD91972}\MiscStatus\1", "", "132497"
0x0, "Classes\CLSID\{3964D9A0-AC96-11D1-9851-00C04FD91972}\ProgID"
0x1, "Classes\CLSID\{3964D9A0-AC96-11D1-9851-00C04FD91972}\ProgID", "", "ADCCtl.ADCCtl.1"
0x0, "Classes\CLSID\{3964D9A0-AC96-11D1-9851-00C04FD91972}\Programmable"
0x0, "Classes\CLSID\{3964D9A0-AC96-11D1-9851-00C04FD91972}\ToolboxBitmap32"
0x1, "Classes\CLSID\{3964D9A0-AC96-11D1-9851-00C04FD91972}\ToolboxBitmap32", "", "C:\\WINDOWS\\System32\\appwiz.cpl, 1"
0x0, "Classes\CLSID\{3964D9A0-AC96-11D1-9851-00C04FD91972}\TypeLib"
0x1, "Classes\CLSID\{3964D9A0-AC96-11D1-9851-00C04FD91972}\TypeLib", "", "{157193AA-D8B2-435f-A79C-B8F332357C6B}"
0x0, "Classes\CLSID\{3964D9A0-AC96-11D1-9851-00C04FD91972}\Version"
0x1, "Classes\CLSID\{3964D9A0-AC96-11D1-9851-00C04FD91972}\Version", "", "1.0"
0x0, "Classes\CLSID\{3964D9A0-AC96-11D1-9851-00C04FD91972}\VersionIndependentProgID"
0x1, "Classes\CLSID\{3964D9A0-AC96-11D1-9851-00C04FD91972}\VersionIndependentProgID", "", "ADCCtl.ADCCtl"
0x0, "Classes\CLSID\{CFCCC7A0-A282-11D1-9082-006008059382}"
0x1, "Classes\CLSID\{CFCCC7A0-A282-11D1-9082-006008059382}", "", "Darwin App Publisher"
0x0, "Classes\CLSID\{CFCCC7A0-A282-11D1-9082-006008059382}\InProcServer32"
0x2, "Classes\CLSID\{CFCCC7A0-A282-11D1-9082-006008059382}\InProcServer32", "", "%SystemRoot%\System32\appwiz.cpl"
0x1, "Classes\CLSID\{CFCCC7A0-A282-11D1-9082-006008059382}\InProcServer32", "ThreadingModel", "Apartment"
0x0, "Classes\TypeLib\{157193AA-D8B2-435F-A79C-B8F332357C6B}"
0x0, "Classes\TypeLib\{157193AA-D8B2-435F-A79C-B8F332357C6B}\1.0"
0x1, "Classes\TypeLib\{157193AA-D8B2-435F-A79C-B8F332357C6B}\1.0", "", "shappmgrp 1.0 Type Library"
0x0, "Classes\TypeLib\{157193AA-D8B2-435F-A79C-B8F332357C6B}\1.0\0"
0x0, "Classes\TypeLib\{157193AA-D8B2-435F-A79C-B8F332357C6B}\1.0\0\win32"
0x1, "Classes\TypeLib\{157193AA-D8B2-435F-A79C-B8F332357C6B}\1.0\0\win32", "", "C:\\WINDOWS\\System32\\appwiz.cpl"
0x0, "Classes\TypeLib\{157193AA-D8B2-435F-A79C-B8F332357C6B}\1.0\FLAGS"
0x1, "Classes\TypeLib\{157193AA-D8B2-435F-A79C-B8F332357C6B}\1.0\FLAGS", "", "0"
0x0, "Classes\TypeLib\{157193AA-D8B2-435F-A79C-B8F332357C6B}\1.0\HELPDIR"
0x1, "Classes\TypeLib\{157193AA-D8B2-435F-A79C-B8F332357C6B}\1.0\HELPDIR", "", "C:\\WINDOWS\\System32\\"
0x0, "Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\{305CA226-D286-468e-B848-2B2E8E697B74} 2"
0x4, "Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\{305CA226-D286-468e-B848-2B2E8E697B74} 2", "C:\\Program Files\\Common Files\\Microsoft Shared\\Speech\\sapi.cpl", 0x4
0x4, "Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\{305CA226-D286-468e-B848-2B2E8E697B74} 2", "%SystemRoot%\\system32\\appwiz.cpl", 0x8
0x0, "Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\Add-Remove_Programs"
0x4, "Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\Add-Remove_Programs", "IconIndex", 0x5DC
0x1, "Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\Add-Remove_Programs", "Info", "Installs and removes programs and Windows components."
0x2, "Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\Add-Remove_Programs", "Module", "%SystemRoot%\system32\appwiz.cpl"
"Name"="Add/Remove Programs"
Happy Holidays to All