Hi everyone. I've been going over the docs and examples for about a week
now, and I have some fundamental questions that I really need some direction
on.

 First off – the tutorial at http://www.tramontana.co.hu/wix is great, but
he glosses over a lot of stuff without explaining details, and the schema
page at http://wix.sourceforge.net/manual-wix2/wix_xsd_index.htm doesn't
offer a lot of explanation.

 In the tutorial, it says:

 "We always start with an outermost, virtual directory:

    <*Directory* Id='TARGETDIR' Name='SourceDir'>

then we go on with our actual structure"

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"
– wouldn't it make more sense to have something like <Directory target="x"
source="y"> ? It's confusing having the ID attribute be the target. Does
that mean you can't change the target?

 And is the purpose of the nested directories in the tutorial supposed to
represent the hierarchy of the final installation?

I'm trying to build a really simple MSI file. I need to copy 3 files into a
location dictated by a registry key entry (for sharepoint) and I need to add
a file to the GAC.

I'm using this to get the location of the current installation of SharePoint
    <Property Id="SPLOCATION">
        <RegistrySearch Id='SharepointRegistry' Type='raw'
        Root='HKLM' Key='SOFTWARE\Microsoft\.NETFramework\AssemblyFolders\'
        Name='SharePoint' />
    </Property>

But I can't seem to use it. I tried using INSTALLDIR as the Property Id
value but that didn't work any better. When installing with msiexec and
creating a log file, I see my INSTALLDIR getting set, and then it gets
overwritten with "d:\" for some strange reason.

Can anyone explain this, or show how you would install files into a location
specified by a registry entry?

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

Reply via email to