If it's just the product's install state that's needed, I would have thought that using an Msi API such as MsiQueryProductState (ProductCode) might be more useful than just seeing if someshortcuts are there. If you really need to see shortcuts that's just a programming task that involves enumerating the content of Environment.SpecialFolder.StartMenu and seeing if your shortcuts are there.
Phil Wilson -----Original Message----- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: Monday, December 05, 2011 3:35 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to check programatically that Start Menu entries for my app are present on the system (post installation testing)? Do you want to check for their existence or ensure they are there ? You could run a repair with MsiReinstallProduct() ? Or MsiInstallMissingComponent() if you can list the component codes that are expected. -----Original Message----- From: Robert Lee [mailto:genrobert...@gmail.com] Sent: 05 December 2011 11:25 To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to check programatically that Start Menu entries for my app are present on the system (post installation testing)? It's a management requirement, part of "anti-piracy" strategy - as there is no built-in DRM, we want to make sure the install state (including licensing information) is there for corporate software auditors to see. How to do it, either in C++ or C#? ----------------------------------------------------------------------------- - All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ 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. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ 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/en/legal/default.aspx. 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). ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users