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

Please log in to comment

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?
Please log in to comment
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

Please log in to comment
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) ;-)
Please log in to comment
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

Please log in to comment
Answer this question or Comment on this question for clarity

Share