Your problem is that "basedir" isn't a child of "INSTALLDIR", it's a child
of "ProgramFilesFolder". Here is your current code:
<Directory Id='ProgramFilesFolder' Name='PFiles'>
        <Directory Id='INSTALLDIR' Name='BGInfo4X for Windows
$(var.ProductVersion)'></Directory>
        <Directory Id='basedir'></Directory>
</Directory>

You should change it to this:
<Directory Id='ProgramFilesFolder' Name='PFiles'>
        <Directory Id='INSTALLDIR' Name='BGInfo4X for Windows
$(var.ProductVersion)'>
                <Directory Id='basedir'></Directory>
        </Directory>
</Directory>

Also, you should pass in "-srd" on the heat commandline (suggestion #3
above), or else you're going to get a "BGINFO4XW" directory inside the
directory you intend to install to.

Finally, regarding the "-ag" matter, you can end up with all sorts of weird
behavior when you break component GUID rules. Just pass "-ag" for your
scenario and it's a lot less likely to bite you someday.


On Fri, May 17, 2013 at 12:01 PM, BGINFO4X <bginf...@kztsoftware.com> wrote:

> 2013/5/17 Jeremiahf <jeremi...@gmail.com>:
> > Ah, so your building your MSI via command line. Good to hear you figured
> it
> > out.
>
> Yes, I'm doing only a .msi package, not a visual project with c# or
> similar ...
>
> Thanks.
>
>
> ------------------------------------------------------------------------------
> AlienVault Unified Security Management (USM) platform delivers complete
> security visibility with the essential security capabilities. Easily and
> efficiently configure, manage, and operate all of your security controls
> from a single console and one unified framework. Download a free trial.
> http://p.sf.net/sfu/alienvault_d2d
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to