Yes pretty much. A per-machine install will always reference per-machine
locations.

There's a couple of things you could try but I don't get why you want to
create something for one user on a system when the application is
available to all users of the system. Also any hacks to get around this
have some major very easily exposed flaws.

As you can use %NAME to access environment variables as Properties you
could use %USERPROFILE if you're happy to assume the user specific
DesktopFolder will always be under it (could be moved, unlikely but
possible). The problem then is with elevated install packages as in
which user's profile are you getting, the user account logged in to the
system or the user account used to launch the msiexec process?

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: Sach [mailto:sachinth...@gmail.com] 
Sent: 13 May 2010 11:20
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Desktop Shortcut on Current User Only?


I did. So it means that unless I change the installer to current user I
have to somehow dynamically obtain the path of the current user desktop?



On Thu, May 13, 2010 at 7:16 PM, Pally Sandher [via Windows Installer
XML
(WiX) toolset]
<ml-node+5045466-515014943-509...@n2.nabble.com<ml-node%2B5045466-515014
943-509...@n2.nabble.com>
> wrote:

> Read the MSDN page I linked.
>
> 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: Sach [mailto:[hidden 
> email]<http://user/SendEmail.jtp?type=node&node=5045466&i=0>]
>
> Sent: 13 May 2010 11:06
> To: [hidden email] 
> <http://user/SendEmail.jtp?type=node&node=5045466&i=1>
> Subject: Re: [WiX-users] Desktop Shortcut on Current User Only?
>
>
> Pally, do you happen to have a code sample? Or do you mean it is near 
> impossible?
> --
> View this message in context:
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Desktop-
> Sh ortcut-on-Current-User-Only-tp5044866p5045433.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
> ----------------------------------------------------------------------
> --
> ------
>
> _______________________________________________
> WiX-users mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=5045466&i=2>
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
> ----------------------------------------------------------------------
> --------
>
>
> _______________________________________________
> WiX-users mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=5045466&i=3>
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> ------------------------------
>  View message @
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Desktop-
> Shortcut-on-Current-User-Only-tp5044866p5045466.html
> To unsubscribe from Re: Desktop Shortcut on Current User Only?, click
here<http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/subsc
riptions/Unsubscribe.jtp?code=c2FjaGludGhhODFAZ21haWwuY29tfDUwNDU0MzN8MT
Q2NTQ4NzI1Nw==>.
>
>
>

--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Desktop-Sh
ortcut-on-Current-User-Only-tp5044866p5045472.html
Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------
------

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to