> Date: Mon, 22 Dec 2008 13:15:28 -0800
> From: Bob Arnson <b...@joyofsetup.com>
> Subject: Re: [WiX-users] A Couple of fundamental questions
> To: "General discussion for Windows Installer XML toolset."
>        <wix-users@lists.sourceforge.net>
> Message-ID: <49500370.1080...@joyofsetup.com>
> Content-Type: text/plain; charset=windows-1252; format=flowed
>
> Colin Fox wrote:
> > But TARGETDIR and SourceDir are not explained. There is no explanation as
> to
> > where they are initially set, or why the ID of the directory is
> "TARGETDIR"
> >
>
> Because that's what MSI needs, for better or for worse. In general, WiX
> is not an abstraction on top of MSI, so its rules for directories, for
> example, need to be followed. The MSI SDK describes the need for a
> top-level TARGETDIR/SourceDir pair. See also
> http://blogs.msdn.com/robmen/archive/2005/06/21/431294.aspx for the
> start of Rob's series about directories.


Ok, Thanks Bob - I'll begin reading that. Can you answer a quick question
for me though?

My goal is to install 3 files into the SharePoint ISAPI directory.

>From my readings up until now, it *seems* like all I have to do is specify
where those files go, and what the files are, and WiX + MSI should
automatically put them there.

I can grab the SharePoint location out of the registry, but for the life of
me I just can't seem to get that set as the TARGETDIR. TARGETDIR always just
gets reset to D:\.

Am I trying something impossible?

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

Reply via email to