Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

Registry Keys and Files to be EXCLUDED

Updated: 05 Sep 2008 | 1 comment
TilakGovind's picture
+1 1 Vote
Login to vote

There is a situation that happens where we all get confused while working on excluding lists.

Then when you complete a Setup Capture, the resulting package contains both necessary and unnecessary information and entries for the installation. The unnecessary information should be removed so it is important to know which entries are extra and what information is not important.

This is where having a concise Exclusion list becomes invaluable in ensuring that only non-essential keys and files are removed from the MSI.

Exclusion List

An Exclusion list of Files and Registry Keys has been compiled over time and is constantly being amended and updated. The following is said list as it currently stands.

Search the Database for the following list of items below. Go to the Setup Editor > Tables Right Click > Find.

Files to Exclude

As a general rule a repackaged application should not contain the following. Check updated list for each project:

  • References to the computer name the product was scripted/compiled on eg. ABSCRIPT
  • References to a particular user name.
  • References to a particular domain/server i.e. 'Iloscr#'
  • Presence of any setup executables or files. (setup.exe)
  • Presence of any .REG files
  • folders of files referring to WISE Solutions or InstallShield particularly under HKCU
  • Config.sys
  • Autoexec.bat
  • User.dat
  • User.da0
  • .iss files
  • .isu files
  • uninst.exe (or deinstall) (we do not want end-users to have access to uninstall files)
  • uninstall.exe (or deinstall)
  • .tmp files
  • Unnecessary .log files
  • Pagefile.sys
  • C:\Temp (this temporary folder should never contain info. needed by an application)
  • C:\WINNT\RECENT (this area contains links to recently used data files)
  • C:\WINNT\Debug
  • C:\WINNT\Tasks
  • C:\WINNT\System32\NtmsData
  • C:\WINNT\dllcache

Registry Keys to Exclude

As a general rule a repackaged application should not contain the following registry keys. Check updated list for each project:

  • HKEY_CURRENT_USER settings
  • HKLM\Software\Microsoft\Windows\CurrentVersion\SharedDLL's
  • HKLM\Software\Description\Microsoft\Rpc\UuidPersistentData\
  • HKLM\Software\Program Groups\
  • HKLM\Software\Classes\
  • HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProfileList
  • HKLM\Software\Microsoft\WindowsNT\Current Version\WinLogon
  • HKLM\Software\Microsoft\Mounted Devices
  • HKLM\Software\Microsoft\Cryptography
  • HKLM\Software\Microsoft\DRM
  • HKLM\Software\Novell
  • HKLM\Hardware\
  • HKLM\System\CurrentControlSet\Control\
  • HKLM\System\CurrentControlSet\Enum\
  • HKLM\System\CurrentControlSet\hardwareProfiles\
  • HKLM\System\ControlSet000\
  • HKLM\System\ControlSet001\
  • HKLM\System\ControlSet002\
  • HKLM\System\ControlSet003\
  • HKLM\System\ControlSet004\
  • HKLM\System\ControlSet005\
  • HKLM\System\ControlSet006\
  • HKLM\System\Clone
  • HKLM\System\CurrentControlSet\Services\NICSHORTNAME\Parameters\Tcpip "NICSHORTNAME" will be something like "EL09x1"
  • HKLM\System\CurrentControlSet\Services\NWCWorkstation
  • HKLM\System\CurrentControlSet\Services\VxD\DHCP
  • HKLM\System\CurrentControlSet\Services\VxD\VCACHE
  • HKLM\System\CurrentControlSet\Services\kmixer\Enum
  • HKLM\System\Select
  • HKLM\CLONE
  • HKLM\SAM
  • HKLM\Software\Microsoft\Windows\CurrentVersion\Syncmgr\Autosync
  • HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer
  • HKEY_CURRENT_USER\Volatile Environment
  • HKEY_CURRENT_USER\Software\Microsoft\Internet\Explorer\Toolbar\Shellbrowser
  • HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Syncmgr\Handlers
  • HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\...MRU

Comments

aspen's picture
28
Sep
2009
0 Votes 0
Login to vote

Good article

Anyone beginning packaging should take note of this article. Its basic packaging 101