Thanks Sebastian,
So I guess it's impossible to do this way.

Thanks,
Danny

-----Original Message-----
From: Sebastian Brand (Instyler Software) [mailto:wix+us...@instyler.com] 
Sent: Monday, November 23, 2009 3:02 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] How to prevent %USERPROFILE% be expanded

Unfortunally, Windows Installer resolves this when creating the shortcut:
>From the doc:
The references are resolved to an actual path when the installer resolves
the working directory to create the shortcut.

-> http://msdn.microsoft.com/en-us/library/aa371847%28VS.85%29.aspx

Best regards,
Sebastian Brand

Deployment consultant
E-Mail: sebast...@instyler.com
Blog: www.sebastianbrand.com
 


> -----Original Message-----
> From: Hotmail [mailto:zhuxian...@msn.cn]
> Sent: Monday, November 23, 2009 04:25
> To: 'General discussion for Windows Installer XML toolset.'
> Subject: [WiX-users] How to prevent %USERPROFILE% be expanded
> 
> Hi All,
> 
> 
> 
> I want to create a shortcut and installed as per-machine.
> 
> Add I set the shortcut's working directory to %USERPROFILE%, with
intension
> to set the Start In with different values under differ users.
> 
> Unfortunately this value was resolved and wrote same value for all user.
> 
> 
> 
> Any ideas how can I hold this value not be resolved or expand?
> 
> 
> 
> 
> 
> Thanks,
> 
> Danny
> 
>
----------------------------------------------------------------------------
--
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day
> trial. Simplify your report design, integration and deployment - and focus
on
> what you do best, core application coding. Discover what's new with
Crystal
> Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users


----------------------------------------------------------------------------
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus
on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to