Hi Peter,

Thanks a lot for the information. MsiSourceListAddSource is the way to go.

Thanks,
Miaohsi

-----Original Message-----
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] 
Sent: Tuesday, May 24, 2011 1:42 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] What registry keys/values to modify LastUsedSource

There are a group of MSI API functions to handle source locations such as
http://msdn.microsoft.com/en-us/library/aa370395%28v=vs.85%29.aspx
As usual, it's better to use the functions provided rather than rely on
(presumably) undocumented registry keys in order to isolate yourself from
possible differences between OSes.

-----Original Message-----
From: Wang, Miaohsi [mailto:miaohsi.w...@invensys.com] 
Sent: 23 May 2011 23:29
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] What registry keys/values to modify LastUsedSource

Dear All,

After searching on the Internet, I'm still not sure about the exact registry
keys/values to modify such that future Repair/Modify will use the msi that we
cache locally on the machine hard drive. So far I have found value name
LastUsedSource under the following two keys:

HKEY_CURRENT_USER\Software\Microsoft\Installer\Products\[product
guid]\SourceList
HKEY_CLASSES_ROOT\Installer\Products\[compressed product guid]\SourceList

If you know which keys/values I should modify, please let me know. Also, once
the keys/values are identified, should I modify the LastUsedSource value
directly or should I use some sort of Windows Installer API, such as
ForceSourceListResolution, to update them? Your help will be greatly
appreciated.

Thanks,
Miaohsi



*** Confidentiality Notice: This e-mail, including any associated or attached
files, is intended solely for the individual or entity to which it is
addressed. This e-mail is confidential and may well also be legally
privileged. If you have received it in error, you are on notice of its
status. Please notify the sender immediately by reply e-mail and then delete
this message from your system. Please do not copy it or use it for any
purposes, or disclose its contents to any other person. This email comes from
a division of the Invensys Group, owned by Invensys plc, which is a company
registered in England and Wales with its registered office at 3rd Floor, 40
Grosvenor Place, London, SW1X 7AW (Registered number 166023). For a list of
European legal entities within the Invensys Group, please go to
http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77.

You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail
recept...@invensys.com. This e-mail and any attachments thereto may be
subject to the terms of any agreements between Invensys (and/or its
subsidiaries and affiliates) and the recipient (and/or its subsidiaries and
affiliates).

-----------------------------------------------------------------------------
-
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


*** Confidentiality Notice: This e-mail, including any associated or attached 
files, is intended solely for the individual or entity to which it is 
addressed. This e-mail is confidential and may well also be legally privileged. 
If you have received it in error, you are on notice of its status. Please 
notify the sender immediately by reply e-mail and then delete this message from 
your system. Please do not copy it or use it for any purposes, or disclose its 
contents to any other person. This email comes from a division of the Invensys 
Group, owned by Invensys plc, which is a company registered in England and 
Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 
7AW (Registered number 166023). For a list of European legal entities within 
the Invensys Group, please go to 
http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77.

You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail 
recept...@invensys.com. This e-mail and any attachments thereto may be subject 
to the terms of any agreements between Invensys (and/or its subsidiaries and 
affiliates) and the recipient (and/or its subsidiaries and affiliates).



------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to