/build/static/layout/Breadcrumb_cap_w.png

Supporting Windows Question


sourcelist registry entries

10/28/2015 4048 views
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

Comments


All Answers

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
Answered 10/28/2015 by: Pressanykey
Red Belt

  • Thanks for your reply..!!
    got the meaning of "n"...for what does "1" mean w.r.t. searchorder?
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.
Answered 10/28/2015 by: VBScab
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.
Answered 10/28/2015 by: VBScab
Red Belt

  • Hi VBScab, no I didn't... next time (maybe) ;-)
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.

Answered 10/28/2015 by: apptopack
Red Belt

 
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