/build/static/layout/Breadcrumb_cap_w.png

sourcelist registry entries

what does "1" and "n" means inLastUsedSource data of sourcelist registry key?
for ex.
HKEY_CURRENT_USER\Software\Microsoft\Installer\Products\D7B6A80A12F13484583AQWE231\SourceList
LastUsedSource         REG_EXPAND_SZ     n;1;C:\Users\asd\AppData\Local\Temp\46A940C5-3A43-447F-A360-F2224D1364ED\

0 Comments   [ + ] Show comments

Answers (4)

Posted by: Pressanykey 9 years ago
Red Belt
1
Hi,
various links that will help...

https://msdn.microsoft.com/en-us/library/aa371569%28v=vs.85%29.aspx
https://msdn.microsoft.com/en-us/library/aa371858%28v=vs.85%29.aspx
https://msdn.microsoft.com/en-us/library/aa371859%28VS.85%29.aspx

Comments:
  • Thanks for your reply..!!
    got the meaning of "n"...for what does "1" mean w.r.t. searchorder? - vivekjazzwal 9 years ago
Posted by: anonymous_9363 9 years ago
Red Belt
1
I wouldn't waste too much time with it. The sole purpose of the 'LastUsedSource' entry is to populate the drop-down that appears when self-healing/repair can't find a source for the original media. If that entry's blank, Windows Installer will carry on but simply display an unpopulated drop-down.
Posted by: anonymous_9363 9 years ago
Red Belt
0
@Press, you know you can insert actual links in posts? Click the 'chain' icon on the bottom row of the toolbar. To convert existing text, highlight it, then click the icon.

Comments:
  • Hi VBScab, no I didn't... next time (maybe) ;-) - Pressanykey 9 years ago
Posted by: apptopack 9 years ago
Red Belt
0

n = Network location

Usually you can provide multiple locations for installer to look into the source. If one fails, installer will look into other location for source resiliency.

Example: We have source at two locations D:\Package and \server\packages$\

When we add the SourceList, it makes entries in the below registry with numbers.Multiple registry entries are denoted by numbers.

HKEY_CLASSES_ROOT\Installer\Products\guid\SourceList\Net\1 (REG_EXPAND_SZ) = D:\Package\
HKEY_CLASSES_ROOT\Installer\Products\guid\SourceList\Net\2 (REG_EXPAND_SZ) = \server\packages$\

So when the Installer has used from D:\Package which holds the 1st position in Net location, it has made entry in the below registry with LastUsedSource as n;1;D:\Package\ 

HKEY_CLASSES_ROOT\Installer\Products\3048EFD73C3DEA749B250BB825C98E58\SourceList\LastUsedSource (REG_EXPAND_SZ) = n;1;D:\Package\

Link: https://support.microsoft.com/en-us/kb/905796

Hope this helps.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ