You'd need a per-machine installation to do that anyway (see 
http://msdn.microsoft.com/en-us/library/aa370882.aspx)

The "How to" guide at 
http://wix.sourceforge.net/manual-wix3/create_start_menu_shortcut.htm works 
pretty well as long as your package has ALLUSERS set to 1.

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 
0SP
Email Disclaimer

-----Original Message-----
From: David Louis [mailto:clientlo...@gmail.com] 
Sent: 21 July 2010 10:03
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Upgrade in per-user folder generates double entriesin 
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

Reply via email to