That's actually Windows Installer behavior. Windows Installer always sets
TARGETDIR to the root of the fixed drive with the most free space. See <>.
You should never install to TARGETDIR unless you schedule a type 51 custom
action to set it always: . Schedule it
before CostFinalize.
Why you must
Sorry, forgot to post the URL:
http://msdn.microsoft.com/en-us/library/aa372064.aspx.
On Sat, Apr 25, 2009 at 8:26 AM, Heath Stewart wrote:
> That's actually Windows Installer behavior. Windows Installer always sets
> TARGETDIR to the root of the fixed drive with the most free space. See <>.
>
>
There's no harm, it just violates a strong suggestion.
On Sat, 25 Apr 2009 12:29 +0430, "Riyaz Mogharabin"
wrote:
> Dear Friends,
>
> It seems that in WiX 3, the TARGETDIR is set to the local drive which has
> the most free space on the system.
> I need to hardcode this so the user will always
Hi Riyaz, not exactly sure why you want to hard code it to the C:\ folder?
Take a look at this as it might be what you want to do:
http://www.dalun.com/wix/04.25.2007.htm
Also you can do this:
http://n2.nabble.com/How-to-Change-Default-Install-Location-td1092961.html
I haven't noticed that wix def
4 matches
Mail list logo