The directory ProgramMenuFolder is defined as the All-Users Start menu when ALLUSERS is 1.
http://msdn.microsoft.com/library/aa370882.aspx -----Original Message----- From: David Louis [mailto:clientlo...@gmail.com] Sent: Wednesday, July 21, 2010 2:03 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Upgrade in per-user folder generates double entries in Add/Remove programs Thanks Blair. I set ALLUSERS to 1 in order to install to c:\program files by default in both setups. Anyway you're right: I actually don't need a per-user installation. What I'm looking for is an option to make the program available in the All users start menu. On Tue, Jul 20, 2010 at 8:17 PM, Blair <os...@live.com> wrote: > Was the value of ALLUSERS property different between the two installations? > Per-machine installations and per-user installations are basically in > separate "worlds" for Windows Installer and shell components such as ARP > show a combined view of both worlds. > > Most programs tend to be either per-user or per-machine, and most of the > time you probably don't want to give the user a choice. > > -----Original Message----- > From: David Louis [mailto:clientlo...@gmail.com] > Sent: Tuesday, July 20, 2010 10:35 AM > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] Upgrade in per-user folder generates double entries in > Add/Remove programs > > Hi, > > I modified the WixUI_Advanced sample to prevent downgrading by adding > these lines: > > <Upgrade Id="UPGRADE_CODE_UID"> > <UpgradeVersion OnlyDetect="yes" Minimum="$(var.PRODUCTVERSION)" > Property="NEWERVERSIONDETECTED" IncludeMinimum="no" /> > <UpgradeVersion OnlyDetect="no" Maximum="$(var.PRODUCTVERSION)" > Property="OLDERVERSIONBEINGUPGRADED" IncludeMaximum="no" /> > </Upgrade> > <Condition Message="A later version of [ProductName] is already > installed. Setup will now exit."> > NOT NEWERVERSIONDETECTED OR Installed > </Condition> > > Of course, UPGRADE_CODE_UID is the same UID than the product's > UpgradeCode property. > > This works well as long as I install to the per-machine folder. > Installing to the per-user folder generates a second entry in add / > remove programs instead of upgrading the product. > > Any hints? > > ---------------------------------------------------------------------------- > -- > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ---------------------------------------------------------------------------- -- > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ---------------------------------------------------------------------------- -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users